If you want to launch Amazon Elastic Compute Cloud (EC2) Instances and assign each Instance a predetermined private IP address you should:

If you want to launch Amazon Elastic Compute Cloud (EC2) Instances and assign each Instance a
predetermined private IP address you should:

If you want to launch Amazon Elastic Compute Cloud (EC2) Instances and assign each Instance a
predetermined private IP address you should:

A.
Assign a group or sequential Elastic IP address to the instances

B.
Launch the instances in a Placement Group

C.
Launch the instances in the Amazon virtual Private Cloud (VPC).

D.
Use standard EC2 instances since each instance gets a private Domain Name Service (DNS) already

E.
Launch the Instance from a private Amazon Machine image (Mil)

Explanation:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *


Seth

Seth

Instances launched in VPC automatically get private IP. C is correct.

Dave

Dave

predetermined private IP they want not just any so how the C is correct? E?

DD

DD

C is correct, when you’re launching the instance you can specify the IP address if using VPC. EC2 Classic doesn’t support this, as all EC2 instances in Classic share the same subnet with other accounts. EC2 Classic is like the Wild West of Cloud.

HelloWorld

HelloWorld

Correct answer is C.

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html

Private IP addresses

When you launch an instance into a VPC, a primary private IP address from the address range of the subnet is assigned to the default network interface (eth0) of the instance. Each instance is also given an internal DNS hostname that resolves to the private IP address of the instance. If you don’t specify a primary private IP address, we select an available IP address in the subnet range for you. For more information about network interfaces, see Elastic Network Interfaces in the Amazon EC2 User Guide for Linux Instances.

You can assign additional private IP addresses, known as secondary private IP addresses, to instances that are running in a VPC. Unlike a primary private IP address, you can reassign a secondary private IP address from one network interface to another. A private IP address remains associated with the network interface when the instance is stopped and restarted, and is released when the instance is terminated. For more information about primary and secondary IP addresses, see Multiple Private IP Addresses in the Amazon EC2 User Guide for Linux Instances.

Nagarjuna D N

Nagarjuna D N

The answer should be C.
While launching an EC2 instance in a VPC can be assigned by pre-determined IP in “Network Interfaces” under the step “Configure Instance” within the range of VPC CIDR, if not being used by any other instance.