Skip to content

Collection of workshops to learn how to use OpenStack

Notifications You must be signed in to change notification settings

pgaxatte/openstack-workshops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a collection of workshops to learn how to use OpenStack on OVH Public Cloud (although it can be adapted easily to different cloud provider using OpenStack).

The workshops are organized as follows:

  1. Basic resource management: simple manipulation of resources

    • 01a: List flavors, images, create a keypair and boot an instance
    • 01b: Create, attach and detach volumes
    • 01c: Create networks, subnets and ports, attach and detach ports to/from instances
  2. Advanced resource management: more complex manipulation of resources

    • 02a: Create and restore snapshosts of instances and volumes
    • 02b: 50 shades of disruption
    • 02c: Manage the security rules of the instances
  3. Orchestration with Heat: manage infrastructure the DevOps way

    • 03a: Introduction to Heat Orchestration Templates
    • 03b: Deploy a multi-tiers infrastructure with Heat

Prerequisites

For guided labs

Before beginning the workshops, the following elements should have been communicated to you:

  • the address of the lab server
  • the password of the lab user (named student)

Connect to the container

With this information you can connect to the bounce server:

ssh student@XXX.XXX.XXX.XXX

Follow the instructions by providing a username of your choice.

You are now logged in.

Load the credentials

Load the credentials to access your cloud project

cat openrc
source openrc

Check that you have sufficient quotas to complete the workshops:

openstack quota show

Which should display a table containing the following information:

+----------------------+----------------------------------+
| Field                | Value                            |
+----------------------+----------------------------------+
| backup-gigabytes     | 1000                             |
| backups              | 10                               |
| cores                | 20                               |
| fixed-ips            | -1                               |
| floating_ips         | 0                                |
| gigabytes            | 20000                            |
| gigabytes_classic    | -1                               |
| gigabytes_high-speed | -1                               |
| health_monitors      | None                             |
| injected-file-size   | 10240                            |
| injected-files       | 5                                |
| injected-path-size   | 255                              |
| instances            | 20                               |
| key-pairs            | 25                               |
| l7_policies          | None                             |
| listeners            | None                             |
| load_balancers       | None                             |
| location             | None                             |
| name                 | None                             |
| networks             | 20                               |
| per-volume-gigabytes | 4000                             |
| pools                | None                             |
| ports                | 40                               |
| project              | fc55e5...                        |
| project_name         | 578385...                        |
| properties           | 128                              |
| ram                  | 40960                            |
| rbac_policies        | 10                               |
| routers              | 0                                |
| secgroup-rules       | 1000                             |
| secgroups            | 100                              |
| server-group-members | 10                               |
| server-groups        | 10                               |
| snapshots            | 40                               |
| snapshots_classic    | -1                               |
| snapshots_high-speed | -1                               |
| subnet_pools         | -1                               |
| subnets              | 20                               |
| volumes              | 40                               |
| volumes_classic      | -1                               |
| volumes_high-speed   | -1                               |
+----------------------+----------------------------------+

The minimum quotas that you will need for the workshops are:

  • cores >= 6
  • gigabytes >= 100
  • instances >= 6
  • key-pairs >= 1
  • networks >= 2
  • per-volume-gigabytes >= 10
  • ram >= 25000
  • snapshots >= 6
  • subnets >= 4
  • volumes >= 10

🎆 Congratulations you are now ready to use OpenStack and complete the workshops.

For other usage

For anyone else wanting to try this, you need:

  • a valid OVH Public Cloud project
  • a user on this project
  • an openrc file for this user
  • a terminal with the openstack CLI installed or use the terminal app integrated in the OVH manager.

About

Collection of workshops to learn how to use OpenStack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published