Philipps Blog
Living in Bavaria. Working in the Cloud. AWS Container Hero
-
Hey CDK, how can I use a tarball as Docker image asset?
With assets, the AWS CDK provides an easy way to build Docker images based on a Dockerfile. But sometimes, Docker images are built natively by other tools (e.g. jib). How can they be integrated as native container image assets into your stack? Since version 1.113.0 it’s possible to use tarballs...
-
Hey CDK, how can I upload a stack template to S3?
Most of the time, CDK hides it very well that behind the scenes a CloudFormation template is synthesized and used for deployment. But sometimes it’s necessary to have a CloudFormation template on S3. Think about StackSets or ServiceCatalog products. As CDK user, you might want to use BucketDeployment and think...
-
Hey CDK, how can I secure my Fargate Service with ALB authentication?
There are many use cases where you want to allow only authenticated users on your website. For example internal CI/CD tools, monitoring tools, or documentation sites. Application Load Balancer (ALB) provides a managed way to authenticate users either by Cognito or OIDC. Unfortunately, this topic does not get many attentions...
-
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...