Skip to content
VirtualLP Virtual Learning Platform
OpenStack intermediate

Multi-tenancy and quotas with the OpenStack CLI

As cloud admin, onboard a new tenant from the command line – project, user, role and quotas – then work as that tenant, build self-service networking and watch Nova enforce the instance quota.

What you'll do

  • Authenticate the CLI with an openrc file
  • Create projects, users and role assignments
  • Set and inspect quotas
  • Build a tenant network, subnet and router
  • Observe quota enforcement

Lab tasks

  1. 1 Load admin credentials
  2. 2 Create project finance
  3. 3 Create user ravi
  4. 4 Give ravi the member role on finance
  5. 5 Limit finance to 2 instances and 2 cores
  6. 6 Work as ravi in finance
  7. 7 Create network fin-net with subnet 10.50.0.0/24
  8. 8 Route fin-net to the public network
  9. 9 Launch two instances
  10. 10 Hit the quota with a third instance