• Dealing with zombie processes in containers

    3 min read

    zombie container init golang

    When we run a process in a container, it becomes the init process. This means that it is responsible for reaping any child processes that exit. If it doesn't do this, they become zombies.

    Having some zombies are not a problem, but if you have too many of them, you can run out of resources (PIDs, memory, disk space...). This is what is going to cause issues in your host system: the zombies won't be a problem, but the resources they consume will.

    02/10/2024

    Read more...
  • AWS CDK: Adding Tags to All Resources in a Stack

    2 min read

    AWS CDK TypeScript Tags

    When working with AWS CDK, it's essential to tag your resources to help you manage and organize them effectively. Tags are key-value pairs that you can attach to AWS resources to categorize and track them. By adding tags to your resources, you can easily identify, filter, and manage them based on specific criteria.

    23/09/2024

    Read more...
  • AWS cli: How to add/update settings in the AWS Parameter Store

    2 min read

    AWS cli ssm parameter store put-parameter

    AWS Systems Manager (SSM) Parameter Store is a service that helps you centralize and manage these configurations, secrets, and parameters without hardcoding sensitive information in your application code.

    18/09/2024

    Read more...
  • TypeScript: Adding Prettier to an AWS CDK Project

    3 min read

    AWS CDK TypeScript prettier

    Maintaining clean and consistent code is crucial for every project, and tools like prettier can help make it effortless. Prettier is a code formatter that supports a wide variety of languages, including TypeScript. By integrating it into your project's workflows, you can ensure that your code stays consistently formatted, enhancing readability and reducing code review friction.

    17/09/2024

    Read more...
  • AWS CDK TypeScript: Building a custom Construct library

    5 min read

    cdk library npm typescript

    The AWS Cloud Development Kit (CDK) makes it easy to define cloud infrastructure using familiar programming languages. One of the strengths of CDK is its ability to define reusable constructs.

    16/09/2024

    Read more...

More recent...

Older content...