Create a Virtual Machine
Prerequisites
-
One or more virtual networks are created by using the instructions in Create a Virtual Network.
-
Custom security groups are configured, as instructed in Create a Security Groups.
-
An SSH Key is added, as outlined in Create a SSH Keys.
Create a Virtual Machine
-
On the "Virtual Machines" page, click the "Add New" button to create a new Virtual Machine.
-
In the "Deployment Options" section, Click "Choose a Volume" or "Choose an Image" depending on what you want to create.
-
If you select the "Choose an Image" option, you need to follow the steps below;
- Click the "Choose an Image" button and select your images.
- In the Add Volume section, you have the default Boot Volume. You can change the boot volume, or add more volumes from the "Attach Volume" or "Add Volume" buttons.
- In the Virtual Machine Type section, click "Choose a Virtual Machine Type" and then select the RAM and CPU required for you.
- In the Network section, click the " Choose a Network" button. On the Add Network Interface window, select a network from the list and click the "Add Network" button.
- In the Choose Authentication Method section, you can choose the "SSH Key" or "Config" method to establish a secure connection to the Virtual Machine.
-
SSH Key method;
You can select the following options; "Select existing SSH Key", "Add a SSH Key" or "Generate New SSH Key". Described in SSH Key
-
Config method;
You can select the following options; "Authentication with Cloud Config" or "Load Custom Config".
- Authentication with Cloud Config: you need to specify Hostname, Username and Password
- Load Custom Config: Allow the creation of customizable models. “fully customize the generated source code”. Write a cloud-config or shell script in the Customization script field or browse a file on your local server to load the script from.
-
-
If you select the "Choose a Volume" option, you need to follow the steps below;
- Click the "Choose a Volume" button.
- In the Add Volume section, you need to attach volume from the "Attach Volume" button.
- In the Virtual Machine Type section, click "Choose a Virtual Machine Type" and then select the RAM and CPU required for you.
- In the Network section, click the " Choose a Network" button. On the Add Network Interface window, select a network from the list and click the "Add Network" button.
- In the Choose Authentication Method section, you can choose the "SSH Key" or "Config" method to establish a secure connection to the Virtual Machine.
-
SSH Key method;
You can select the following options; "Select existing SSH Key", "Add a SSH Key" or "Generate New SSH Key".
-
Config method;
You can select the following options; "Authentication with Cloud Config" or "Load Custom Config".
-
-
Click "Create a Virtual Machine"
Connect to the Virtual Machine
Prerequisites
- To be able to connect via SSH, the virtual machine must have cloud-init and OpenSSH installed.
Connect to a Virtual Machine via VNC Console
- On the Virtual Machines page, click virtual machine name, and then click the "Console" button on the right panel. The console will open in a separate browser window. In the console, you can send a key combination to a Virtual Machine, take a screenshot of the console window, and download the console log.
Connect to a Virtual Machine via SSH
- On the SSH terminal, you can specify a username and virtual machine IP address. If you have deployed a Virtual Machine without specifying an SSH Key, you need to enter a password to log in to the Virtual Machine.