Infrastructure as Code

Optional Parameter in CloudFormation

Sometimes you want a CloudFormation Parameter to be optional. Unfortunately a blank Parameter contains an empty string. If you pass this empty string to e.g. the KeyName Property of an EC2 Instance or Launch Configuration you end up with a validation error. Imagine the following CloudFormation template: { "AWSTemplateFormatVersion": "2010-09-09", "Description": "Optional Parameters in CloudFormation: Problem", "Parameters": { "KeyName": { "Description": "Provides the name of the...

Rolling Update with AWS CloudFormation

Rolling Update with AWS CloudFormation

Updating all EC2 instances in an Auto Scaling Group becomes complex and expensive when done manually. If you follow the immutable infrastructure approach you will roll out a new version by creating new EC2 instances. You never change the old instances. ...

CloudFormation vs Engineers: How to protect your CloudFormation managed AWS account from human intervention

To eliminate human error as much as possible I advised you to follow the idea of Infrastructure as Code implemented by AWS CloudFormation. Changes to your infrastructure like launching a new virtual server or making changes to a firewall configuration are no longer done manually. Instead you change the description of your infrastructure and let CloudFormation apply the changes.A common problem with CloudFormation are manual changes to resources managed by CloudFormation. A manual change to your AWS accou...

Understanding Infrastructure as Code

Understanding Infrastructure as Code

Infrastructure as Code describes the idea of using a high level programming language to control IT systems. In software development, tools like automated tests, code repositories and build servers are increasing quality of software engineering. If your ...


Amazon Web Services in Action

Amazon Web Services in Action introduces you to computing, storing, and networking in the AWS cloud.

Customer Reviews:

Subscribe to free monthly updates by email.


Subscribe for free