Cloud computing has become very popular recently. Part of the reason for this popularity is that it provides great flexibility allowing complete control of the computing environment. In addition the environment can be copied, backed up, created and recreated in an automated way. In this lesson we will take the next step in learning to use OpenStack clouds and introduce the OpenStack Command Line Interface (CLI). This CLI allows you to perform the same tasks as you would normally with on the OpenStack Dashboard, but from the command line allowing some amount of automation through scripts. In addition the OpenStack CLI allows you to gain information and perform tasks that you can not simply by using the OpenStack dashboard.
This course assumes you have taken our Introduction to cloud course or have similar experience.
Prerequisites
- Make sure you have performed the required setup before the workshop begins.
- You will need to have your own laptop or desktop on which you can install the required software (see the setup for more details).
- Students should be comfortable working with computer file systems. They should know how to create and delete directories and files on their own personal computer.
- Software Carpentry’s Unix Shell, or similar experience is required.
Day 1 | 13:00 | Introduction |
What is the OpenStack CLI?
Why use the OpenStack CLI? Are their things the OpenStack CLI can do that the Web Dashboard can’t? |
13:15 | Installing CLI |
How do you install the OpenStack CLI?
How do you authenticate with an OpenStack cloud? |
|
13:35 | Creating a Keypair |
How can I see what OpenStack commands are possible?
How can I get more information about a particular OpenStack command? How do you create a keypair? How do you use the OpenStack CLI to upload a public key to your cloud? |
|
13:55 | Creating a virtual machine |
How do you create a virtual machine using the OpenStack CLI?
How do you find out which flavors, images, and networks are available? How do you check on the status of a virtual machine? |
|
14:15 | Creating a volume image |
What is a volume snapshot?
What is a volume image? What happens when I create a snapshot of a virtual machine? |
|
14:35 | Backups |
Should software and data be treated similarly with backups?
Can software “backups” be more future proof? What are some good tools for backing up data? Is there a convenient place to store backups? |
|
14:55 | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.