for deployment groups, azure devops deployment group installation script assumes x64 architecutre but the new graviton instances on ec2 are arm64, so the script has to be tweaked a little
from https://vstsagentpackage.azureedge.net/agent/4.251.0/vsts-agent-linux-x64-4.251.0.tar.gz
to https://vstsagentpackage.azureedge.net/agent/4.251.0/vsts-agent-linux-arm64-4.251.0.tar.gz
replace agent versions with the latest agent versions available