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 19, 2019 in AWS by Jayant
1,584 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, 2019 by Ritesh

Related Questions In AWS

0 votes
2 answers

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

A curl or wget to http://169.254.169.254/latest/meta-data/instance-id will ...READ MORE

answered Mar 9, 2020 in AWS by anonymous
6,822 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, 2019 in AWS by Priyaj
• 58,100 points
3,449 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Using Shapely on AWS Lambda with Python 3

For some reason, the pip install of ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,100 points
2,897 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP