The instance ID ‘…’ does not exist

When you launch an EC2 instance in AWS and the Chef script is trying to set tags on the instance you may get the error message:

The instance ID ‘…’ does not exist

It can happen when you launch the instance in one AWS account, and the tagging script tries to find the instance in another account.

Solution

When the tagging script runs make sure, the AWS credentials and the region point to the account and region where the instance was launched.

Join the Conversation

2 Comments

    1. Hi Albert,

      Thank you for the question. I have added the solution to the end of the post.

      Laszlo

Leave a comment

Your email address will not be published.