A user has launched an EBS backed instance with EC2-Classic. The user stops and starts the instance. Which of the below mentioned statements is not true with respect to the stop/start action?
A.
The instance gets new private and public IP addresses
B.
The volume is preserved
C.
The Elastic IP remains associated with the instance
Suggested Answer:C🗳️
A user can always stop/start an EBS backed EC2 instance. When the user stops the instance, it first enters the stopping state, and then the stopped state. AWS does not charge the running cost but charges only for the EBS storage cost. If the instance is running in EC2-Classic, it receives a new private IP address; as the Elastic IP address (EIP. associated with the instance is no longer associated with that instance.
n EC2-Classic, Elastic IP addresses are not automatically associated with instances. If an instance is stopped and started, any Elastic IP address that was previously associated with the instance will not be automatically re-associated. The user needs to re-associate the Elastic IP address manually after starting the instance.
It depends Answer C (statement C is false for EC2-Classic) and
Answer A (Statement A is false for EC2-VPC) the instance will preserve the private-ip.
for EC2-Classic the public-ip, private-ip and elastic-ip are release
so C is not true Answer C
for EC2-VPC the public-ip is released, Private-ip and elastic-ip are retained.
so A is not true - Answer A
Correct Answer: C
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
"The instance retains its associated Elastic IP addresses. You're charged for any Elastic IP addresses associated with a stopped instance. With EC2-Classic, an Elastic IP address is dissociated from your instance when you stop it."
For Point Number 1 : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-classic-platform.html
EC2-Classic :
***********
Your instance receives a private IPv4 address from the EC2-Classic range each time it's started.
Default EC2:
***********
Your instance receives a static private IPv4 address from the address range of your default VPC.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
The instance retains its associated Elastic IP addresses. You're charged for any Elastic IP addresses associated with a stopped instance. With EC2-Classic, an Elastic IP address is dissociated from your instance when you stop it. For more information, see EC2-Classic.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
e47cf49
6 months, 3 weeks agoalbert_kuo
1 year, 11 months agoaidenpearce01
3 years, 1 month agoSam0_2000
3 years, 6 months agoMutazo
3 years, 6 months agoMutazo
3 years, 6 months agoTroyMcLure
3 years, 6 months agoorebaron
3 years, 6 months agoawscertified
3 years, 7 months agokarmaah
3 years, 7 months agokarmaah
3 years, 7 months ago