AWS Certified SysOps Administrator – Associate (legacy) — Question 317
A user has launched 5 instances in EC2-CLASSIC and attached 5 elastic IPs to the five different instances in the US East region. The user is creating a VPC in the same region. The user wants to assign an elastic IP to the VPC instance. How can the user achieve this?
Answer options
- A. The user has to request AWS to increase the number of elastic IPs associated with the account
- B. AWS allows 10 EC2 Classic IPs per region; so it will allow to allocate new Elastic IPs to the same region
- C. The AWS will not allow to create a new elastic IP in VPC; it will throw an error
- D. The user can allocate a new IP address in VPC as it has a different limit than EC2
Correct answer: D
Explanation
AWS maintains separate, independent limits for EC2-CLASSIC Elastic IP addresses and VPC Elastic IP addresses. Because the five existing Elastic IPs are tied to EC2-CLASSIC, they do not affect the quota for the VPC. Consequently, the user can allocate a new Elastic IP for the VPC instance without encountering errors or requiring a limit increase.