服务 · 联网和内容分发
Amazon Virtual Private Cloud (Amazon VPC)
Your own private network in an AWS Region, where you launch resources such as EC2 instances and databases.
本课尚未翻译,暂以英文显示。
A VPC connects to the internet, to your own network and to other VPCs only through the connections you attach.
The internet, in both directions
- An internet gateway
Private subnets to the internet, outbound only
- A NAT gateway
Your data center or office network
Individual users, from anywhere
One other VPC
- VPC peering
Many VPCs and on-premises networks, through one hub
AWS services such as Amazon S3, without the internet
- A VPC endpoint
One service in another VPC or account
| To connect | Use |
|---|---|
| The internet, in both directions | An internet gateway |
| Private subnets to the internet, outbound only | A NAT gateway |
| Your data center or office network | |
| Individual users, from anywhere | |
| One other VPC | VPC peering |
| Many VPCs and on-premises networks, through one hub | |
| AWS services such as Amazon S3, without the internet | A VPC endpoint |
| One service in another VPC or account |
1 / 2
The internet, in both directions
- An internet gateway
Private subnets to the internet, outbound only
- A NAT gateway
Your data center or office network
Individual users, from anywhere
| To connect | Use |
|---|---|
| The internet, in both directions | An internet gateway |
| Private subnets to the internet, outbound only | A NAT gateway |
| Your data center or office network | |
| Individual users, from anywhere |
2 / 2
One other VPC
- VPC peering
Many VPCs and on-premises networks, through one hub
AWS services such as Amazon S3, without the internet
- A VPC endpoint
One service in another VPC or account
| To connect | Use |
|---|---|
| One other VPC | VPC peering |
| Many VPCs and on-premises networks, through one hub | |
| AWS services such as Amazon S3, without the internet | A VPC endpoint |
| One service in another VPC or account |
是什么
Amazon Virtual Private Cloud (Amazon VPC) gives you a logically isolated virtual network in the AWS Cloud. It works much like a network in your own data center. You choose its IP address range, divide it into subnets and decide which traffic may come in and go out. Resources such as Amazon EC2 instances and Amazon RDS databases run inside it.
A VPC belongs to one Region and can have subnets in every Availability Zone of that Region. Traffic reaches it only through the connections you attach, such as an internet gateway for the internet, AWS VPN or AWS Direct Connect for your own network, and VPC peering or AWS Transit Gateway for other VPCs.
是什么
Your account has a default VPC in each Region. It is already connected to the internet, so you can launch an instance straight away. There is no charge for a VPC itself, but some of its parts, such as NAT gateways and VPN connections, are charged.
要记住
- A VPC lives in one Region. Each of its subnets lives in one Availability Zone.
- You choose the IP address range, the subnets, the route tables and the gateways.
- The default VPC in each Region comes with public subnets and an internet gateway.
- Security groups and network ACLs filter the traffic inside a VPC.
要记住
- Use separate VPCs to keep workloads or teams apart.
考试中
- “A logically isolated section of the AWS Cloud where you launch resources in a virtual network that you define” is Amazon VPC.
- “Which one stays inside a single Availability Zone, a VPC or a subnet?” A subnet. A VPC spans the whole Region.
别和这些弄混
- VPC components: subnets, route tables and gatewaysThe parts of a VPC: public and private subnets, route tables, gateways, endpoints and peering.
- Availability ZonesIsolated locations inside a Region, each one or more data centers. Using two or more keeps an application running.
- AWS RegionsSeparate areas of the world where AWS clusters its data centers. Your resources live in the Region you choose.