• cdk-ecr-sync: Sync Docker images to improve availability and save costs

    In the last years, Docker Hub became the the world’s largest library and community for container images. But if you use it wrong it can have negative effects on your availability and cause some unnecessary costs. To address this, I created a high-level CDK Construct which can be used to...


  • Deep dive on load balanced ECS Service deployments with CloudFormation

    Being able to continuously deploy your application is an important part of your success. For ECS based applications there are not only multiple ways to deploy but also several options like container health checks, grace periods, container dependencies, and ALB health checks to adjust the behavior. The goal of this...


  • CloudFormation Resource Providers - A Chicken and Egg Problem

    The first service I used on AWS was actually CloudFormation. It’s a great way to handle your resources based on some configuration. Over time, the desire grew to configure all other SaaS providers in the same way. And with CloudFormation Resource Providers it’s finally possible. In the first part of...


  • Hey CDK, How can I use tags in my custom constructs?

    Tags are quite useful to assign metadata to your resources like service name, owning team, or criticality (Strategies are explained here). More and more AWS services are supporting them and also CloudFormation support is becoming better. Another use case is attribute-based access permissions. In CDK tags are a special kind...


  • ECS - Migrate from EC2 to Fargate

    Are you tired of maintaining your ECS cluster? Regular updates of the AMI, challenges with auto scaling, automated draining, and so on… It’s time to migrate your ECS Services from EC2 to Fargate! This is a checklist of things you have to consider and change when you want to migrate...