A user has recently started using EC2. The user launched one EC2 instance in the default subnet in EC2-VPC
Which of the below mentioned options is not attached or available with the EC2 instance when it is launched?
A.
Public IP address
B.
Internet gateway
C.
Elastic IP
D.
Private IP address
Explanation:
A Virtual Private Cloud (VPC. is a virtual network dedicated to a user’s AWS account. A subnet is a range of IP
addresses in the VPC. The user can launch the AWS resources into a subnet. There are two supported
platforms into which a user can launch instances: EC2-Classic and EC2-VPC (default subnet.. A default VPC has
all the benefits of EC2-VPC and the ease of use of EC2-Classic. Each instance that the user launches into a
default subnet has a private IP address and a public IP address. These instances can communicate with theinternet through an internet gateway. An internet gateway enables the EC2 instances to connect to the
internet through the Amazon EC2 network edge.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html
C is correct
C.
Elastic IP
C
EC2-VPC
Allocating an Elastic IP address
When you allocate an Elastic IP address, it’s for use in EC2-Classic; however, you can migrate an Elastic IP address to the EC2-VPC platform. For more information, see Migrating an Elastic IP Address from EC2-Classic to EC2-VPC.
When you allocate an Elastic IP address, it’s for use only in a VPC.