• AWS S3: cp vs sync

    Introduction

    Two commands in the AWS S3 CLI that can be confusing to differentiate are cp and sync. These commands have similar descriptions, and many developers use them interchangeably without understanding the differences.

    This article will list the key differences between the two commands.

    Read on →

  • How to copy files recursively using AWS S3 cp?

    Introduction

    AWS S3 cp provides the ability to:

    • Copy a local file to S3
    • Copy S3 object to another location locally or in S3

    If you want to copy multiple files or an entire folder to or from S3, the --recursive flag is necessary. The official description of the recursive flag is:

    Command is performed on all files or objects under the specified directory or prefix.

    Read on →

  • How to setup & use CloudFormation Hooks

    Introduction

    AWS CloudFormation hooks allows you to invoke custom logic to automate validation of resources. Customers have can select a pre-existing Hook from AWS’ Public Registry. It is also possible to create your own hook and publish them to your own Private Registry.

    In this article, we will take a look at how to use one of the sample Hooks to prevent creation of an EC2 instance with an open ingress security group.

    Read on →

  • AWS CLI & IAM: Complete Guide with examples

    Introduction

    AWS Identity & Access Management provides fine-grained access control across AWS serviecs. In this article, we will look at how to use the AWS CLI to perform common IAM operations.

    Read on →

  • How to assume a role using the AWS CLI and STS

    Introduction

    AWS Secure Token Service (STS) is a service provided by AWS that enables you to request temporary credentials with limited privilege for AWS IAM users. In this article, we will learn how to use the AWS CLI with STS to temporarily assume a different role.

    Read on →