Deploy Automation and Cloud Resources: the ‘Peas and Carrots’ of DevOps
Join the DZone community and get the full member experience.Join For Free
[this article was written by josh pederson.]
recently in the electricflow 5.4 release we rolled-out dynamic cloud environments – a powerful new feature for integrating deploy automation with cloud vms. this new capability allows you to define , provision , and manage cloud vms directly from the electricflow ui, with power under-the-hood to seamlessly execute all of the necessary api calls for the target cloud platforms and configuration management tools.
let us review how deploy automation and cloud resources fit naturally together – like peas and carrots – and what this new feature allows you to do:
define once, provision repeatedly
at the core of the electricflow dynamic cloud environments solution is a simple and robust template model that allows devops teams to define each type of resource for their environment. this definition includes access credentials to either aws ec2 or openstack cloud platforms, reference to existing amis, and optional middleware configuration with chef recipes. all of the nitty gritty details of cloud resources are captured in these template definitions that are called during electricflow’s automated provisioning sequence to ‘spin up’ cloud resources on-demand.
list of resource templates within electricflow. these definitions capture the core details of individual cloud resources.
with flexibility in mind, electricflow allows for easy integration with other cloud platforms, such as windows azure or vmware vsphere, and additional middleware configuration such as puppet or saltstack. once registered within electricflow, these additional platforms and tools can become available as options within the template definitions.
modeling of environment templates allows users to define the exact specification of tiers and corresponding cloud resources for their desired cloud environment.
automated provisioning when you want it
with template definitions in place, electricflow automatically provision the defined cloud environment as part of the overall application deploy process. under the hood, electricflow reads the environment template definition and makes the necessary cloud platform api calls to provision resources as defined in the resource templates. if chef configuration is required, electricflow will first finish provisioning then call the user’s chef server to run recipes and configure middleware.
the status of each step of the overall provisioning sequence is readily available in our ‘progressive disclosure’ ui, showing users a very clear indication of their progress. once the new cloud environment has been completely provisioned and configured, electricflow will then initiate the deployment process and place application artifacts exactly where they belong on the new environment.
fine tune control of cloud vms
cloud environments by nature can be ephemeral and used to suit specific deploy scenarios in the overall release pipeline. to prevent excessive spend or overuse of physical resources electricflow users have direct access to manage their cloud environments and retire them as needed. when a qa team has gone home at the end of the day, their cloud environment can be retired and easily re-provisioned for use tomorrow. cloud resources can also be retired directly through their platform console with electricflow deploy registering the change within the product ui.
the evolution continues
the dynamic cloud environments solution has evolved from a set of plugins to a first-class feature in electricflow. this evolution will continue in upcoming product releases with support for scaling out (e.g, adding more cloud resources on-demand), resource monitoring, and support for additional cloud platforms and configuration management options. the end goal is to achieve true seamless integration of cloud resources into application release automation.
want to see a demo of electricflow’s dynamic cloud environments capabilities?
attend our upcoming webinar to see how electricflow provides seamless integration with cloud platforms and reduces the level of knowledge and effort required to define, provision, and manage cloud resources.
Published at DZone with permission of Sam Fell, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.