algo
algo copied to clipboard
Cannot create instance in Mumbai
What region should the server be located in?
(https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/)
1. ap-northeast-1 Tokyo
2. ap-northeast-2 Seoul
3. ap-south-1 Mumbai
4. ap-southeast-1 Singapore
5. ap-southeast-2 Sydney
6. ca-central-1 Montreal
7. eu-central-1 Frankfurt
8. eu-west-1 Ireland
9. eu-west-2 London
10. eu-west-3 Paris
11. us-east-1 Virginia
12. us-east-2 Ohio
13. us-west-2 Oregon
Enter the number of your desired region
[11]
:
TASK [cloud-lightsail : pause] ****************************************************************************************************************************************************
ok: [localhost]
TASK [cloud-lightsail : set_fact] *************************************************************************************************************************************************
ok: [localhost]
TASK [cloud-lightsail : Create an instance] ***************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to create instance algo, error: An error occurred (NotFoundException) when calling the CreateInstances operation: The specified bundle does not exist in this region: nano_2_0"}
included: /Users/3zzy/Work/algo/playbooks/rescue.yml for localhost
TASK [debug] **********************************************************************************************************************************************************************
ok: [localhost] => {
"fail_hint": [
"Sorry, but something went wrong!",
"Please check the troubleshooting guide.",
"https://trailofbits.github.io/algo/troubleshooting.html"
]
}
TASK [Fail the installation] ******************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
PLAY RECAP ************************************************************************************************************************************************************************
localhost : ok=35 changed=1 unreachable=0 failed=1 skipped=0 rescued=1 ignored=0
I selected #3 (Mumbai)
In config.cfg look for lightsail: and change size from nano_2_0 to nano_2_1.
@jackivanov It looks like Lightsail bundle sizes are no longer consistent across regions:
ap-northeast-1: nano_2_0
ap-northeast-2: nano_2_0
ap-south-1: nano_2_1
ap-southeast-1: nano_2_0
ap-southeast-2: nano_2_2
ca-central-1: nano_2_0
eu-central-1: nano_2_0
eu-west-1: nano_2_0
eu-west-2: nano_2_0
eu-west-3: nano_2_0
us-east-1: nano_2_0
us-east-2: nano_2_0
us-west-2: nano_2_0
We can have a map of supported instances for particular regions, but it may bring more effort to maintain its actual state
eu-north-1: nano_2_3