Deploy FortiSandbox-VM with the Deployment Image
Obtaining the deployment image
To obtain the deployment image:
- Log in to FortiCloud.
- In the banner, go to Support > VM Images.
- From the Select Product dropdown list, select FortiSandbox.
- From the Select Platform dropdown list, select Google.
- Download the deployment package file. The deployment package file is named
“fsa-gcp-vX-buildXXXX-fortinet.tar.gz
”, wherevX
is the major version number andXXXX
is the build number.
This deployment method only applies for Bring Your Own License (BYOL). |
Uploading the FortiSandbox deployment image to Google Cloud
To upload the FortiSandbox deployment image to Google Cloud:
- Log in to FortiSandbox Cloud.
- Go to Storage > Browser.
- Create a new bucket or go to an existing bucket.
- Click UPLOAD FILES to upload the newly downloaded deployment file.
Creating the FortiSandbox deployment image
To create the FortiSandbox deployment image:
- Go to Compute Engine > Images.
- In the top-right corner of the page, click Activate Cloud Shell .
- On the Cloud Shell interface, enter the command to create the custom image and click Enter.
gcloud compute images create <custom image name> \
--source-uri <The gs-uri of the uploaded original image file> \
--guest-os-features MULTI_IP_SUBNET
Example:
gcloud compute images create fsa-gcp-v400-build0255-fortinet \
--source-uri gs://fortisandbox-image/fsa-gcp-v400-build0255-fortinet.tar.gz \
--guest-os-features MULTI_IP_SUBNET
- Click REFRESH. The new image should be displayed in the IMAGE list. The image is listed on the Images pane.
Deploying the FSA-VM instance
- Go to Compute Engine > VM Instances. Click CREATE INSTANCE.
- Configure the instance:
- In the Name field, enter a name for the instance. From the dropdowns select the Zone and Machine type.
- Under Boot disk, click Change.
- On the Custom images tab, select the newly created image. Change the Boot disk type as required, and enter
10
for the Size. Click Select. - Ensure the new image is selected.
- Under Firewall Option, select Allow HTTPS traffic.
You will access the FortiSandbox management console using HTTPS. If you allocate multiple network interfaces to the FortiSandbox , please refer to GCP VPC settings. Each network card needs to belong to different VPC.
- Click Advanced options.
- Click Networking. Here you want to specify multiple network interfaces. One is located on the public-facing side of the Internet, the other facing a protected private network.
- Edit the first network interface. We recommend assigning a static IP address. Configure the other items as needed and click Done.
- Click Add network interface to add the second interface for the private subnet. If you click Network you will see the list of preconfigured networks. Choose the network located in the same region you chose to deploy the instance. Under External IP, select None.
The VPC and Subnetwork used should be set up in advance and given appropriate outbound and inbound firewall policies.
- Under Advanced options, click Disks, and attach a Datadrive disk for the FortiSandbox instance.
- Click ADD NEW DISK, and select the appropriate Disk Type and Size. The recommended minimum value 80G.
- Click SAVE.
- After configuring all elements, click Create.
After several minutes, the instance should be up and running.