• Lessons in Cloudformation Fn::ForEach

    In our drama miniseries I'm going to learn some new lessons about Cloudformation Fn::ForEach loops. Not everything is as you would expect and some things can be only learned by trial and error ...
  • Multi-region filesystem for disaster recovery

    In this post I'm going to build a managed multi-region filesystem service from common household services available to anyone. You could use this for disaster recovery or expanding your service to multiple-regions, within certain constraints. But lets define first what disaster recovery is ...
  • To retain, or not to retain resources in Cloudformation stacks

    By default Cloudformation will delete a resource when the stack is deleted or resource is removed from template. Resources can also be replaced, that is deleting existing resource after new is created during stack update. When you have persistent data stored into database or disk, you would want to retain rather than delete. Resource retention can be controlled with DeletionPolicy and UpdateReplacePolicy attributes.
  • Taking Cloudformation loops for a spin

    AWS Cloudformation got recently a new feature that brought loops for templates. I wouldn't have thought in 2023 adding a loop to programming language would have been exciting announcement but it was ;-) Loops have obvious benefits in simplifying the code, especially the maintenance of it, as you don't have to repeate yourself so much. So let's take loops for a spin (pun intented) ...
  • Connecting Cloudformation with the rest of the world

    December 2020 I wrote about custom Cloudformation resource types. Back then I finished with a thought of resource type that could get attributes of resources regardless how they were created or maintained. I neved got back to this topic, until recently my colleague notified me there is now such a thing added into Cloudformation Community Registry Extensions.