• AWS: An error occurred (Throttling) when calling

    2 min read

    AWS Throttling limits

    When working with AWS, one might encounter errors related to throttling, such as:

    Error: An error occurred (Throttling) when calling the GenerateServiceLastAccessedDetails operation (reached max retries: 4): Rate exceeded
    

    This error occurs when an AWS service has throttled your activity: the number of API requests made for that particular account and region have exceeded the rate limit allowed for that particular service.

    10/10/2024

    Read more...
  • Understanding AWS IAM Permissions Boundaries

    3 min read

    AWS IAM permissions boundaries

    AWS Identity and Access Management (IAM) is a critical service for managing access to AWS resources. Among its many features, Permissions Boundaries add an extra layer of control ro ensure that users and roles cannot exceed specific permissions, even if somehow can update their IAM policies.

    08/10/2024

    Read more...
  • IAM Privileges: How to check what privileges are being used

    3 min read

    AWS cli iam privileges

    When we are working with IAM roles, it's essential to make sure that the permissions we are granting exactly what we need: No more, no less.

    The AWS SDK provides a way to check what privileges are being used by a role, group, or user. This can help us to fine-tune the permissions we are granting and remove any unnecessary privileges.

    07/10/2024

    Read more...
  • 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...

Older content...