OpenStack is often seen as a way to create a private cloud but it is equally important as an overall Infrastructure as a Service or Data Center management software. This article focuses on the private cloud aspect of OpenStack since most research starts on how to set up private cloud with OpenStack.

We can cover more information on how OpenStack fits into Data Center management in another post. For now we will focus on the typical installation of OpenStack.

For people just starting please check out “What is OpenStack?” first. If you need to move fast, we suggest our hosted OpenStack private cloud.

How to Create a Private Cloud Using OpenStack

There are a few questions that will help you narrow down the path you might want to take. First though, its important to clarify that there are many parts of OpenStack that handle different situations. These part of OpenStack are called Projects. You do not need to learn about all Projects at this time to get started creating a cloud.

The number of Projects can be daunting, but in a typical starting setup to learn how to implement OpenStack you will only use the following plus maybe one or two more based on your situation:

With that out of the way, the next question. Are you learning how to build a private cloud with OpenStack for educational purposes or because your company will need a cloud in the near future?

I am just learning to build an OpenStack Cloud for fun/education

Since you are creating a cloud for education we generally recommend that you use an emulation system. It is an OpenStack in a VM where the VM has special settings to allow for “VMs in a VM”. Running OpenStack in a VM is not performant – as you might imagine! It will let you understand how all these Projects work together though. We have used this here at InMotion for training purposes. Please see our Learn OpenStack on a VM guide for more information.

We do allow a limited amount of individual use, for free, of a Private Cloud Core. You can create a private cloud in about 45 minutes and use it for up to 8 hours per deployment, 3 times per month. We do ask that you use this sparingly if it is purely for educational purposes. Sign up here and you will need to answer some questions to be authorized as the value of the clouds can run in the $1500+ per month so we get a significant amount of attempted abuse.

I want to build a private cloud using OpenStack for my company

You have a mission! Your company is looking for an alternative to high priced mega cloud providers. OpenStack is one of the most robust and supported pieces of software online, period. Only a few softwares, like Linux itself, has a larger and more active community.

As a leader in on-demand private cloud, which is built with OpenStack, we hope that you will take a look at our OpenMetal Hosted OpenStack. You can be up and running in as little as 45 seconds with a prescriptive OpenStack that allows for efficient Day 2 operations. It also comes with HA Ceph for storage. All hyper-converged on 3 servers to get started so it is low cost to learn before going to production. If your company qualifies, you can actually create a private cloud for free on our system. Learn more about leveraging on-demand private clouds for your organization.

Have Questions?      Chat With Us

With that out of the way, if you are still here, then you are interested in the challenge of creating a private cloud with OpenStack manually.

What is On-Demand OpenStack Private Cloud?

Show Me!

How to Get a Proof of Concept Cloud Running Right Away

A complete OpenStack installation takes expertise in server hardware, front and back LAN networking, IPMI networking, routing, virtualized routing and switching, Hypervisor/Virtualization, storage principles, API usage, deployment automation/code like Ansible, and more.

Your team will be required to learn a lot of things and you need a place for them to start. We highly recommend that your team starts with a prebuilt system from us or one of the other OpenStack providers. We believe it so strongly that we provide our “Private Cloud Core” for free for non-production use. Restrictions apply and if you do not expect to buy from us for your production needs, then your access to free time will be prioritized behind paying customers.

If you are going to make a private cloud lab, here are some recommendations:

  • Use three identical servers – this will allow you to use Ceph easily as your Storage provider and setup OpenStack with a highly available control plane. Identical is not required but it will make your life easier for things like balancing VMs, doing live migrations which require matching CPU flags, and various other things.
  • Route a /27 or /28 of public IP space to the VLANs where you are going to put the above boxes. Public IP space will make your testing and assembly of the cloud easier. A 1Gbit connection is enough, but a 10Gbit connection makes life easier. Ideally, you should use a bonded NIC up to two separate ToRs that support MLAG. This will mean you learn the complexities of HA networking as solid network performance is an absolute must for good cloud performance.
  • Don’t try to automate the setup of the hardware using Ironic or Bi-Frost. Just get your OpenStack and Ceph running and come back to automation of the underlying hardware. For sure Ironic is one of the super-powers of OpenStack, but with great power comes great complexity!
  • Use Kolla-Ansible and Ceph Ansible for deploying – and setup your Ceph on the servers first before your OpenStack as then you can supply the right configs to OpenStack to use Ceph for Block and Object Storage right away
  • When building your own OpenStack cloud, it is important to remember that the strength of your network is paramount. This is not specific to OpenStack but when you create a private cloud from any common Cloud system.  If the network fails or performs poorly there are no end of troubles.  Spend extra time on this.  Also, note that since OpenStack will create safely separated private network through VxLAN, you must allow for the VxLAN overhead by setting your MTU of the “physical” devices above the standard used by the normal IP packet.  Think 1550 versus 1500 or 9080 versus 9000 – but see your switches manual for what they allow.

Next I will continue to add additional information to the following list:

With private cloud surging in popularity, we believe making OpenStack accessible is key – for more information check out Why is OpenStack Important for Small Business.

OpenStack, But Easy

Launch a Cloud in 45 Seconds >>