ladderlore
  • 输入服务名称,例如 S3 或 IAM。

服务 · Networking and Content Delivery · 基于 CLF-C02

Amazon Virtual Private Cloud (Amazon VPC)

Plan address ranges and subnet tiers up front: they are hard to change once networks are connected.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • A VPC is a private network in one Region. Each subnet lives in one Availability Zone.
  • You choose the address range, subnets, route tables and gateways.
  • Security groups and network ACLs filter traffic.
阅读云从业者课程
  • VPC size

    /16 (65,536) down to /28 (16 addresses)
  • Reserved

    5 addresses in every subnet
  • Overlap

    Not allowed for peering, VPN, Transit Gateway
  • Growth

    Add secondary CIDR blocks
  • IPv6

    Dual stack. Egress-only gateway for private outbound
Address facts that exam questions test.

1 / 2

  • VPC size

    /16 (65,536) down to /28 (16 addresses)
  • Reserved

    5 addresses in every subnet
  • Overlap

    Not allowed for peering, VPN, Transit Gateway
  • Growth

    Add secondary CIDR blocks

2 / 2

  • IPv6

    Dual stack. Egress-only gateway for private outbound
Address facts that exam questions test.
Availability Zone AAvailability Zone BLoad Balancing
Application
Database
Load Balancing
Application
Database
Three tiers in two zones: public, private application, private data.

是什么

Address planning is the SAA topic. A VPC takes an IPv4 range (CIDR block) between /16 (65,536 addresses) and /28 (16 addresses). Each subnet loses 5 addresses: the network address, the VPC router, the DNS server, one reserved for future use, and the broadcast address. Ranges that overlap cannot be joined by VPC peering, a Site-to-Site VPN or Transit Gateway, so give every VPC and every on-premises network its own range from the start.

是什么

You cannot change a VPC’s main range, but you can add secondary ranges when you run out. Some services use many addresses (container tasks, Lambda in a VPC, large fleets), so leave room. A VPC can also have an IPv6 range (dual stack). IPv6 addresses are public, so private subnets use an egress-only internet gateway to go out without letting anyone in.

Spread each tier over at least two Availability Zones. A common layout is three tiers: public subnets for load balancers, private subnets for the application, and private subnets for the database. Large organizations use many VPCs, often one per environment or account, joined through Transit Gateway.

是什么

VPC Traffic Mirroring copies the traffic of an elastic network interface to a security or monitoring appliance, so you can inspect packets without changing the instance.

要记住

  • VPC range /16 to /28. Each subnet reserves 5 addresses.
  • Peering, VPN and Transit Gateway need non-overlapping ranges.
  • Secondary ranges can be added later. The main range cannot change.
  • Dual stack: IPv4 and IPv6. Use an egress-only internet gateway for private IPv6 outbound traffic.

要记住

  • Three tiers, in at least two Availability Zones: public, application, data.
  • Many VPCs: one per environment or account, joined by Transit Gateway.

考试中

  • “Connect two VPCs but their ranges overlap” points to PrivateLink, or re-addressing. Peering and Transit Gateway cannot do it.
  • “Running out of IP addresses in a VPC” points to adding a secondary CIDR block.
  • “Private IPv6 resources need internet access, but no inbound access” points to an egress-only internet gateway.