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 Load admin credentials
-
2
Create project
finance -
3
Create user
ravi -
4
Give
ravithememberrole onfinance -
5
Limit
financeto 2 instances and 2 cores -
6
Work as
raviinfinance -
7
Create network
fin-netwith subnet 10.50.0.0/24 -
8
Route
fin-netto the public network - 9 Launch two instances
- 10 Hit the quota with a third instance