FortiGate inspection on AWS Cloud WAN: attendee walkthrough
This walkthrough tests a FortiGate design that replaces AWS Network Firewall and NAT gateways behind Cloud WAN service insertion. You run each lab in your own region, from your own demo instance, against a stack that is already deployed.
The design in one picture
Each region holds the same stack:
Internet
^
| egress from a fixed EIP pool
+-----------+-----------+
| North-South VPC | GWLB + FortiGate ASG
| source NAT, EIP pool | TCP reset on member failure
+-----------+-----------+
^ send-to (0.0.0.0/0)
|
+-----------+ +---------+---------+ +-----------+
| PROD VPC +------->+ Cloud WAN +<-------+ QA VPC |
+-----------+ | core network | +-----------+
+----+---------+----+
| ^
send-via (RFC1918) v |
+-----------------+--+ +--+-------------------------+
| East-West VPC | | Shared Services VPC |
| GWLB + FortiGate | | FortiManager pair (HA) |
| ASG, FGSP sync | | FortiAnalyzer |
| flows survive a | | canaries, bastion |
| member failure | +----------------------------+
+--------------------+
FortiManager and FortiAnalyzer reach the FortiGates over VPC peering, outside the inspected path. The two regions connect through Cloud WAN; traffic between them is inspected once, by the eu-west-1 East-West cluster.
Your test cases
| # | Test case | Lab |
|---|---|---|
| 1 | Automated deployment of inspection VPCs, ASGs, GWLBs and firewalls by Terraform, in another region | Getting started, Trusted source |
| 2 | East-West inspection between PROD and QA through send-via | East-West |
| 3 | Internet egress through send-to, no NAT gateway, a fixed EIP pool | North-South |
| 4 | Scale-out and scale-in driven by traffic | Scaling |
| 5 | Upgrade without packet loss or session termination | Upgrade |
| 6 | Firewall policies created and updated as code | Policy as code |
| 7 | Rules from AWS tags, not static addresses | East-West, North-South |
Pages
| Page | Content | Time |
|---|---|---|
| 1. Getting started | Repository, console sign-in, a tour of what is deployed | 20 min |
| 2. Architecture | What each VPC holds, the traffic paths, the three functions the design keeps | 10 min |
| 3. Trusted source | Add your address by pull request; open the FortiGate, FortiManager and FortiAnalyzer GUIs | 30 min |
| 4. East-West | Tag-based access between PROD and QA; a member failure under a running flow; inter-region access | 45 min |
| 5. North-South | The EIP pool; tag-based internet access; a member failure under a download | 30 min |
| 6. Scaling | A load job scales the East-West cluster out, then in | 40 min |
| 7. Policy as code | Block a site with one file and a pull request | 25 min |
| 8. Upgrade | Upgrade your East-West cluster from FortiOS 7.6.7 to 7.6.8 by pull request | 20 min, then a check at the end |
| 9. Summary | What each lab showed, with the measured results and the limits | 10 min |
About four hours in all. Waits on the pipeline and on replacements leave time to explore.
Your region
| Attendee 1 | Attendee 2 | |
|---|---|---|
| Region | eu-west-1 (Ireland) | ap-southeast-1 (Singapore) |
| Resource prefix | s01-euw1 |
s01-apse1 |
Every page writes <prefix> for your resource prefix and <region> for your
region.
Before you start
Commands run in three places. Each block on the following pages says which.
| Where | Setup |
|---|---|
| CloudShell, in your region | Run the block below. Run it again after CloudShell restarts |
| Your laptop | git and ssh. Clone the repository once, below |
| Your demo instances | Session Manager sessions, opened in lab 4 |
CloudShell, attendee 1 (eu-west-1):
export PREFIX=s01-euw1
CloudShell, attendee 2 (ap-southeast-1):
export PREFIX=s01-apse1
Laptop, with the clone URL from the repository's Code button:
git clone <repository-url> demo
cd demo
Ground rules
-
Work in your own region. Both regions share one account, and the split is by agreement.
-
Do not change the admin passwords on FortiManager or FortiAnalyzer. The pipeline signs in with them, and a changed password stops every deployment until the region is rebuilt.
-
Change configuration in code, by pull request. A change made in a GUI is overwritten by the next deployment.
-
You may break FortiGates: terminate or reboot them. The Auto Scaling group replaces a member in 6 to 11 minutes.
-
Terminate the demo instances you launched before you leave.