]>
Launch and manage instances Instances are virtual machines that run inside the cloud. You can launch an instance from an OpenStack image. The OpenStack Image Service provides a pool of images that are accessible to members of different projects. You can also launch an instance from an image that you have copied to a persistent volume. The instance boots from the volume, which is provided by nova-volume through iSCSI. When you launch an instance from a volume, especially note the following steps: To select from which volume to boot, launch an instance from an arbitrary image. The image you select does not boot. It is replaced by the image on the volume that you choose in the next steps. To boot a Xen image from a volume, the image you launch in must be the same type, fully virtualized or paravirtualized, as the one on the volume. Select the volume or volume snapshot from which to boot. Enter a device name. Enter vda for KVM images or xvda for Xen images.
SSH in to your instance To SSH into your instance, you use the downloaded keypair file. The username is ubuntu for the Ubuntu cloud images on TryStack. Copy the IP address for your instance. Use the SSH command to make a secure connection to the instance. For example: $ ssh -i MyKey.pem ubuntu@10.0.0.2 At the prompt, type yes.
Track usage for instances You can track usage for instances for each tenant, also known as a project. You can track costs per month by showing metrics like number of VCPUs, disks, RAM, and uptime for all your instances. Log in to the OpenStack dashboard, choose a project, and click the Overview category. To query the instance usage for a month, select a month and click Submit. To download a summary, click Download CSV Summary.
Create instance snapshots Log in to the OpenStack dashboard, choose a project, and click the Instances category. Select the instance from which to create a snapshot. From the Actions drop-down list, select Create Snapshot. In the Create Snapshot window, enter a name for the snapshot. Click Create Snapshot. The Images & Snapshots category shows the instance snapshot. To launch an instance from the snapshot, select the snapshot and click Launch. Proceed with .
Manage an instance Log in to the OpenStack dashboard, choose a project, and click the Instances category. Select an instance. In the More drop-down list in the Actions column, select the state. You can resize or rebuild an instance. You can also choose to view the instance console log. Depending on the current state of the instance, you can choose to pause, resume, suspend, soft or hard reboot, or terminate an instance.