Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

FortiGate Deployment Tutorial for Google Cloud

Terraform deployment

Day 1 - Adding desired functionality

Day1 templates allow you to add and remove functionality from your existing FortiGate cluster. It is, and it should be treated as merely an example of possibilities and is not meant to be a complete production-ready set of modules for your own production deployment.

The example configuration will deploy the following:

  1. Inbound inspection module
  2. Outbound inspection module
  3. VPC Peering to the workload VPCs
  4. East-west firewall rule for communication between tier1 and tier2
  5. Example workload servers running a proxy and simple web server

How to deploy

Note: as terraform cannot create the networks and use them as data source in the same plan, we will use targetting to work around this limitation.

  1. Initialize terraform by running terraform init
  2. Create and verify a plan including all the resources by running terraform plan -out tf.plan
  3. Deploy by running terraform apply --parallelism=1 tf.plan
  4. Wait about a minute and test connection over http to the IP address visible in the outputs.

How to clean up

Run terraform destroy