Cloudformation Best-ish Practices: Part 1

Some guideline I have discovered after a year of working with cloudformation

Elliott Gorrell

5 minute read

Cloudformation is a great way to manage the creation and updating of your resources in AWS, however there are definitely right and wrong ways to do things and gotchas that can get you into weird states if you aren’t aware of them. This guide is titled Best-ish as these are simply practices I have found to prove work well as a rookie cloud engineer and I think there are definitely practices which can be improved (#3 especially!) so feel free to leave a comment with any suggestions you have…

Beware The AWS Managed Policy

What is that AWS managed policy you are told to use really doing?

Elliott Gorrell

3 minute read

In the team I am currently working in we have AWS SSM installed on our fleet of roughly 100 machines spanning 3 environments. For those who don’t know AWS Systems Manager (SSM) is a tool which allows you to automate tasks, check configuration and perform patching across a fleet of servers (Basically a real simple version of a Chef, Puppet, Ansible Tower type of tool). We are using SSM as we currently have a lot of pets in our fleet :(… I know I know, “PETS! run for the…

merge revert != ctrl-z

Git revert is not simply an undo

Elliott Gorrell

4 minute read

Today I was asked to review and merge my co-workers pull request on a repo of VPC written in cloudformation. This was for a not yet production live application stack onsite at a client. I don’t like to make a habit of merging other peoples branches as I believe the merge should always be done by the owner. Sometimes with a simple merge complexities arise and it is better to have the person with the context doing the work (Spoiler alert - this is one of those times).