Custom Cloud Construction

In my previous blog series, Evolution of a Custom Cloud, I went over how our base design for a custom cloud has improved and how we setup our current VPC network architecture.


The current design combines high availability in multiple AZ’s, while allowing for a DMZ and private network. See the below diagram.

VPC Architecture

While this design is flexible and fits most of our client’s needs, it was being constructed by hand. With the many different parts, the process is prone to errors and can takes several hours to build and test. We needed a better way to create our Clouds.

 

Enter AWS CloudFormation. CloudFormation uses JSON and user input to define new AWS resources. It then will instantiate the resources automatically and consistently every time it is run.

 

There are several advantages to using AWS CloudFormation.

  • CloudFormation logs the creation process, keeping track of errors or warnings.

  • You can update a cloud formation json file and upload it to perform an update to an existing environment. When you do this, it keeps track of changes and if an error occurs, it can roll back to the old version.

  • Cleaning up a test or dev environment is as simple as deleting the CloudFormation. Once done, all resources it manages are also deleted.

  • Consistent and less error prone.

  • Takes about 2 minutes to do what previously took several hours.

Below is a copy of the json file we have been testing to generate a VPC.

vpc_build.sjson_.gz

*This currently only runs in the US-WEST-2 region, but can easily be modified to run in any region.

 

 

 

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <cpp>, <java>, <php>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.

About the Author

Nathan Wilkerson, Cloud Operations Manager

Nathan started building computers, programming and networking with a home IPX network at age 13. Since then he has had a love of all things computer; working in programming, system administration, devops, and Cloud Computing. Over the years he's enriched his knowledge of computers with hands on experience and earning his AWS Certified Solutions Architect – Professional.

Recently, Nathan has transitioned to a Cloud Operations Manager role. He helps clients and internal teams interface with the Cloud Team using the best practices of Kanban to ensure a speedy response and resolution to tickets.

Ready for transformation?