Skip to content

Cloud Practitioner AMI error

0

I'm trying to complete my Cloud Practioner lab assignments and I can create an EC2 instance in US East 1 N.Virginia, but when tasked to create an EC2 instance in US East 2, there are no AMI's available in the lab to choose. Error says: "The AMI ID (ami-0374badf0de443688) is not valid. The AMI might no longer exist or may be specific to another account or Region.". Is there a problem with the lab for this certification? I cannot complete the assignment when launching a new instance in a different availability zone in the same region.

asked 2 years ago600 views

1 Answer
0

The error you're encountering suggests that there might be an issue with the specific AMI (Amazon Machine Image) you're trying to use in the US East 2 region. This can happen for a few reasons:

  1. The AMI may have been deleted or deregistered after the lab instructions were created.
  2. The AMI might be region-specific and not available in US East 2.
  3. There could be a permissions issue, where the AMI is no longer shared with your lab account.

To resolve this issue and complete your assignment, you can try the following:

  1. Check if there are any other AMIs available in the US East 2 region that you can use for your lab. Look for similar AMIs that meet the lab requirements.

  2. If possible, contact the lab provider or AWS support to report the issue. They may be able to provide an updated AMI ID or fix the problem in the lab environment.

  3. If the lab allows, try creating an AMI from your successful instance in US East 1 and then copy it to US East 2. This would allow you to have a working AMI in the target region.

  4. As a workaround, if the lab's main goal is to demonstrate launching instances in different regions, you could potentially use a different region altogether (e.g., US West 2) if AMIs are available there.

Remember that in real-world scenarios, AMIs can be region-specific, and you may need to copy them between regions or use region-specific AMI IDs when deploying instances across different AWS regions.

If none of these solutions work, it's best to report the issue to your lab provider, as there may be a problem with the lab setup that needs to be addressed on their end.
Sources
Replace a deleted, shared AMI ID in a launch template | AWS re:Post
Troubleshoot Amazon EC2 Auto Scaling: AMI issues - Amazon EC2 Auto Scaling

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.