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 DigitalOcean to automate the provisioning and auto-scaling of Weave-enabled clusters consisting of distributed Droplets.
In this blog, we will go over the automated infrastructure provisioning on DigitalOcean as well as the automated deployment and lifecycle management of a multi-tier application.
First, a user can register a Cloud Provider for DigitalOcean by navigating to Manage > Repo & Cloud Provider and then clicking on the + button to select DigitalOcean. The DigitalOcean Access Token needs to be provided – which can be retrieved from the API section of the DigitalOcean console.
- 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
A user can select an Environment Tag (like DEV or QE) and the Data Center created for DigitalOcean before clicking on Run.
In the recorded demo, we scaled out the application server cluster from 2 to 3. We then used the BASH plug-in to update Nginx’s default.conf file so that it’s aware of the new application server added.
Sign Up for FREE on DCHQ.io Hosted PaaS (http://dchq.io) to get access to the template & plug-ins