9. Summary
What each lab showed. The Measured column comes from earlier runs of the same tests on this design.
| # | Test case | Shown in | Measured | Limit |
|---|---|---|---|---|
| 1 | Automated deployment by Terraform, in another region | Labs 1, 3, 7, 8 | A deploy.yml run builds the stack from empty; each change is a pull request and a pipeline run; the second region deploys from one region file |
The bootstrap stack (state bucket, pipeline roles) is deployed once per account, by hand |
| 2 | East-West inspection through send-via | Lab 4 | Denied and allowed flows logged on FortiAnalyzer; a TCP flow survives the loss of its member; a ping loses 1 to 13 replies | A flow that already moved once can end at a second loss |
| 3 | Egress from a fixed EIP pool, no NAT gateway | Lab 5 | Every egress address is one of the pool's 16; destroy and shrink are refused at plan | The address changes inside the pool on failure, scaling and upgrade |
| 4 | Scale-out and scale-in under load | Lab 6 | At a test target of 200 flows: from 3 to 5 members, healthy about 8 minutes after launch; scale-in starts 15 minutes after the load ends, and open connections survive it | One trigger, active flows, at a demo target; production needs a baseline |
| 5 | Upgrade without packet loss or session termination | Lab 8 | East-West, 7.6.7 to 7.6.8: 0 of 3,824 new connections failed, 2 of 3,874 pings lost, 63 minutes | A flow older than the whole refresh may end; on North-South each long-lived flow is reset once and reconnects |
| 6 | Firewall policy as code | Lab 7 | One file in one pull request blocks a site in both regions | The filter matches the TLS server name |
| 7 | Rules from AWS tags | Labs 4, 5 | A tag opens a path in 6 to 61 s; a removed tag cuts open flows in 38 to 44 s | The policies trust whoever may tag |
Tag-based policy: how it works
Each FortiGate reads EC2 tags itself, through its AWS SDN connector and its
instance role, every 60 s. No script, Lambda or polling service sits beside
it. A policy uses a dynamic address with a tag filter, such as
Tag.Allow-To-QA=local, and the address follows the instances that carry
the tag.
Functions the design keeps
The design keeps three small functions. None handles licensing.
| Function | Why it exists |
|---|---|
| Launch hook, East-West | FGSP peers are declared up front, so each member needs a management ENI at a reserved address |
| Launch hook, North-South | Each member takes an EIP from the fixed pool |
| Sweep | FortiManager keeps the entry of a terminated member; the sweep deletes it |
Lab limits that do not apply to production
-
Every GUI shows a certificate warning, and the FortiGates share the default hostname.
-
The FortiGates run PAYG and are licensed at boot. They are not registered to a FortiCare account.
-
Both regions share the same policy packages. Production would separate stages and environments.