Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

OpenStack Cloud Orchestration Pt. I: From Manual to Automated Deployment

DZone's Guide to

OpenStack Cloud Orchestration Pt. I: From Manual to Automated Deployment

Learn about the difficulties of deploying apps in the cloud, how orchestration tackles some of these issues, and how Docker can make orchestration easier.

· Cloud Zone
Free Resource

Deploy and scale data-rich applications in minutes and with ease. Mesosphere DC/OS includes everything you need to elastically run containerized apps and data services in production.

Most software deployments are more complicated than the actual application being deployed. Usually, when we talk about an application, we’re talking about something very simple; some server-side scripting language-based application and a backend database instance. However, when it comes to deploying this application, things become a bit more complicated, because of requirements like security, monitoring, recoverability and other such considerations.

On top of this, each deployment also probably requires coordinating any number of elements, such as:

  • Hostname provisioning
  • Network creation
  • HTTP proxy
  • Automation scripting
  • Local repository mirrors

Many companies have invested in entire data centers and IT teams to systematically handle the deployment process, both of which are aging.

Deploying applications in the cloud is notably simpler - it takes both less time and less manpower, where freeing up both to work on more interesting things is the ultimate goal.

Many new products are entirely cloud-based and vastly more advanced than applications that aren’t yet five years old.

Most organizations are transitioning to the cloud often based on OpenStack environments, due to its open nature, but still have at least one foot planted in a traditional data center. They may be bogged down by bureaucracy, but they have a lot of brains on their payrolls.

These organizations are looking for something like this, albeit much more complicated:

The topology of the application is essentially:

  • Application endpoints in two regions in an IaaS (such as OpenStack)
  • Database hosted in an internal data center
  • DNS server hosted in an internal data center

But certain expensive projects stand between reality and this end goal. For example, enabling DNS servers to interact with IaaS or moving application endpoints to IaaS. Each such project can involve several departments, approval processes, and QA tests at the very least.

Putting portable cloud orchestration tools in the hands of the “human swiss army knives” of the world will enable organizations to migrate from their aging hardware swiftly and systematically.  Normally, orchestrators centralize the design and management of application deployments, which is akin to the importance of a project manager role in software deployment.

Such a scenario, again simplified, would look like this:

There are many orchestration tools out there, and each one has a unique approach to how it treats applications and application deployments. (And if you’d like to learn more about this, you can catch our team’s talk on just this from OpenStack Vancouver - “Orchestration Tool Roundup” - where they dive into the differences and synergies of the different tooling, and how to choose the right tool for the job).

The majority are cloud-specific, which means that once you invest in learning how to use one, you’re pretty much stuck to the cloud provider that comes with it.  For example, once you are established with OpenStack, moving to Cloudstack would be a complicated and lengthy undertaking.

New tools are available that not only work on a multitude of platforms, but also work well together.

Docker is a wonderful tool because it enables you to create super-portable everything-included application containers, and their new tools Docker Machine and Docker Swarm, enable you to easily install Docker machines and clusters of containers in a variety of environments with simple commands. Essentially simplifying this even more.

Orchestrating with Docker is a nice way to work because with it you can roll up all of the logic of the application packaging, including its environment, and separate it from the infrastructure deployment.

In the next post, I will take the above and outline a practical example, and demonstrate how to orchestrate workloads in a hybrid environment - of traditional and cloud infrastructure - using Docker and OpenStack through a microservices use case. 

Discover new technologies simplifying running containers and data services in production with this free eBook by O'Reilly. Courtesy of Mesosphere.

Topics:
cloud ,orchestration ,docker ,containers ,automation ,deployment ,openstack

Published at DZone with permission of Cloudify Community, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}