Step 5: Launch Instance
-
Select “Launch instance”.
-
Connect to instance and login.
-
Obtain the public IP of the instance from the EC2 interface.
-
On the local machine, verify the appliance CLI can be accessed using SSH via private key.
ssh –i <private key file/identity_file> admin@<public IP address>
Example where identity file= myprivatekey.pem and public IP=54.123.45.67
> ssh –i ../myprivatekey.pem admin@54.123.45.67
Proceed below as appropriate.
Cloud-init (step 4 option) was configured
Verify that the VM is booting and utilizing the day zero configuration file that was provided.
-
Log in the FortiNAC CLI using the following:
User name = admin
Password = <no password>
-
Review port1 configuration. Type
get system interface physical
-
Confirm SSH access to the port1 IP address works.
-
Appliance installation is complete. Proceed to the FortiNAC Deployment Guide to continue deployment.
Cloud-init was not configured
Configure the gateway first; otherwise, the instance may become unreachable. |
Assign Static IP Address for port1 and enable both SSH and HTTPS access.
-
Log in the FortiNAC CLI using the following:
User name = admin
Password = <no password>
-
To set the IP address and default gateway, type the following:
config system interface
edit port1
set ip <port1 ip addr>/<mask>
set allowaccess https-adminui ssh
next
end
config system route
edit 1
set device port1
set gateway <default gateway>
next
end
Example:
config system interface
edit port1
set ip 10.12.234.175/22
set allowaccess https-adminui ssh
next
end
config system route
edit 1
set device port1
set gateway 10.12.232.1
next
end
-
Confirm SSH access to the port1 IP address works.
-
Appliance installation is complete. Proceed to the FortiNAC Deployment Guide to continue deployment.