Let me ask you a question about AWS network resources.
There seem to be two relationships between NAT gateways and EIP: Allocation ID and Association ID, but why are there two?
I was recently organizing AWS resources, and when I was following the floating EIP, I eventually got to the NAT gateway.
↓ Association ID
↓ Attachment ID
As I followed up, I saw the above relationship, and besides the Association ID that connects NAT and EIP through ENI, there was an Allocation ID that seemed to connect NAT and EIP directly.
When you create NAT, it automatically generates ENIs, and I don't know why there are two separate ones.
Is there something wrong?
Or is it a trace of AWS' evolution?
Thank you for your cooperation.aws network vpc
The Allocation ID is the ID of the Elastic IP Address (EIP).The Association ID is the ID of the relationship between the EIP and the resource (in this case, NAT Gateway).
When you create an EIP, the Allocation ID is paid out.Associating an EIP with a resource pays out the Association ID.
© 2022 OneMinuteCode. All rights reserved.