Latest posts from our team. Stay up-to-day with news and new features, see if we can help with common problems and see how we solved our clients issues.

Complete code: cross-region RDS recovery

December 28, 2017 by Paulina Budzoń

After posting the previous post on this topic (Copying RDS snapshot to another region for cross-region recovery) , I noticed a lot of people being interested in using the code I provided as an example. Many were not sure how to make use of it, and after a couple of pull requests it became obvious that a complete, fully-working code and CloudFormation template would be a good idea. So, yesterday, I pushed an update to aws-maintenance repository with a fully working code, which you can easily customize via CloudFormation parameters to match your needs.

Continue reading

Sharing encrypted AMIs between AWS accounts (using Python and boto3)

November 2, 2017 by Paulina Budzoń

Each Amazon Machine Image (AMI) holds information of the volumes and snapshots of those volumes that should be attached to instances created from that AMI. To protect the data on those snapshots, you can choose to encrypt them using KMS. Encrypting your data at rest is generally a good idea, though many companies choose to avoid encrypting their snapshots, because sharing such snapshots between different AWS accounts (for example, Test and Production accounts) can be difficult. That’s why I’m sharing details on how to make this as easy as possible (and automated!).

Continue reading

Enabling global API Gateway stage logging using CloudFormation

July 18, 2017 by Paulina Budzoń

Enabling logging in API Gateway for your stage is fairly easy. You go into the Console, setup a role for API Gateway to use for logging, find the stage and enable logs. It will enable logging for all methods within that stage. Doing the same configuration using CloudFormation is not completely obvious though, as the stage object’s MethodSettings property seems to allow you to only do that for a specific resource and method.

Continue reading

Using Magical Dictionaries to manage long CloudFormation templates with Troposphere

July 5, 2017 by Paulina Budzoń

When deploying infrastructure with CloudFormation, at some point you will reach a moment when your CloudFormation JSON or YAML file is just too big. It will be too long to get a good overview of what’s in it, manage parameters and all dependencies between resources within the template. Nested stacks may be a solution, but if sometimes you can’t/won' t/don’t use them for whatever reason (for example, it will get to complicated to manage tested stacks or their contents are not reusable between other stacks).

Even if you’re using troposphere to generate your templates, you’ll face the same issue - a very long Python file. Luckily, if you are using troposphere, you’re inherently using Python - which means you can take advantage of it.

Continue reading

Want to get in touch? Meet us at events this month!

June 9, 2017 by Paulina Budzoń

Fancy getting in touch with us? Have a question or what to know a bit more about our work? June is the month of conferences in London, and we will be attending them! Here are the details where and when to meet us:

Continue reading