is there any multi region vpc example?
# aws
v
is there any multi region vpc example?
s
I don’t have an example handy, but you should be able to do this with different providers configured for each region.
v

https://puu.sh/JeKlW/5085584d4e.png

something like this?
I dont know how to do the peering though
s
I do have an example of VPC Peering, but it’s in Golang: https://blog.scottlowe.org/2021/08/26/establishing-vpc-peering-with-pulumi-and-go/
v
Thats ok. i know golang. Thank you
s
No problem, happy to help!
v
Should i create different project for each region?
s
WRT to VPC peering, I created a single project with a different stack for each pair of VPCs (i.e., one stack for the peering relationship between us-west-2 and us-east-2, one stack for the relationship between us-east-2 and ca-central-1, etc.).
That arrangement seemed to make the most sense to me.
v
right thats a good idea
i found this example and i really like it
s
Oh, good find! I hadn’t seen that one. I’ll bookmark it for the next time someone asks about examples of VPC peering. 🙂
👍 1