How To Instantiate Virtual Machine
Revision as of 18:51, 24 May 2019 by Client Admin (talk | contribs) (Created page with "Category:OpenNebula Category:How To Category:CloudInfrastructure =How to Instantiate a virtual machine using Appliance (image) from CipherSpace AppMarket in OpenNe...")
How to Instantiate a virtual machine using Appliance (image) from CipherSpace AppMarket in OpenNebula
- Login to Sunstone (Sunstone URLs) (https://wiki.cipherspace.com/index.php/OpenNebula_Administrative_Functions - useful info with additional help for admin functions via UI)
- Select Datacenter/Zone (RHS Top corner) in which you want to create VM (ZH4, NY7, DW2) – This option might not be available to non-privileged users.
- Download an appliance (app) from CipherSpace App Market. You also have option download from OpenNebula AppMarket if needed.
- Select appliance you want to download (import) to OpenNebula
- Storage -> Apps
- Filter by 'CipherSpace AppMarket'
- Select the 'App' you want to download (e.g: CentOS7, Debian Linux 9)
- To download selected App to OpenNebula
- Click on OpenNebula ->
- Enter Name (has to be unique) and VM Template Name (defaults to Name)
- Select ON datastore in which this App will be downloaded (should select ‘Images-qcow2’ unless there is a strong reason to use something else)
- Click on Download to begin download
- Check status of downloaded Image
- Storage -> Images
- Status will show as 'LOCKED'
- Once it changes to 'READY', image is ready to use
- ( https://wiki.cipherspace.com/index.php/How_To_Use_OpenNebula_AppMarket - Dummies guides for step 3 )
- Select appliance you want to download (import) to OpenNebula
- Modify Template of the downloaded App/Image
- Templates -> VMs, Select the template which you just downloaded
- Click 'Update'
- General Tab-> Adjust Memory, CPU and VCPU value as needed, select 'KVM' as hypervisor
- Storage Tab -> Select the image you just downloaded, add additional Disks and select images to be used for Disk if required
- Network Tab -> Select one of the pre-created network (if unsure to begin with select 'Internet' and check with ‘someone in the know’ - if you are reading this document, you should know who that is) to select the appropriate virtual network
- Context Tab -> Add SSH contextualization and ‘Add Network contextualization’ should be selected. Add the public key of users who will access this VM. (For windows users – HowTo for generating SSH Key pair https://wiki.cipherspace.com/index.php/Using_PuTTY_with_SSH_Key_Pair -
- Leaving rest of the options to default – you are just about ready to instantiate an ‘internet facing VM’
- Click on 'Update' to save these parameters
- Instantiate VM
- Templates -> VM
- Select the Template which you want to instantiate as VM
- Click 'Instantiate'
- Check Status of VM
- Instances -> VMs
- Status will start with 'PENDING' and change 'RUNNING'
- Once it is 'RUNNING', VM is ready to use.
- Once running, note the assigned IP address to SSH into using your preferred SSH client
- For additional information to manage running VM (start, stop, pause, terminate, power off, etc.) https://wiki.cipherspace.com/index.php/How_To_Manage_OpenNebula_Virtual_Machines