Follow the normal procedure to launch the instance from the AWS marketplace.
When selecting the VPC subnet, the instance must with the role that was created and specify the information about the license file and configuration file from the AWS S3 bucket previously configured under Advanced Settings. In this example, the role name is jkato-ec2-s3.
After you launch the FortiGate-VM for the first time and log into the management GUI, FortiOS validates the license instead of displaying the license upload prompt.
After logging in, you can see that the license was activated and that the specified hostname was configured.
Check the serial number that you have with the license.
You can view the cloud-init log in Log & Report > System Events.