Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Deployment of a FortiGate-VM on the Openstack

Introduction

A Terraform script to deploy FortiGate-VM on Openstack

Requirements

  • Terraform >= 0.13.0
  • Terraform Provider Openstack >= 1.31.0
  • FortiGate-VM Flex VM token license

Deployment overview

Terraform deploys the following components:

  • FortiGate-VM instance(s) with two NICS

Deployment

To deploy the FortiGate-VM to OCI:

  1. Clone the repository.
  2. Customize variables in the terraform.tfvars and variables.tf file as needed.
  3. Initialize the providers and modules:
    $ cd XXXXX
    $ terraform init
  4. Submit the Terraform plan:
    $ terraform plan
  5. Verify output.
  6. Confirm and apply the plan:
    $ terraform apply
  7. If output is satisfactory, type yes.

Output will include the information necessary to log in to the FortiGate-VM instances:

Outputs:

Default_Password = <default password>
Default_Username = admin
IP_Address = {
  "<instance name>" = "<instance ipv4 address>"
  :
}

## Destroy the instance
To destroy the instance, use the command:
```sh
$ terraform destroy

Support

Fortinet-provided scripts in this and other GitHub projects do not fall under the regular Fortinet technical support scope and are not supported by FortiCare Support Services. For direct issues, please refer to the Issues tab of this GitHub project. For other questions related to this project, contact [email protected].

License

License © Fortinet Technologies. All rights reserved.