OpenStack
CC-P07 intermediate
Practical 7: FOSS-cloud IaaS – provision a virtual server with block storage
Use OpenStack, the leading open-source IaaS cloud, to provision a virtual server instance with chosen CPU, RAM and disk, create a block-storage volume, attach it, then format and mount it inside the instance and report usage.
What you'll do
- Choose a flavor (vCPU/RAM/disk) and launch an instance
- Create and attach a Cinder block volume
- Format and mount the volume inside the instance
- Report resource usage of the project
Lab tasks
-
1
Create key pair
vsi-key -
2
Allow SSH and ping in the
defaultsecurity group -
3
Launch instance
vsi-01with flavorm1.small -
4
Associate a floating IP with
vsi-01 -
5
Create a 2 GiB volume
vsi-data -
6
Attach
vsi-datatovsi-01 - 7 Log in to the instance
- 8 Create a filesystem on the volume
-
9
Mount it at
/mnt/data - 10 Report storage usage