Introduction
This tutorial describes how to create an instance in Breqwatr. Before creating a VM, confirm the following information with your cloud administrator:
Name | Description |
---|---|
Instance Name | Identify of the instance |
Image | Provides a template that holds a bootable operating sytem on it |
Flavor | Defines the compute, memory, and storage capacity of an instance |
Network | Provides the conectivity to the internal or external network |
Creating an Instance in Arcus
- Under Servers, click the Plus icon.
- Select the VM type. The create button will redirect to the Create Instance wizard. VMs are created from templates called Images, which are organized into helpful categories by cloud administrators. Select which type of image to use.
- Select the Image. After selecting type of VM template image, you will see a list of images available in this project.
- Select the Flavor. Once the image is selected, a list of size options called Flavors will be displayed. Select the flavor to define the size of the desired workload. Images can have minimum RAM and CPU values assigned by cloud administrators. Any flavors that have insufficient resources will be greyed out. Also unselected, light-blue shaded flavors indicate that a GPU will be assigned too.
Note If your haven't added your public key to your breqwatr account, it will prompt the following message: SSH Key: required, proceed to upload your public key as described in the following steps:
- A. Click on the username to open a window where you can see preferences, support, and a log out button.
- B. Click on the Upload Public Key button.
- C. Paste your public SSH key.
- D. Click on the Upload Public Key button.
- Select the Volume. After the flavor is selected, the user can define the size and storage back-end for their block devices (volumes). The image-defined minimum size is prepopulated. Enabling “Preserve Boot Volume” will prevent the volume from being deleted when the VM is deleted, and instead cause the volume to enter the “available” state and be operable from the Volumes page or attached to other VMs. The Volume Type indicates which storage backend to use, so if there is for example a Pure Storage backend and an EMC backend, the user could choose where their volume should be created. “Ceph” is Breqwatr’s supported low-cost open-source storage backend.
- Select the Network. Virtual machines must have one or more network card assigned to them. Cloud administrators pre-configure networks, and each project will typically have its own private overlay named “
-net” automatically provisioned too. While it is often better to add secondary NICs after a VM is created, some virtual appliances such as virtual firewalls only work correctly if they have all their NICs on first boot. Use the green + button to assign additional ports to the VM on first-boot. - Select the Name. The name of the VM is auto-generated and can be changed. Most cloud images contain the cloud-init service, which will receive this name and use it to update the image’s default hostname to match the user selected VM name – thus improper domain hostnames may not be used as VM names. Once the wizard is complete, the virtual machine can be created. If the storage backend is iSCSI based (traditional storage appliances), the workload will take a few minutes to come online. Ceph-backed workloads come online almost instantly
- The VM is active. Now click on the VM to gather the IP Address.
- Under Interfaces. It will show up the IP Address automatically assigned by the DHCP.
- To connect to the ssh to the instance.
(env) demo@MacBook-Pro ~ %ssh ubuntu@10.106.4.40
- Now you are connected to the Instance.