1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
If you do not explicitly specify an IP address, an available IP address will be automatically selected from the VPC subnet, so there will be no duplication of IP addresses between EC2s.
Also, even if you explicitly specify an IP address when starting EC2, if you set an IP address that is already in use within the subnet, an error will occur and the EC2 will not start.
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#vpc-private-ipv4-addresses
Relevant content
- asked 3 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
