• How to store a file in SSM Parameter Store using AWS CLI?

    Introduction

    AWS Systems Manager (SSM) is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale.

    SSM provides a Parameter Store that allows you to store configuration data and secure strings. You can store up to 10,000 parameters per region. You can store up to 4 KB of data for each parameter.

    In this tutorial, we will look at how to store a file in SSM Parameter Store using AWS CLI.

    Read on →

  • How to retrieve AWS EC2 Instance Metadata using Python

    Introduction

    Instance metadata is a set of information about the instance that is available to the instance itself. Instance metadata is available from within the instance and is used to configure and manage the running instance.

    In this tutorial, we will look at how to retrieve the instance metadata using Python.

    Read on →

  • AWS ECR CLI: How to get the latest image?

    Introduction

    In this tutorial, we will look at how to retrieve the latest image in an AWS ECR repository.

    ecr describe-images

    describe-images command returns the metadata about the images in a repository. The fields returned by this command are listed in the CLI reference doc. We will use the imagePushedAt field to determine the newest images in the repository. The description of the field is as follows:

    The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
    

    Note: the describe-images API is paginated. If you want to disable pagination, use the --no-paginate argument.

    Read on →

  • AWS EC2 Instance Comparison: R7g vs R6g

    AWS recently announced the 7th generation of their Memory instance family. These instances powered by the new AWS Graviton3 processors.

    The Graviton processors offer better performance at a lower cost and additional capabilities.

    In this article, we will compare the R7g instance family with the Graviton3 processors to the R6g instance family with the previous generation of Graviton2 processors.

    Read on →

  • AWS EC2 Instance Comparison: M7g vs M6g

    AWS recently announced the 7th generation of their General-purpose instance family. These instances powered by the new AWS Graviton3 processors.

    The Graviton processors offer better performance at a lower cost and additional capabilities.

    In this article, we will compare the M7g instance family with the Graviton3 processors to the M6g instance family with the previous generation of Graviton2 processors.

    Read on →