Amazon Linux is a Linux distribution provided by AWS specifically optimized for running workloads on AWS Cloud. This distribution, entirely managed by Amazon teams, offers very high standards in terms of security. In this article I’ll explain why I prefer a Docker image based on Amazon Linux rather than Debian to run a python workload…
Category: Docker
Authenticating your GitLab CI runner to an AWS ECR registry using Amazon ECR Docker Credential Helper π
GitLab CI allows you to run your CI/CD jobs in separate and isolated Docker containers. For maximum flexibility, you may need to run your jobs from a self-created Docker image tailored to your project’s specific needs. You can store this self-created and private Docker image in an AWS ECR registry. In this tutorial I will…
How to Run a Shell on ECS Fargate Containers π»
If you need to troubleshoot or debug your ECS Fargate containers, you may want to open a terminal on them. There are two options available to open a shell on an ECS container: with SSH or using the ECS CLI, a command-line tool provided by AWS. The first option may create potential drawbacks and security…
Handling graceful shutdown of your Docker Cron containers
With the increasing popularity of Docker as a containerization platform, it is important for developers to understand how to properly shut down their containers to avoid potential data loss or corruption. In this article, we will discuss the importance of handling graceful shutdown of your Docker Cron containers and how to handle signals. Why is…
Docker multi-stage build – Reduce the gap between developers environments & production
In many of the projects I have seen I have noticed a worrying difference between the production and development environments. It is crucial to minimise the difference between these environments to avoid unexpected bugs. For the past few years most companies have been using Docker containers in production. Most of the time I noticed that…