Description
This article describes how to safely resize an AWS Cloud FortiGate-VM Active-Passive HA cluster for the BYOL image, emphasizing the necessary prerequisites and step-by-step processes. The process is mostly the same in the other Cloud environments.
Scope
AWS-FortiGate, FortiGate v7.0.x, v7.2.x, v7.4.x, v7.6.x.
Solution
The resizing process is typically straightforward and efficient, but it is important to follow a few prerequisites:
- Back up the FortiGate (FGT) configuration before making any changes.
- Ensure that the FortiGate version is officially supported with the desired instance type.
- Consider the licensing implications:
- If using 'pay-as-you-go', the license will be automatically resized.
- If using 'Bring the Own License (BYOL)', check the CPU limit.
Refer to the 'FortiGate Public Cloud > AWS Admin Guide' documentation page for each version.
Process:
- Back up the device configuration.
- Verify the HA settings and make sure the traffic still passing when failover happens.
- Make sure the new licenses support the number of vCPUs of the new instance type.
- Note: (It is still possible to install the new license either before or after changing the instance type).
- Power off the secondary FortiGate instance (FGT-B) from the AWS console and wait for the VM status to change to 'Stopped'.
- From Action Menu-> Instance settings, select Change instance type, select the desired new size for the VM, and select Apply.
- Now, Start the VM instance and make sure it's up and running.
- On the secondary FortiGate (FGT-B) GUI, navigate to System -> FortiGuard and Select FortiGate VM License.
- Upload (Install) the new license file; It will reboot the FortiGate.
- Power off the primary FortiGate (FGT-A) from the AWS console, and wait for the VM status to change to 'Stopped'.
- Note: Failover will occur and the service may go down for a few seconds, 2 or 3 request time out.
- From Action Menu -> Instance settings select Change instance type, select the desired new size for the VM, and select Apply.
- Start the VM instance and make sure it's up and running.
- On the old primary FortiGate (FGT-A) GUI, navigate to System -> FortiGuard and Select FortiGate VM License.
- Upload (Install) the new license file; It will reboot the FortiGate.
Note:
At the end of the process, the FGT-B would be the primary.
Related documents:
FortiGate-VM AWS Datasheet
AWS | Change the instance type (size)
GitHub | FortiGate-VM Terraform Deploy Code on AWS
Related article:
Technical Tip: Resizing an Azure FortiGate VM instance