• AWS IAM Users vs Groups vs Roles

    Introduction

    AWS Identity and Access Management (IAM) helps you control access to your AWS resources.

    When you first create an AWS Account, you have complete access to all AWS services and resources in that account. This identity is the root user for the account. An IAM identity provides access to an AWS account.

    This article will dive deeper into the three IAM Identities (Users, Groups, and Roles) and understand their differences.

    Read on →

  • How to setup AWS RDS database with Flask-SQLAlchemy

    Introduction

    Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. SQLAlchemy is a Python library designed to simplify data access and manipulation. In other words, it helps programmers build applications that interact with databases.

    SQLAlchemy is a powerful tool for building object oriented applications. It provides a clean interface for defining database schemas and mapping between those schemas and Python classes.

    In this tutorial, we will look at how you can use Flask-SQLAlchemy with your AWS RDS database.

    Read on →

  • AWS CLI & Secrets Manager: Complete Guide with examples

    Introduction

    AWS Secret Manager allows you to store sensitive data like passwords, API keys, certificates, and other secrets securely in the cloud. When you create a secret, you define what kind of information should be stored, how long it should last, and who has access to it. Secrets manager also provides additional features such as rotation of credentials, encryption at rest, and automatic expiration of credentials.

    With Secrets Manager, you can replace hardcoded credentials in your code, including passwords. You can retrieve secrets programmatically with an API call to Secrets Manager.

    In this article, we will look at how to use the AWS CLI to perform common Secrets Manager operations.

    Read on →

  • AWS S3: How to download a file using Pandas?

    Introduction

    Pandas is a Python library that is used mainly for Data Analysis and Machine Learning.

    In this tutorial, we will look at how you can download a file stored in AWS S3 using Pandas.

    Read on →

  • AWS S3: How to use s3api get-object to download a file?

    Introduction

    AWS CLI provides two different commands to interact with AWS S3. These commands are:

    • s3
    • s3api

    The s3 command is easier to use but supports a limited set of functionality. s3api, on the other hand, supports all of the functionality supported by AWS S3. This article covers the differences in more details.

    In this tutorial, we will look at multiple use cases where you can use s3api to download a file from S3.

    Read on →