Deploy FortiSandbox-VM with the Deployment Image
Obtaining the deployment image
To obtain the deployment image:
- Log into FortiCloud.
- Go to Support > VM Images.
- From the Select Product dropdown list, select FortiSandbox.
- From the Select Platform dropdown list, select OCI.
- Download the deployment package file. The deployment package file is named
fsa-oci-vX-buildXXXX-fortinet.tar.gz
, wherevX
is the major version number andXXXX
is the build number.
Uploading the FortiSandbox deployment image to OCI
- In OCI, go to Storage > Buckets.
- Click Create Bucket.
- Enter the Bucket Name.
- Set Default Storage Tier to Standard.
- Click Create.
- Go to the bucket you created, then click Upload to upload the deployment image file
xxxx. qcow2
. - Create Pre-Authenticated Requests.
- Click Create Pre-Authenticated Requests.
- Click Create Pre-Authenticated Requests for the uploaded image.
- Record the Pre-Authenticated Requests URL as it required in later steps.
- Go to Compute > Custom Images. Click Import Image. In the Import Image dialog, complete the required fields.
- Enter the import image Name.
- Select Import from an Object Storage URL, and enter the URL link you recorded in the previous step.
- Set the Image type to QCOW2.
- Click Import Image. Wait until the IMPORTING status changes to AVAILABLE.
- From the newly imported image, Click Edit details. Under Compatible shapes select VM.Standard3.Flex and click Save changes.
- Click Create Instance and configure the required parameters.
- Enter the instance Name.
- Select the instance Shape.
- Configure the Networking section.
Primary network Click Select existing virtual cloud network and select the VCN you created. Subnet Select the port1 subnet you created. Public IPv4 address Select Assign a public IPv4 address. - In the Add SSH keys section, click Save private key to download the private key. You can use the default options for the Boot volume section.
- Click Create. Wait until the PROVISIONING status changes to RUNNING.
Deployment parameters:
Name
Enter the FortiSandbox-VM instance name.
Availability domain
The availability domain helps determine which shapes are available.
Shape
A shape is a template that determines the number of CPUs, amount of memory, and other resources allocated to a newly created instance. For customized VM feature, require Intel VM.Standard3.Flex with at least 8 OCPU and 64GB memory.
Primary network
Select Virtual cloud network
Subnet
Select Port 1 Subnet created before
Public IPv4 address
Select Assign a public IPv4 address for Port 1. Port 1 will be used to access and manage FortiSandbox.
Add SSH keys
SSH to FortiSandbox-VM without entering the password
- Go to Storage > Block Volumes, then click Create Block Volume.
- Enter a Name for the Block Volume.
- Set Volume Size to a minimum of 500GB.
- Click Create Block Volume. Wait for the message Block Volume Available.
- Go to Compute > Instances.
- Click the FortiSandbox VM instance you created.
- Click the Attached block volumes tab.
- Click Attach block volume.
- Click Select volume and the select the volume you created.
- Set Attachment type to Paravirtualized.
- Click attach. Wait for the process to complete.
- Add the new interface for Port 2.
- Click the Attached VNICs tab.
- Click Create VNIC. Configure the following settings and click Save changes, then wait for the process to complete.
Name Enter a name for the Port 2 interface select a virtual cloud network(VCN) Select the VCN you created. Select Subent Select the Port2 subnet you created. Private IP address (Optional) Enter the private IP address. - Repeat Step 6 to add new interface for Port 3.
- Reboot the FortiSandbox-VM instance. Allow approximately 10 minutes for the instance to boot for the first time.