Openstack Create projects and virtual machines details _openstack

Source: Internet
Author: User
Tags ssh

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.