Does anyone know if there is a way to specify the shared runner’s virtual machine region used for Actions jobs? I did see that they are hosted in Azure regions: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#ip-addresses-of-github-hosted-runners
For example, is it possible to request an Ubuntu machine from
westus2? The reason I need it is because I’m running some k6 API load tests (API is hosted in California), it would be nice to always have a machine from the same region so I can have consistent network latencies.
The alternatives that we considered:
- Use k6 Cloud. It supports running from different load zones, though it is a bit pricey at $49/month (we are a small startup, so we would like to save where possible).
- Use a self-hosted runner. For example, we can create an AWS VM in a specific region and always run this specific workflow on this VM.
- Trigger load test on AWS (EC2, Fargate, etc.) from deployment workflow and then once the load test completes, use GitHub API to continue the deployment.
Anyone have other recommendations? #2 seems to be the easiest option for now, as we would like to run it as part of the Actions deployment workflow.
Thanks in advance,