简体   繁体   English

在同一个区域创建的两个 AWS 账户是否共享同一个 VPC?

[英]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?在同一个区域创建的两个AWS账户是否共享同一个VPC,因为VPC在区域级别? Or each account in the same region has its own VPC?或者同一地域的每个账户都有自己的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?示例:如果 user_A 和 account_A 在俄亥俄州区域创建一个 EC2 实例,另一个 user_B 和 account_B 在同一区域俄亥俄州创建另一个 EC2 实例,这两个不同的实例是否在同一个 VPC 中? Because as I know (if I am not wrong) a region is attached with a single VPC..?因为据我所知(如果我没记错的话)一个区域与一个 VPC 相连..?

A VPC is a logically isolated.network. VPC 是一个逻辑上隔离的网络。 And a single aws account can have many VPC's.一个 aws 帐户可以有多个 VPC。 This then will naturally mean two VPC's in two different accounts are also separate.这自然意味着两个不同账户中的两个 VPC 也是分开的。 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/如果您愿意,可以在组织级别配置共享 VPC - https://aws.amazon.com/blogs.networking-and-content-delivery/vpc-sharing-a-new-approach-to-multiple-accounts-and -vpc管理/

Just a suggestion...只是一个建议...

It could not be in the same VPC, but you can use VPC Peering to interact these resources privately.它不能在同一个 VPC 中,但您可以使用 VPC Peering 私下交互这些资源。 You can setup easily VPC Peering between accounts.您可以在帐户之间轻松设置 VPC 对等连接。 Also, You cannot use same CIDR block between these VPC's.此外,您不能在这些 VPC 之间使用相同的 CIDR 块。

VPC 对等模式

No. VPC is exclusive and managed per customer account.否。VPC 是排他性的,按客户账户管理。

在此处输入图像描述

Additionally:此外:

  • A VPC exist and tied to one region一个 VPC 存在并绑定到一个区域
  • You can create su.net(public and/or private) under VPC.您可以在 VPC 下创建 su.net(公共和/或私有)。
  • Each su.net must reside entirely within one Availability Zone and cannot span zones.每个 su.net 必须完全驻留在一个可用区内并且不能跨区域。
  • A region contains at least 2 availability zone (data center).一个区域至少包含 2 个可用区(数据中心)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不允许对等 VPC 访问同一 su.net 中的所有其他内容的情况下将 RDS 数据库共享到另一个 VPC? - How do I share an RDS database to another VPC without allowing the peered VPC to access everything else in the same subnet? 如何在单个程序中使用两个 AWS IAM 账户? - How do I use two AWS IAM accounts in a single program? 将 AWS EC2 API 连接到同一 VPC 上的 AWS RDS,在外部工作 - Connecting AWS EC2 API to AWS RDS on same VPC, works externally Terrraform:根据区域输入变量在不同区域创建aws vpc - Terrraform: create aws vpc in different regions based on region input variable 同一个 VPC 和 SU.NET 中的两个 EC2 但一个可以连接 inte.net 而另一个不能,为什么? - Two EC2 in same VPC and SUBNET but one can connect internet and other not , why? 如果两侧 VPC CIDR 范围相同,VPC 对等? - VPC Peering if both side VPC CIDR range is same? 从同一 VPC 中的 Lambda 连接到 Elasticsearch 服务 - Connect to Elasticsearch Service from Lambda in the same VPC 在不同 AWS CDK 堆栈之间共享资源(如 VPC、安全规则)的最佳和推荐方式 - Best & Recommended way to share resources like VPC, Security Rules between different AWS CDK Stack 链接多个用户帐户(同一电子邮件) Firebase - Link several user accounts (same email) Firebase 同一 VPC 内的 su.net 间通信 - GCP - Inter-subnet communication within the same VPC - GCP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM