Instances for OpenStack¶
This is a walk through for people using our clusters for OpenPOWER virtual machines.
Groups and Users¶
You need to first have a group which your user can live in. This group will have a quota for resources, image and flavor settings along with security settings.
Once we have made your group and user you will be sent a password that you should change. Then you can login and proceed to the Instances section on the left side and hit the ‘Launch Instance’ button.
Launching a new instance¶
After selecting the ‘Launch Instance’ button you will see this popup. Here you will enter in the name for the vm, in this case ‘my-instance’ afterwards, click “Next”.
The next page selects which image you want to use. By default the GUI shows you the wrong way to deploy an instance with our setup. We unfortunately cannot change this until the Pike release. To fix this, select “Image” under the “Select Boot Source” drop-down and also change “Create New Volume” to “No”.
Your screen should now look like what we have below which lists the images you’re able to use. Select one of the images you’d like to use. Little Endian images are noted with LE while Big Endian images are noted with BE. Scroll down and click “Next” or click “Flavor” on the left side for the next section.
The next page selects the “Flavor” of the system which dictates how much CPU, RAM and Disk the instance will be deployed with. All flavors that start with “m1” will deploy on POWER8 systems while all flavors with “p9” will deploy on POWER9 systems. Now click “Next” or “Networks” on the left side.
Select the network¶
This page configures how your instance connects to the network. We currently have two public networks that you can use: “public” and “public3”. It doesn’t matter which network you choose as long as it gives you a public IP address. For now we’ll choose “public.” Now click “Security Groups”.
Select security group¶
Next we need to configure what security groups we want to use. You can think of security groups as firewall rules for the virtual machine. Generally the default security group should be all you need but you can stack other security groups on as needed. You can also check what rules are set by clicking on the “>” icon next to the group. Now click “Next” or “Key Pair”.
Select key pair¶
Now we need to select an ssh key pair to use for the VM. If you already have a key added, select it. If not click “Import Key Pair” to import a public key that you’ve already created.
Enter a name for the key and paste the public key in that you’ve generated. After you import it, you can select it and move onto the next screen. After this, you can just click “Launch” which should be blue now.