ec2geek
ec2geek

Reputation: 3

Will this setup work?

I'd like to set up a Wordpress server on AWS with the following config

Server A - HAProxy for load balancing + SSL Termination Server B,C,D - Varnish Cache Server Server E - Nginx Web Server running Wordpress connected to RDS and Elasticache running Memcache

2 EC2 instances will be running from Account-A and other 3 instances will running on Account-B. All these instances will be interconnected through VPC Peering.

This is how I thought it would look like : https://i.sstatic.net/3GvaC.jpg

So my question is as per this document, http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html#vpc-peering-limitations

it says, "VPC peering does not support transitive peering relationships" and I'm struck at that.

Will my setup still work or how should I go about going with the setup as described in the linked image?

Upvotes: 0

Views: 68

Answers (1)

Marcel Dumont
Marcel Dumont

Reputation: 1207

As long as the servers of both accounts are each within 1 VPC, the VPC peeering communication between the 2 VPCs will work as advertised. The transitive peering rule only applies if you would have a 3rd VPC you want to interact with.

Upvotes: 1

Related Questions