Updating our CloudFormation template

Our goal is to change our current template so that we go from connecting to a simple EC2 instance to a model where we connect to an ELB, which will be connected to an Auto Scaling group allowing us to easily add and remove instances to scale up or down our cluster.

We will edit our troposphere script nodeserver-cf-template.py created in Chapter 4, Adding Continuous Integration and Continuous Deployment. Open the script in your editor. We will start by adding our ELB.

Before we start adding those resources to our template, we will first remove the instance creation blocks.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset