DCHQ simplifies the containerization of enterprise applications and makes it possible to replicate very complex application environments on multiple hosts through a one-click deploy button. DCHQ does not just automate the application deployments, but it also integrates with Rackspace to automate the provisioning and auto-scaling of Weave-enabled clusters consisting of distributed Cloud Servers.
In this blog, we will go over the automated infrastructure provisioning on Rackspace as well as the automated deployment and lifecycle management of a multi-tier application.
First, a user can register a Cloud Provider for Rackspace by navigating to Manage > Repo & Cloud Provider and then clicking on the + button to select Rackspace. The Rackspace API Key needs to be provided – which can be retrieved from the Account Settings section of the Rackspace Cloud Control Panel.
- host1, host2, host3, etc. – selects a host randomly within a data-center (or cluster) for container deployments
- <IP Address 1, IP Address 2, etc.> -- allows a user to specify the actual IP addresses to use for container deployments
- <Hostname 1, Hostname 2, etc.> -- allows a user to specify the actual hostnames to use for container deployments
- Wildcards (e.g. “db-*”, or “app-srv-*”) – to specify the wildcards to use within a hostname
In the recorded demo, we just scaled out the application server cluster from 2 to 3.