Follow the normal procedure to launch the instance from the AWS marketplace.
When selecting the VPC subnet, the instance needs to be with the role that was created and must 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 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.