- 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 ...
- 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.
- 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) ...
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.
- When the state of your IaC tooling and reality doesn't match, is the problem in reality or how the state is managed? I recently watched 2 presentations that got me writing this post about IaC and drift detection. The First one was Cloudonaut podcast where Michael Wittig described the conflict with Terraform and other tools that apply tags to resources. The Second one was Adam Jacob's "What if infrastructure as code never existed" ...