2. Service insertion
Four terms carry the design:
| Term | Meaning in this design |
|---|---|
| Segment | A routing domain. A VPC attachment joins the segment named by its tag. There are three: prod, qa and shared. Isolation is on, so two attachments of one segment do not reach each other directly. Their traffic is inspected too |
| Network function group | A named set of inspection attachments, one per region. inspectionEW serves traffic between VPCs and inspectionNS serves traffic to the internet |
| send-via | Traffic between two segments goes through a group, in both directions. One action covers each pair of segments, a segment paired with itself included |
| send-to | Traffic from a segment to 0.0.0.0/0 goes to a group and leaves the cloud there |
A spoke VPC keeps one default route to Cloud WAN. The core network policy, not the spoke's route table, decides where its traffic goes. One document holds that policy, rendered from the segment and group names in the configuration.
Both clusters need their own network function group because Cloud WAN allows one attachment per group in each region.
Next: 3. One region.