Skip to content

Create instance from image

Info

Please look up Create network and router and Network Design before you start the wizard.

Even though it is possible to edit and apply Security Groups at a later stage, it is still recommended that you create one to allow at least SSH (TCP port 22) before creating your first instance. Instructions on how to do that can be found here.

You should also create a key pair the first time you create an instance. Follow the instructions here to do it.

  1. Navigate to to Compute→Instances and press the "Launch Instance" button. instances
  2. You are presented with a wizard. launch instance
  3. On the first page "Details" fill out the field "Name" to give your instance a name. This name will also be put in the /etc/hostname file of the instance.
  4. On the next page "Source" pick an image you would like to use as boot media. Please refer to the FAQ for a listing of the valid combinations of boot source and flavors. select boot source
  5. On the next page "Flavor", pick the flavor for the instance. Flavor depicts configuration of vCPU, RAM and storage for the instance.
    • For descriptions on the different flavors, please check: Flavors
  6. On the next page, pick a network.
  7. On the next page, assign Security Groups for you instance. In order to connect to the instance over SSH for managing it, you at least will have to create a security group with port 22 (SSH) open from the outside (Ingress) as described here. It is possible to assign Security Groups later after instance creation by picking "Edit Security Groups" in the dropdown meny from the arrow icon at the end of the instance row in "Instances" listing. Actions
  8. On the next page "Keypair" assign an SSH key to you instance. This is needed in order to connect to it over SSH from the outside. This key will be provisioned to the cloud users ~/.ssh/authroized_keys file. For instructions on how to connect with SSH to you instance, please follow instructions here.
  9. Now you can click "Launch Instance" at the bottom of the wizard.
  10. In order to connect to the virtual machine located at PSNC cloud you need to obtain public IP address for at least one virtual machine. Refer to "Associate Floating IP" scenario.