======================================== Create a VM with the Openstack dashboard ======================================== .. |launch_instance| image:: ../_static/launch_instance.png :height: 30px .. |launch_instance_confirm| image:: ../_static/launch_instance_confirm.png :height: 30px .. |up_arrow| image:: ../_static/up_arrow.png :height: 30px .. |next| image:: ../_static/next.png :height: 30px .. |associate| image:: ../_static/associate.png :height: 30px .. |associate2| image:: ../_static/associate2.png :height: 30px .. |allocate_ip| image:: ../_static/allocate_ip.png :height: 30px .. |allocate_ip2| image:: ../_static/allocate_ip2.png :height: 30px Create instance =============== Go to the ``Compute`` menu, select ``Instances`` and click |launch_instance| In the first screen, choose your instance name and optionaly the number of VMs you want to create. .. image:: ../_static/instance_details.png Click |next| Then select the image you want to deploy by clicking |up_arrow| (see `image list <./images_and_flavors.html#available-images>`_) .. image:: ../_static/instance_image.png Click |next| and select a flavor with |up_arrow| (see `flavor list <./images_and_flavors.html#available-flavors>`_) Click |next| and select ``psmn-internal`` network .. image:: ../_static/instance_network.png .. important:: Selecting ``psmn-internal`` is mandatory. Nothing will work if you chose another network. Finally click |launch_instance_confirm| Wait a few moments until the status become ``Active`` (you may have to refresh the page) .. image:: ../_static/instance_active.png Add floating IP ===================== You need to associate a floating IP address to your VM, so that you'll be able to reach it from the PSMN network. Step 1: ensure that a floating IP address is available ------------------------------------------------------ In the ``Network menu``, select ``Floating IPs`` You can see all the floating IPs associated to your project. If a floating IPs is available, the |associate| button is visible in the **Actions** row. .. image:: ../_static/floating_ip.png If there is no available floating IP, or if the list is empty, you need to create one (see **Step 2**). Otherwise, click |associate|. In the pop-up select the VM to which you want to assign a floating IP, and click |associate2| .. image:: ../_static/associate_floating_ip.png You can now connect to your VM (see `Connection to an Openstack VM <./connect_to_vm.html>`_) Step 2: Create a floating IP ---------------------------- If there is no IP available, you need to create one. In the ``Network menu``, select ``Floating IPs`` and click |allocate_ip|. Select ``psmn`` and click |allocate_ip2| .. image:: ../_static/allocate_floating_ip.png You can now associate the IP to your VM (see **Step 1**) .. warning:: Don't forget to **delete** your VM once you no longer need it. .. image:: ../_static/instance_delete.png