OpenStack Private Cloud on Your Laptop with DevStack Guide


OpenStack on Your Laptop with DevStack is a complete with needed for setup of private Cloud using your laptop as Bare Metal. We told you to get your Ubuntu to ready for Private Cloud ! There is not to much to say about this guide on OpenStack Private Cloud on your Laptop with Dev tack Guide, the word ‘laptop’ in title we hope will make people more interested. Total cost is zero up to the point we have shown you. OpenStack Private Cloud is deployed with DevStack using your computer / laptop as bare metal like a data center.

 

OpenStack Private Cloud on Your Laptop with DevStack Guide : Requirements

 

The requirement is thin. An Ubuntu back version (11.x) is suggested, we took the risk with Ubuntu 12.04 LTS (we basically modified few files that made Ubuntu crazy a bit, seriously do not use 12.04 for Dev ) on a Laptop with 2 GB RAM. It was a good laptop once. Officially you can check Github for more info on DevStack before seriously starting the project OpenStack Private Cloud on Your Laptop with DevStack :

 

https://github.com/cloudbuilders/devstack

 

OpenStack Private Cloud on Your Laptop with DevStack : Requirements

 

First the Ubuntu must be of minimal setup. Second is, the connection, Router etc. should be clean and have a Static IP, proper DNS etc. Third is, install the needed components to make it a LAMP server, if you are hesitating with commands, you can read this guide. We will take that you already know the Debian specific UNIX commands. The reason to use DevStack instead of OpenStack are various. OpenStack can be deployed with low (relatively) RAM too, but networking mode is important. Basically we have installed server components on Ubuntu, so it has become Server with GUI.

In your BIOS settings, you need eth0 and eth1 . In the video you will , we have first installed :

 

sudo apt-get install bridge-utils # install birdge

 

Here is the reference for the command :

 

https://help.ubuntu.com/community/NetworkConnectionBridge

 

Then we opened the Interfaces config file and there are onscreen instructions to find the data easily, we used :

 

vi /etc/network/interfaces

 

We used gksudo gedit command to open it in Gedit as read and write enabled file. Classically it should look like this after Editing (except the IPs) :
 

 


# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.11.12.13
netmask 255.255.255.255
network 10.11.12.13
broadcast 10.11.13.12
gateway 10.12.13.11
auto br100
iface br100 inet static
bridge_ports eth2
bridge_stp off
bridge_maxwait 0
bridge_fd 0
address 200.200.200.1
netmask 255.255.255.255

 

200.200.200.1 is your Private IP. Then we installed git :

 

sudo apt-get install git

 

Cloned the DevStack repo :

 

git clone git://github.com/cloudbuilders/devstack

 

Went to devstack (cd devstack) and opened the localrc file :

 

vi localrc

 

Unofficially this should be added :

 

PUBLIC_INTERFACE=eth0
FIXED_RANGE=200.200.200.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=10.11.13.12/24
NET_MAN=FlatDHCPManager
FLAT_NETWORK_BRIDGE=br100
VIRT_DRIVER=libvirt
LIBVIRT_TYPE=kvm
SCHEDULER=nova.scheduler.simple.SimpleScheduler

 

Deploying is by using ./stack command. As like many Beta Products (if you are an user like us), do not use symbols but numbers, letters etc. up to 8. Go to your IP on (delete any Apace2 html file like things from www folder) :

 

OpenStack Private Cloud on Your Laptop with DevStack Guide

 

You will get the OpenStack panel. It reminds me of old Rackspace mail server GUI. The options are also quite familiar. Instances and services are two important things which you must understand clearly for OpenStack Private Cloud setup.

With direct OpenStack Private Cloud , there is no pain of so much CLI commands. As you actually need no big config Cloud Server to add, you can do a practice with this kind of setup. Otherwise this way to setup is actually not for real usage in deployment field. It is actually not enough stable.
Signature


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave Lame Behind - Get Engaged

Here’s what we’ve got for you:

Contact Us Today for Smarter Marketing of Knowledge

See each of the premium resources below:

For Publishers and Content Owners

Do you want to optimize your available content?

Do you want to increase the visibility of your content?

Do you want to increase your reliability as an Author?

Do you want your next or existing project to be technically planned?

If your answer to any of these is YES contact us with your approximate budget.

Contact Us Today

For the Media Companies and Advertisers

You must be seeking a publisher website like ours with real content to give an exposure to your client's business?

We provide Industry's Standard opportunities for advertisement.

Do you want some promotion that comes with proper invoicing, SLA on per annum basis?

If your answer is YES contact us today for a quote.

Contact Us Today for Quote

Comments

Mentions

  1. Private Cloud on Your Laptop with DevStack says:

    [...] OpenStack Private Cloud on Your Laptop with Dev Stack Guide. [...]

  2. OpenStack Private Cloud with DevStack says:

    [...] read more- OpenStack Private Cloud on Your Laptop with DevStack [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>