|
|
@ -118,16 +118,12 @@ def main(): |
|
|
|
# |
|
|
|
|
|
|
|
print("Selecting AMI...") |
|
|
|
# us-east-1 examples as of 9.5.2022: |
|
|
|
# |
|
|
|
# Canonical, Ubuntu, 18.04 LTS, amd64 bionic image build on 2022-04-11 |
|
|
|
image_id = "ami-005de95e8ff495156" |
|
|
|
# |
|
|
|
# Canonical, Ubuntu, 20.04 LTS, amd64 focal image build on 2022-04-19 |
|
|
|
# image_id = "ami-0c4f7023847b90238" |
|
|
|
# us-east-1 examples as of 23.05.2024: |
|
|
|
# |
|
|
|
# https://cloud-images.ubuntu.com/locator/ec2/ |
|
|
|
# |
|
|
|
# Canonical, Ubuntu, 22.04 LTS, amd64 jammy image build on 2022-04-20 |
|
|
|
# image_id = "ami-09d56f8956ab235b3" |
|
|
|
image_id = "ami-012485deee5681dc0" |
|
|
|
# |
|
|
|
image = conn.list_images(ex_image_ids=[image_id])[0] |
|
|
|
print("Using image: %s" % image) |
|
|
|