Can EC2 Instance communicate outside VPC?

0 votes
Can someone guide me through the procedure of making a communication of two EC2 instance from different VPC?
Feb 18 in AWS by Jayant
55 views

1 answer to this question.

0 votes
Yes. If an Internet gateway has been configured then the Amazon VPC traffic bound for Amazon EC2 instances not within a VPC traverses through the Internet gateway and then enters the public AWS network to reach the other EC2 instance. If an Internet gateway has not been configured accordingly, or if the instance is in a subnet configured to route through the virtual private gateway, the traffic traverses the VPN connection, and then re-enters the public AWS network.
answered Feb 19 by Ritesh

Related Questions In AWS

0 votes
1 answer

How can I find out the instance id of an ec2 instance from within the ec2 instance?

On Amazon Linux AMIs you can do: $ ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,090 points
31 views
0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29 in AWS by Priyaj
• 56,520 points
287 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer