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.

已提問 1 年前檢視次數 1511 次
1 個回答
0

According to Resource IDs, they are unique.

When resources are created, we assign each resource a unique resource ID
profile pictureAWS
專家
kentrad
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前
  • 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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南