Amazon VPC

100 阅读2分钟

image.png

这个是在一个Region 中有三个不同的子网,在不同的AZ中,子网通过 Internetgateway 来访问互联网。

特征(几个需要记住的名词)

以下来帮助你建立应用连接

Virtual private clouds (VPC)

VPC is a virtual network that closely resembles a traditional network that you'd operate in your own data center. After you create a VPC, you can add subnets.

Subnets

subnet is a range of IP addresses in your VPC. A subnet must reside in a single Availability Zone. After you add subnets, you can deploy AWS resources in your VPC.

IP addressing

You can assign IP addresses, both IPv4 and IPv6, to your VPCs and subnets. You can also bring your public IPv4 and IPv6 GUA addresses to AWS and allocate them to resources in your VPC, such as EC2 instances, NAT gateways, and Network Load Balancers.

Routing

Use route tables to determine where network traffic from your subnet or gateway is directed.

Gateways and endpoints

gateway connects your VPC to another network. For example, use an internet gateway to connect your VPC to the internet. Use a VPC endpoint to connect to AWS services privately, without the use of an internet gateway or NAT device. VPC endpoint 使用AWS的私有的服务,不用使用互联网转入的。就是比如有人在AWS中提供服务,就不用告诉你互联网地址,直接使用 endPoint 就行(可以进一步了解)

Peering connections

Use a VPC peering connection to route traffic between the resources in two VPCs. 连接两个 VPC的

Traffic Mirroring

Copy network traffic from network interfaces and send it to security and monitoring appliances for deep packet inspection.流量镜像

Transit gateways

Use a transit gateway, which acts as a central hub, to route traffic between your VPCs, VPN connections, and AWS Direct Connect connections. 中心网关

VPC Flow Logs

flow log captures information about the IP traffic going to and from network interfaces in your VPC.

VPN connections

Connect your VPCs to your on-premises networks using AWS Virtual Private Network (AWS VPN).VPN

NAT 网关是一种网络地址转换 (NAT) 服务。您可以使用 NAT 网关,以便私有子网中的实例可以连接到 VPC 外部的服务,但外部服务无法启动与这些实例的连接。