Can there be communication between VPC in two different regions?

+1 vote
I was trying to make connection between two instances both in different region, i want to know as is it even possible?

If the two VPCs are in same region we can use VPC Peering.

What about VPC in different region?
Nov 19, 2018 in AWS by findingbugs
• 3,200 points
1,651 views

2 answers to this question.

0 votes

Hello @findingbugs, as you said in your question it is absolutely correct that we can use VPC Peering provided by Amazon to build a private connection between your VPCs.

Coming to your question,

Yes, it is possible. You can build a connection between two VPC in different region.

Taking an example of EC2 instance trying to connect to a DB Instance.

Your EC2 must use public IP.

Your Db Instance must allow public access, i.e. it must be in a public subnet.

You must give public access while you create the DB Instance.

Note:- Both your VPC must have public subnets with Internet Gateway attached to the route table, else they won't be accessible. 

answered Nov 19, 2018 by Priyaj
• 57,530 points

reshown Nov 20, 2018 by Priyaj
@Priyaj, Does VPC Peering work for VPC being in same region?
+2 votes
Hello,

 VPC peering supports between different regions. If you have VPC peering, network transfer will be in private. If you don't want VPC peering, then communication will happen on the Public network means Instance must have Public IP to communicate.
answered Nov 19, 2018 by Sankar
@Sankar can you explain the one which doesn't have VPC Peering and communication happens on Public Network?
Hi @extremous,

Yes, communication will happen between two instance across different region without vpc-peering. But this communication will work when both instance are in public subnet. Just check create one instance in Singapore region and create another one in sydney region. Then ping from each other. It will work. But make sure ICMP request protocol should open in both Security group of instance.
Thanks a lot @Latchu, That was very informative and clear.
Hi @Latchu! I hope you are doing good.

Please register to Edureka Community and post the comment as an answer. You'll earn points and reputations which could be very useful.

Related Questions In AWS

0 votes
1 answer

What are the services that can be used with Amazon VPC?

Almost all the services provided by AWS ...READ MORE

answered Mar 5, 2019 in AWS by Ravish
73 views
0 votes
1 answer

AWS service pricing in different regions

Prices change from region to region. You ...READ MORE

answered Apr 12, 2019 in AWS by Faizal
66 views
0 votes
1 answer
0 votes
1 answer

Can messages be sent in batches? - AWS SQS

Yes! It's totally possible to send messages ...READ MORE

answered Aug 20, 2019 in AWS by Scarlet
245 views
+1 vote
5 answers

Can Celery be used with Amazon SQS

I regenerated the credentials in the IAM ...READ MORE

answered Oct 25, 2018 in AWS by triedntested
1,297 views
+1 vote
4 answers

Can a URL be directly uploaded to S3 using POST?

You can read this blog and get ...READ MORE

answered Oct 25, 2018 in AWS by chamunda
197 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 57,530 points
4,189 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer