What should be done to access the instance?

You are configuring a new VPC for one of your clients for a cloud migration project, and only a public VPN will be in place. After you created your VPC, you created a new subnet, a new internet gateway, and attached your internet gateway to your VPC. When you launched your first instance into your VPC, you realized that you aren’t able to connect to the instance, even if it is configured with an elastic IP.

What should be done to access the instance?
A .  A route should be created as 0.0.0.0/0 and your internet gateway as target.
B .  Attach another ENI to the instance and connect via new EN
D .  A NAT instance should be created and all traffic should be forwarded to NAT instance.
E .  A NACL should be created that allows all outbound traffic.

Answer: A

Explanation:

All traffic should be routed via Internet Gateway. So, a route should be created with 0.0.0.0/0 as a source, and your Internet Gateway as your target.

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario1.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments