• Fixing "externally-managed-environment" when Installing AWS CLI with pip

    2 min read

    awscli pip error externally-managed-environment

    If you're trying to install the AWS CLI using pip on a modern system, you might run into the following error:

    $ pip install --no-cache-dir awscli
    error: externally-managed-environment
    
    × This environment is externally managed
    (...)
    

    17/02/2025

    Read more...
  • kubectl-eks: Managing Amazon EKS Clusters

    5 min read

    kubectl plugin custom command AWS EKS Kubernetes

    Managing Kubernetes clusters on AWS Elastic Kubernetes Service (EKS) can be challenging, especially when dealing with multiple clusters across different regions and accounts. The kubectl-eks plugin simplifies this process by providing convenient commands to list, inspect, and switch between EKS clusters.

    29/01/2025

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

Older content...