InvalidAMIID.NotFound when Executing automation

0

I am following this blog to create an AWS Cloud9 instance integrated with ROS Melodic and Gazebo9. When I execute the automation of the Systems Manager document however, the first step "startInstances" fails and this error pops up:

Automation Step Execution fails when it is launching the instance(s). Get Exception from RunInstances API of ec2 Service. Exception Message from RunInstances API: [The image id '[ami-0e472ba40eb589f49]' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidAMIID.NotFound; Request ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; Proxy: null)]. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

I have seen that the ami-0e472ba40eb589f49 is the one referred in the SSM for ROS Melodic file, but the error message says I don't have this image. How can I solve this problem?

1개 답변
1
수락된 답변

Thanks for the detailed description.

May I know if you are running in the same us-east-1 region as in the blog? The image ami-0e472ba40eb589f49 is only available in that region. To find alternative AMIs in other regions, perhaps you could search for ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20211129 and replace the AMI ID in the document content.

Enter image description here

Enter image description here

AWS
weidi
답변함 2년 전
  • Thank you for your answer. I am using eu-central-1 and I have changed to ami-0f3f0cd0c5fc276ae. The problem does not appear anymore

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠