Uniqueness of EC2 instance id

0

Are Amazon EC2 instance Ids globally unique or regionally unique? For example, can two different regions have same EC2 instance id? Asking this because we are trying to export app metrics to an APM system and we need to know if we can rely only on the EC2 instance id or need to concatenate with the region / other identifier. Could not find any correct documentation regarding this hence wanted to confirm before we proceed.

demandé il y a un an1510 vues
1 réponse
0

According to Resource IDs, they are unique.

When resources are created, we assign each resource a unique resource ID
profile pictureAWS
EXPERT
kentrad
répondu il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an
  • The document mentions "Each resource identifier, such as an AMI ID, instance ID, EBS volume ID, or EBS snapshot ID, is tied to its Region and can be used only in the Region where you created the resource." but no mention if the same instance id can be present in different region. Hence wanted to confirm.

  • If an instance is terminated, can that Instance ID be used again in the same AWS account? Are Instance IDs unique across all regions in the same AWS account?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions