2 Answers
Hello Ansh,
Your Interpretation of the AWS VPC is good
An AWS VPC is created in one region.
[IMO] The specification of a AWS VPC is best understood by looking at the create VPC CLI command. This exposes the core of what a VPC is. – https://docs.aws.amazon.com/cli/latest/reference/ec2/create-vpc.html
Basically an AWS VPC is an isolated network space defined as a CIDR block. It exists in the context of the Region you are working in or nominate.
Note that creating an AWS VPC does not create subnets. it only defines the space and range that the subnets will be created in. If you do it though the Console, other things get called as part of the work flow including creating subnets and an IGW etc.
Where the AWS pattern is Region based and hierarchical, the Google pattern is dispersed and appears to be more flexible if you want to have a Global service. I am still working though GCP, but I can certainly see strengths in the Google model.
🙂
Coach & Moderator
Thanks Rusty for your answer !
Hello Ansh. Yes, you are right: GCP has Global VPCs with Regional subnets. This contrasts with AWS which has Regional VPCs and Zonal subnets. I try to highlight this further, a bit later on, when I walk through my solution to the Custom-Mode VPC Challenge Lab. Cheers!
Mattias
Anyone..fancy helping me out on the query please ?