“Ubuntu 16.04 LTS Openstack Cloud Server – part 6/8”

ubuntu-16-04-lts

THE CANONICAL DISTRIBUTION OF OPENSTACK

The starting point our lab is the following:

Screen Shot 2017-07-21 at 12.46.16

This article will demonstrate how to launch the first Openstack instance.  In order to launch the Openstack instance we need to create a new network security group, rule & a key pairs  we’ll use to access to instance from our network. On this new rule we will add the SSH and the Ping protocol. Note that once we have download the key pair , there is no way to download it again due to security reason.

1 STEP – CREATE AN IMAGE ON OPENSTACK

It’s time to create an new image of using to our instance, this task is done using one of the following image:

  1. CentOS 7 – http://cloud.centos.org/centos/7/images/
  2. CentOS 6 – http://cloud.centos.org/centos/6/images/
  3. Fedora 23 – https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/
  4. Ubuntu – http://cloud-images.ubuntu.com/
  5. Debian – http://cdimage.debian.org/cdimage/openstack/current/
  6. Windows Server 2012 R2 – https://cloudbase.it/windows-cloud-images/#download

for our lab we’ve used

https://cloud-images.ubuntu.com/xenial/current/

the file is that:

xenial-server-cloudimg-amd64-root.tar.gz

Once we’ve download that, we can proceed with the following task, remember that we’re using the bundle of Openstack LXD:

 

Screen Shot 2017-07-21 at 13.09.32

2 STEP – CREATE A SECURITY GROUP

After that we need to make the login with our user rm@mail.com

screen-shot-2017-05-29-at-17-34-24

its own network after we’ve configured that via admin user, will be that

Screen Shot 2017-07-21 at 13.27.58.png

Now goto back to Juju gui and apply this modification on Neutron-Api. Ensure that within neutron-api charm, “neutron-security-groups” is set to True, ash shown here:

save and deploy the new configuration, now we can proceed with the rest. Navigate to Project ->Compute -> Access & Security on Openstack and create new one:

Screen Shot 2017-07-21 at 15.08.02

Once the group has been created successfully, Click on “Manage Rules” .

now adding a rule to permit ssh & ping from anywhere to the instances. The new Group Security Rules will be that:

Screen Shot 2017-07-21 at 15.08.22

3 STEP – CREATE U1604PRO ROUTE

For our rm@mail.com user the network topology at the moment is the following

Screen Shot 2017-07-21 at 15.09.59

now navigate Project -> Network -> Routers on Openstack. We’ll call it “router”

Screen Shot 2017-07-21 at 15.21.08.png

add its new interface,

Screen Shot 2017-07-21 at 15.24.41.png

The sixth part is done see you to next one.

<- part 5/8 . part 7/8 ->


“cya to the next 1…. Njoy !”
bye dakj

Disclaimer: All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.

“We learn from our mistakes”

Advertisements