From 6359576075b67a1cd6d15abb8aeb90a9a582eaac Mon Sep 17 00:00:00 2001
From: Sebastian Rieger <sebastian.rieger@informatik.hs-fulda.de>
Date: Thu, 23 May 2024 11:00:38 +0200
Subject: [PATCH] updated ami id

---
 example-projects/demo4-scale-out-lb-in-aws.py | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/example-projects/demo4-scale-out-lb-in-aws.py b/example-projects/demo4-scale-out-lb-in-aws.py
index d53c2d4..4b85beb 100644
--- a/example-projects/demo4-scale-out-lb-in-aws.py
+++ b/example-projects/demo4-scale-out-lb-in-aws.py
@@ -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)
-- 
GitLab