Medinho
Medinho

Reputation: 223

Do two AWS accounts created in the same region share the same VPC?

Do two AWS accounts created in the same region share the same VPC, Because the VPC is in the level of region? Or each account in the same region has its own VPC?

Example: What about if user_A with account_A create an EC2 instance in region Ohio and another user_B with account_B create another EC2 instance in the same region Ohio, Do these two different instances are in the same VPC? Because as I know (if I am not wrong) a region is attached with a single VPC..?

Upvotes: 2

Views: 1452

Answers (3)

letthefireflieslive
letthefireflieslive

Reputation: 12684

No. VPC is exclusive and managed per customer account.

enter image description here

Additionally:

  • A VPC exist and tied to one region
  • You can create subnet(public and/or private) under VPC.
  • Each subnet must reside entirely within one Availability Zone and cannot span zones.
  • A region contains at least 2 availability zone (data center).

Upvotes: 1

serdal
serdal

Reputation: 71

Just a suggestion...

It could not be in the same VPC, but you can use VPC Peering to interact these resources privately. You can setup easily VPC Peering between accounts. Also, You cannot use same CIDR block between these VPC's.

VPC Peering Schema

Upvotes: 1

Sam
Sam

Reputation: 2882

A VPC is a logically isolated network. And a single aws account can have many VPC's. This then will naturally mean two VPC's in two different accounts are also separate. Network traffic between them will need to be configured unless you opt to setup sharing.

Shared VPC's can be configured if you wished at a Organization level - https://aws.amazon.com/blogs/networking-and-content-delivery/vpc-sharing-a-new-approach-to-multiple-accounts-and-vpc-management/

Upvotes: 5

Related Questions