Openstack Create projects and virtual machines
The newest study OpenStack knowledge, because uses in the company new project, then learns how to create the project on the net, here records, hoped also can help everybody.
Regular tutorials: Running an Instance
Create a project
1. Click on the left Identity–>projects and click on the top right of the panel to create the item
2. Create a project that belongs to you and adjust the resources you need in the quota
Create a user
1. Click on the left Identity–>users, and click on the top right of the panel to create users
2. Set password, project and other information
This allows you to exit from admin and play with your own users.
3. Create the key and save it to your host for SSH
To create a virtual machine
1. Click on the project–>compute–>instance on the left to create the virtual machine in the upper-right corner
2. Fill in the virtual machine information
Set some parameter information, mainly remember to select the key pair just created. In addition, in the configuration script to change the password, otherwise the root password will be unknown, more convenient method of change do not know.
#!/bin/sh
passwd root<<eof
123456
123456
EOF
The following appears to have been created well
3. Bind floating IP
4. Now you have the host, but currently can not be remote. Need to add your own access rules, ICMP,TCP, etc.
We can finally ssh.
In your terminal:
SSH centos@172.18.31.xx-i *.pem (your key pair) can also be switched to root. After that you can do anything just like the other way of installing CentOS. After any problem solved as CentOS. such as configuring DNS.
Thank you for reading, I hope to help you, thank you for your support for this site!