-
Notifications
You must be signed in to change notification settings - Fork 0
openstack setup tenant
Ryan Liang edited this page Oct 16, 2018
·
1 revision
- Have the account to the OpenStack env.
Open 192.168.1.254 in Chrome or other web browser.
- Navigate
Project -> Network -> Networks, clickCreate Network. - Input the network name and create a
Subnet. Suggest using private subnets like:172.16.*.*to172.30.*.*. - Input the DNS servers.
- Navigate
Project -> Network -> Routers, clickCreate Router. This router makes sure your VMs can access to external networks. - Input the router name like
router-net-ext. Select thenet-extas the external network.
- Navigate the
Interfacestab ofrouter-net-ext, clickAdd Interface. Select the network created in #1.
- Navigate
Project -> Network -> Security Groups, clickManage Rulesofdefaultgroup. To make it easy, I add several rules to allow most of ports.
- Navigate
Project -> Compute -> Key Pairs, clickCreate Key Pair. Store the private key to local path likeprivate.pem. You will need it to ssh to the created VM without password. - Copy the private key
private.pemto10.245.48.66. - Navigate
Project -> Compute -> Instances, clickLaunch Instance. SelectNotoCreate New Volume.
- Navigate
Project -> Compute -> Instances, clickAssociate Floating IPto the created VM. This makes you can access the VM easily from outside. - You can see the IP like
172.30.1.50in theFloating IPsof the VM. - On
10.245.48.66, run:eval "$(ssh-agent -s)" ssh-add ~/private.pem
- From
10.245.48.66,ssh ubuntu@172.30.1.50.