Hostnet OpenStack Cloud Instance Creation

No ''Hostnet Wiki''
Versija 2017. gada 23. marts, plkst. 15.49, kādu to atstāja Gatis (Diskusija | devums) (Jauna lapa: * Choose a network for your department. Network should have already been created. On how to set up a network and virtual routers, you can find information Hostnet_OpenStack_Cloud_vi...)

Pārlēkt uz: navigācija, meklēt
Citas valodas:
English • ‎latviešu

It is easy to create Instance with a few clicks in Hostnet OpenStack Cloud service. But first of all you have to decide on which drives your instance will work ( HDD SAS, HDD SATA vai SSD). Secondly do you need a new internal network and what are requirements about CPU and RAM? Below we will describe all possible options.

  • You can Launch instance in section "Instance" by clicking on "Launch instance".

Hpc launch instance 1.png

  • Insert a name of new instance

Hpc launch instance 2.png

  • Select the system disk source. This is an important point because many possible configurations. Let's look at some of them:
    • Choosing Instance launch source "Image", you need to specify the disk OS template, which can be found below. We describe the "Create New Volume" option variations:
      • If the menu "Create New Volume" is "No", the instance will start on a physical server for local drives, which are the SSD. This is recommend if you require high-performance drive.
      • If the menu "Create New Volume" is "Yes", the instance will start on disk array with SATA HDD connection. In addition you have to specify the desired size of the system disk (!!! for some server templates minimum disk size is more than 2 GB).
    • Choosing Instance launch source "Snapshot Instance" it will start on local server SSD drives.
    • Choosing Instance launch source "Volume", it is possible to run an instance of the disk volume that was created previously and which is marked as (Bootable). We recommend that you always choose the option "Delete Volume Instance on Delete" to "No". More information about how to create a SAS or SATA disk volume, you can find Here.
    • Choosing Instance launch source "Volume Snapshot", the instance will be formed from the disk volume snapshot.

Hpc launch instance 3.png

  • Choose Instance resources. Currently we can offer SSD on local disks or combination of disks which are indicated on resource menu. If the instance startup source is “ Image “ then the instance disk size will be the same as at the resources menu. If the instance startup source is "Volume", then the disk size will be the same, as it is defined on the disk combination.

Hpc launch instance 4.png

  • Choose a network for your department. Network should have already been created. On how to set up a network and virtual routers, you can find information Here.

Hpc launch instance 5.png

  • Izvēlaties SSH atslēgu. Tai ir jābūt iepriekš izveidotai vai arī ieimportētai. Sīkāk informāciju par to atrodama TE.

Hpc launch instance 6.png

  • Instance gatava palaišanai. Instances palaišanas process sāksies nospiežot "Launch Instance".
  • Instancei nepieciešams pievienot publisko IP adresi, to var veikt dažādos veidos, viens no variantiem aprakstīts TE.
  • Pēc publiskās IP adreses piešķiršanas, pieslēgšanās instancei notiek ar SSH atslēgu. Linux un MacOS sistēmās tas paveicams ar komandu:
$ ssh -i cels_lidz_atslegai root@servera_ip_adrese

Piemēram:

$ ssh -i demo-ssh-key-1.pem root@89.111.XX.YYY

Daži OS šabloni neļauj slēgties klāt izmantojot root lietotāju, ja tā notiks, uzrādīsies paziņojums, līdzīgs kā mūsu piemērā ar CentOS sistēmu:

Please login as the user "centos" rather than the user "root".

Lai pieslēgtos, izmantojiet lietotāju, kuru uzrāda paziņojumā:

$ ssh -i demo-ssh-key-1.pem centos@89.111.XX.YYY

Lai pieslēgtos no Windows sistēmām izmantojot putty, Jums nāksies pārģenerēt RSA atslēgu uz putty saprotamu, kā to veikt var apskatīt te: http://www.electrictoolbox.com/PuTTY-rsa-dsa-keys/