FortiNAC-F
FortiNAC-F is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks. For legacy FortiNAC articles prior to FortiNAC-F 7.2, see FortiNAC.
jhilman
Staff
Staff
Article Id 376236
Description

This article describes how to adjust the script used to convert the FortiNAC image to AMI to increase the size of the data drive, which can be inadequate for most deployments. This has been changed in v7.4.1, and the change is planned for upcoming v7.2.9 and v7.6.3 GA releases.

 

By default, the script contained in the zip file called 'import2awsimg.sh' creates a 9GB boot drive and a 10GB data drive, but the data drive must be increased to 100GB to meet the VM server resource sizing recommendations specified in the FortiNAC data sheets for all deployment sizes. 

 

sizing.JPG

Scope FortiNAC v7.x.
Solution

To adjust the script, after the desired AWS, unzip the contents and open import2awsimg.sh in an approved text editor. 

The recommended editor is Notepad++. Search for the line that says 'VolumeSize': 10 and make the change from 10 to 100. The result should be as follows:


[
  {
    "DeviceName": "/dev/sda1",
    "Ebs": {
      "SnapshotId": "$snapshotId",
      "VolumeType": "gp2"
    }
  },
  {
    "DeviceName": "/dev/sdb",
    "Ebs": {
      "VolumeSize": 100,
      "DeleteOnTermination": true,
      "VolumeType": "gp2"
    }
  }
]

 

Related document:

AWS Deployment Guide