After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 39 of 317

Chapter 1 29 Similar information is presented by the nova list and nova show commands. The nova list command shows a convenient short version listing the ID, name, status, and IP addresses of our instance. The nova show command provides more details similar to that of euca-describe-instances. The type of instance we chose, with the -t option for euca-run-instances, was m1.small. This is an Amazon EC2 way of naming instance types. The same type was specified as an ID of 2 when using the nova boot command. The instance types supported can be listed by running the following command (there is no euca2ools equivalent): nova flavor-list These flavors (specs of instances) are summarized as follows: Type of instance Memory VCPUS Storage Version m1.tiny 512 MB 1 0 GB 32 and 64-bit m1.small 2048 MB 1 20 GB 32 and 64-bit m1.medium 4096 MB 2 40 GB 64-bit only m1.large 8192 MB 4 80 GB 64-bit only m1.xlarge 16384 MB 8 160 GB 64-bit only Terminating your instance Cloud environments are designed to be dynamic and this implies that cloud instances are being spun up and terminated as required. Terminating a cloud instance is easy to do, but equally it is important to understand some basic concepts of cloud instances. Cloud instances such as the instance we have used are not persistent. This means that the data and work you do on that instance only exists for the time that it is running. A cloud instance can be rebooted, but once it has been terminated, all data is lost. To ensure no loss of data, an OpenStack Compute service named nova-volume provides persistent data store functionality that allows you to attach a volume to it that doesn't get destroyed on termination but allows you to attach it to running instances. A volume is like a USB drive attached to your instance. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook