Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Migrate a FortiGate from On-Premise to Cloud

Migrating a FortiGate from on-premises or from another cloud to Plenit does not have to be a complex project.

If you have the active license and the exported configuration, the process comes down to deploying a new FortiGate on the platform and restoring your configuration on top of it.

👍 What you get

Your firewall in Plenit with the same policies, routes, and VPNs you already used, ready to operate from the cloud.

What you need before starting

  • Active FortiGate license: confirm that it can be transferred or activated in the new virtual instance.

  • Administrative access to the source FortiGate (GUI or CLI) to export the configuration.

  • Firmware version: ideally, the destination FortiOS in Plenit should be the same as or newer than the source device's.

  • A inventory of interfaces, routes, NATs, VPNs, network objects, and certificates, to later verify that everything has been migrated.

Step 1. Export the source FortiGate configuration

1.1 From the GUI

In the FortiGate web administration, go to Configuration → Backup/Export, export the full configuration (or each VDOM if applicable) and save the file .conf or .yaml.

{/* 📸 SCREENSHOT 1 · source FortiGate · Backup/Export menu and .conf/.yaml formats */}

Exporting the configuration from the source FortiGate GUI

1.2 From the CLI

If you prefer the console, the equivalent is:

This saves the full configuration in a file that you then download.

Step 2. Deploy a FortiGate on Plenit

Create a new instance following How to deploy a FortiGate VNF in Plenit: name, region and zone, resources, image FortiGate from the Marketplace and network (Direct IP for management + L2 for the internal network).

📘 Size for production

For a migration with the full configuration, size with headroom (for example, 4 vCPU and 8 GB of RAM). Keep in mind that the VNF's main disk is fixed at 2 GB by the manufacturer: any large amount of space you need is added as an additional disk.

{/* 📸 SCREENSHOT 2 · FortiGate deployment in Plenit (resources/image/network) */}

Deployment of the new FortiGate in Plenit

Step 3. Migrate the license

The new FortiGate needs an active license to operate with all its features:

  • If your license is of type virtual (VM), activate it on the new server.

  • If it was associated with hardware, contact Fortinet to transfer it.

The option Full gives you access to all features; the trial version requires a FortiCare account and can only be associated with a single device.

{/* 📸 SCREENSHOT 3 · license selection (Full / trial) */}

FortiGate license selection

Step 4. Import the configuration

With the FortiGate on Plenit already operational:

  1. Access its GUI (for example, https://IP:8443).

  2. Go to Restore / Import Configuration.

  3. Upload the file .conf (or .yaml) that you exported.

  4. Apply and reboot.

❗️ Reboot is mandatory

The configuration is not applied until you reboot the device. The file password is optional: if you exported without a password, leave that field empty.

{/* 📸 SCREENSHOT 4 · Restore/Import screen with the file uploaded */}

Importing the configuration into the FortiGate on Plenit

🚧 Check that the interfaces match

Compare the interfaces in the source file with those of the new instance. If they differ (for example, in the port names), adjust them manually before considering the migration successful.

Step 5. Verify operation

Check that the VPNs are up, that the firewall and NAT policies behave like they did on the original, and that the internal network has connectivity in both directions. Review logs and alerts, and verify that HTTPS and SSH management responds on the configured ports.

From the terminal, confirm that management responds:

And from the FortiGate's own CLI, check VPNs and routes:

Step 6. Final adjustments

  • Certificates: import the ones you used for VPN or secure management.

  • Backups: schedule automatic configuration backups so you don't lose future changes.

  • Security: restrict management access by IP, change the default ports, and review the users.

  • Monitoring: enable SNMP (if you didn't do it during deployment) to get metrics in the Plenit dashboard.

Conclusion

Migrating a FortiGate to Plenit is a straightforward process when you prepare two things well: the license and the exported configuration. With that, in just a few steps you have in the cloud the same firewall you were already operating, with its policies, routes, and VPNs intact, and you gain the platform's scalability and visibility.

The point where it's worth not rushing is the interface check: if the port names change between source and destination, that manual adjustment is what separates a migration that works from one that looks migrated but does not route.

Last updated

Was this helpful?