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…
Category: Non classé
Monitoring Nuxt.js app with Datadog 🔍
During the last weeks, I have been able to deepen Datadog. If you’re using Nuxt.js to build your web application, you know how important it is to keep an eye on your app’s performance and behavior. That’s where monitoring tools like Datadog come in handy. With Datadog, you can easily monitor your Nuxt.js app and…
Securing your AWS Load Balancer with Cognito Authentification: A Step-by-Step Guide for Cloud Engineers 🔐
In the cloud age, it’s common to expose applications running on containers or virtual machines through a load balancer. By doing that, cloud engineers can ensure high availability, reliability, and scalability for their services. The load balancer acts as a single point of contact for users and automatically routes incoming traffic to the most available…
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…
Create an HTTPS webhook using Lambda with Terraform on AWS
In this article, I will provide step-by-step instructions on how to set up a secure webhook that can receive incoming requests and save request payload as an S3 File. By using Lambda and Terraform, you can easily create and manage your webhook, ensuring that it is always available and ready to handle incoming requests. Whether…
Aurora vs MySQL vertical scaling benchmark on AWS RDS
Sometimes you need to add or remove ressources like CPUs or RAM to your databases to handle more or less concurrent operations. This is called scaling. Due to a migration from MySQL to Aurora in my company, I benchmarked vertical scaling delay on MySQL and Aurora and I will detail these results in this article….
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…
MySQL Load Testing with Sysbench
Sometimes you need to do a load test on MySQL Database to test Auto-Scaling for example. I found a very useful tool called Sysbench that I will present in this article. Install Sysbench Open your terminal and run : Prepare for Load Testing Create a “test” database and run sysbench prepare command : Run MySQL…