After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 30 of 317

Starting OpenStack Compute 20 How it works... We first create the initial user, which is an administrator of the cloud project. This admin user is then assigned elevated privileges known as cloudadmin by use of the nova-manage command. The nova-manage command is used throughout this book and is instrumental in administering OpenStack Compute. The nova-manage command must be executed with root privileges so we always run this with sudo. We then create a project for our user to operate in. This is a tenancy in our OpenStack Compute environment that has access to various resources such as disks and networks. As we are cloudadmin, we have access to all resources and this is sufficient for this section. Once the project has been created, the details of the project are zipped up ready for transporting back to the client that will operate the cloud. Installation of command line-tools Management of OpenStack Compute from the command line is achieved by using euca2ools and Nova Client. Euca2ools is a suite of tools that work with the EC2-API presented by OpenStack. This is the same API that allows you to manage your AWS EC2 cloud instances, start them up and terminate them, create security groups, and troubleshoot your instances. The Nova Client tool uses the OpenStack Compute API, OS-API. This API allows greater control of our OpenStack environment. Understanding these tools is invaluable in understanding the flexibility and power of cloud environments, not least allowing you to create powerful scripts to manage your cloud. Getting ready The tools will be installed on your host computer and it is assumed that you are running a version of Ubuntu, which is the easiest way to get hold of the Nova Client and euca2ools packages ready to manage your cloud environment. 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