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.

posta un anno fa1509 visualizzazioni
1 Risposta
0

According to Resource IDs, they are unique.

When resources are created, we assign each resource a unique resource ID
profile pictureAWS
ESPERTO
kentrad
con risposta un anno fa
profile pictureAWS
ESPERTO
verificato un anno fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande