Easy ReviewDOP-C02
Security and Compliance9

Transit Gateway

Connect and segment VPC and on-premises networks through a Regional routing hub.

Este conteúdo de estudo ainda não foi traduzido, então aparece em inglês. Ajude a traduzir

Transit Gateway connects network attachments and routes traffic between them using gateway route tables.

Attachments, route tables, and sharing

AWS Transit Gateway is a Regional virtual router that connects virtual private cloudsA logically isolated virtual network in AWS. (VPCs), which are isolated AWS networks, and on-premises networks. Think of it as a hub whose attachmentsA connection between a transit gateway and a network resource that can send or receive packets. connect networks and whose route tables choose paths.

How it works

  1. Attach VPCs, VPN connections or Direct Connect gateways. For a VPC, select one attachment subnetA range of IP addresses in a VPC that belongs to one Availability Zone., a range of IP addresses, in each Availability Zone that needs gateway access.
  2. Associate each attachment with a transit gateway route table. That table selects the destination attachment for traffic entering from the associated attachment.
  3. Propagate routes, meaning install routes learned from an attachment, into one or more tables, or add static routes that you create yourself. Separate tables can isolate groups of attachments.
  4. Add routes in VPC subnet tables toward the gateway and ensure attachment subnet tables can reach the target subnets. Configure return routes too.
  5. To connect accounts, the owner shares the gateway through AWS Resource Access Manager (RAM); participants create VPC attachments and the owner manages gateway route tables.

Exam cues

  • If the question says attached VPC address ranges overlap, think renumbering, because Transit Gateway does not route between overlapping VPC CIDR blocksA range of IP addresses represented using Classless Inter-Domain Routing notation., the notation used for IP address ranges.
  • If the question says a stateful firewall must keep a flow in one Availability Zone, think appliance mode, because it keeps the flow on the same appliance attachment zone.
  • If the question says a participant needs to change the shared gateway’s route table, think gateway owner, because participants cannot change its tables or associations.
  • If the question says connect peered transit gateways, think static routes, because peering attachments require them.

Remember

  • Transit gateway peering can cross accounts and Regions; it requires static routes to the peering attachment.

  • An attachment associates with at most one gateway route table but can propagate to one or more tables.

  • A static routeA route that you create in a transit gateway route table. takes priority over a propagated route with the same destination. A blackhole routeA route that drops traffic matching its destination. drops matching traffic.

  • A Site-to-Site VPN attachment must be created in the gateway owner’s account.

Trap: An attachment alone does not establish traffic flow. Configure the VPC and transit gateway route tables and the return path.

Traffic between attached VPCs
12Source subnetTransit gatewayTarget subnet
  1. The source subnet route sends remote traffic to the transit gateway.

  2. The source attachment's associated route table selects the destination attachment.

Da documentação da AWS (18)
  • A transit gateway is a Regional virtual router connecting VPCs and on-premises networks.
  • A VPC is a virtual network, and a subnet is a range of IP addresses in one Availability Zone.
  • CIDR notation represents VPC IP addresses.
  • Attachments can connect VPCs, VPN connections, Direct Connect gateways, Connect attachments and peer transit gateways.
  • A VPC attachment uses one subnet per enabled Availability Zone; resources in zones without an attachment cannot reach the transit gateway.
  • VPC subnet route tables need routes to the transit gateway and attachment subnet route tables need routes to destinations within the VPC.
  • Each attachment can associate with one transit gateway route table; a table can associate with many attachments.
  • An attachment can propagate routes to one or more transit gateway route tables; VPC attachments propagate VPC CIDR blocks.
  • Transit gateway route tables can contain static routes, and a static route has priority over a propagated route with the same destination.
  • Additional transit gateway route tables can isolate subsets of attachments.
  • A blackhole route drops traffic matching the route.
  • Transit Gateway does not route between VPCs with overlapping CIDR blocks; the new VPC's overlapping routes are not propagated.
  • AWS RAM can share a transit gateway for VPC attachments across accounts or an organization.
  • A participant can create VPC attachments but cannot modify the shared transit gateway's route tables, associations or propagations.
  • A Site-to-Site VPN attachment must be created in the account that owns the transit gateway.
  • Appliance mode keeps a flow on the same Availability Zone for the appliance VPC attachment for the flow's lifetime.
  • AWS Transit Gateway peering connects transit gateways within one Region or across Regions, including gateways in different accounts; traffic needs static routes pointing to the peering attachment.
  • Transit Gateway can route multicast traffic between subnets of attached VPCs, acting as the multicast router for senders and receivers.

Flashcards

toque para virar
Resposta

·

Todos os 9 flashcards em lista

How do Transit Gateway route tables segment traffic?

Associate each attachment with at most one route table and propagate its routes to one or more tables. Separate tables can isolate groups of attachments. VPC subnet routes are also required.

Ten accounts need to use one Transit Gateway for their VPCs. How can they share it?

Share the gateway using AWS RAM. Participants can create VPC attachments, but the owner controls transit gateway route tables.

Two VPCs attached to Transit Gateway have overlapping CIDR blocks. Can the gateway route between them?

No. Use non-overlapping address ranges; overlapping routes for the new attachment are not propagated.

A VPC workload cannot reach Transit Gateway from one Availability Zone, despite a subnet route. What attachment setting should be checked?

Enable an attachment subnet in that Availability Zone. Resources in zones without an attachment cannot reach the gateway.

A stateful firewall sits in an inspection VPC attached to Transit Gateway. What keeps a flow on the same appliance attachment Availability Zone?

Enable appliance mode on the VPC attachment.

Two AWS Transit Gateways are in different accounts and Regions. Can they be connected, and what routes are required?

Use a transit gateway peering attachment and static routes pointing to it.

Can an AWS Transit Gateway attachment reach another VPC without the required VPC subnet routes?

No. Configure routes toward the transit gateway and routes from the attachment subnets to destinations within the VPC.

What happens when static and propagated Transit Gateway routes have the same destination?

The static route takes priority.

A company connects many VPCs and an on-premises network and needs a scalable hub for routing. Which AWS service fits?

AWS Transit Gateway. It is a regional virtual router that connects VPCs and on-premises networks through attachments.

Você concluiu todos os tópicos da DOP-C02!

Seu badge ficou dourado. Próximo passo: agendar a prova na AWS. Depois de passar, adicione-se ao Quem passou.

Compartilhar

Conte que você concluiu esta certificação

Concluí todos os tópicos da AWS Certified DevOps Engineer - Professional (DOP-C02) no Easy Review. Venha estudar também!