Instances are virtual machines that run inside the OpenStack cloud. You can launch an instance from the following sources:
Navigate to Compute -> Key Pairs using the second level navigation tabs
We need a key pair created to use when we provision instances. The public key is passed to the instance and put in the authorized_keys file on the login user account.
Click Create Key Pair
Enter student1 for Key Pair Name
Click Create Keypair
Note that when you create a key pair, it should get automatically downloaded. You should verify that you definitely have the pem file in your downloads.
You need this key file in order to access instances later.
Navigate to Compute -> Instances using the second level navigation tabs
Click Launch Instance on the right hand side of the screen
Enter student1-cirros for Name
Leave Availability set to nova
Enter 2 for Count
Click Next
Leave Select Boot Source set to Image
Click No for Create New Volume
Click the Up Arrow symbol to the right of student1-cirros to move that image up to the Allocated section
Click Next
Click the Up Arrow symbol to the right of m1.tiny to move that flavor up to the Allocated section
Click Next
Click the Up Arrow symbol to the right of private-a to move that network up to the Allocated section
Click on Security Groups in the left list of options on with dialog
Leave the default security group allocated
Click Next
You can ignore the rest of the option pages
Click Launch Instance
You should see a green box appear in the upper right corner of the screen that says “Success: 2 instances launched.”
If you did not, let the intstructor know now
The instances will take a little while to become active.
If for some reason they do not, let the instructor know
Look all the way to the right in the row for your student1-cirros-1 instance, Click the down arrow
Click Associate Floating IP
Select any one of your available floating IP addresses for IP Address
Leave Port to be Associated as is
Click Associate
You should see a green box appear in the upper right corner of the screen that says something similar to “Success: IP address 192.168.1.106 associated.”
Note that your floating IP will be a different address than the one shown here.
If you did not, let the intstructor know now
At this point, we now have two running instances in our project. These instances are based on the cirros image we uploaded earlier.
The instances have IP addresses on the private-a network we created and are using the default security group as a baseline firewall setup.
One of our instances also has a Floating IP Address assigned and is routable on the 192.168.0.0/23 public network via both ICMP and SSH.
In our next lab, we will use the CLI to go through some of the steps we have done in previous labs.