IAM Stands for Identity Access Management

IAM allows us to manage users, groups,roles, permissions and their level of access to the AWS Console.

  1. Let’s setup Terraform with Visual Studio Code (basic code editor)
  • First you need to install Terraform on your local or remote machine using https://www.terraform.io/downloads.html & follow the instructions for the installation.
  • Then install Visual Studio Code using https://code.visualstudio.com/download according to your OS type & go to the Extensions on left & install HashiCorp Terraform Plugin.
  • Then create a file in Visual Studio Code, called Main.tf(or whatever you feel like depending if you wanna keep every block separate)…

Workflow IAC with AWS

Lets talk about all three before we jump in:

Boto3 (AWS SDK for Python)

You use the AWS SDK for Python (Boto3) to create, configure, and manage AWS services, such as Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3). The SDK provides an object-oriented API as well as low-level access to AWS services.


Terraform is an open-source infrastructure as code tool that provides a consistent CLI workflow to manage hundreds of cloud vendor-specific services. Terraform codifies cloud APIs into declarative configuration files.


  • It provisions infrastructure seamlessly
  • It updates infrastructure with ease
  • It destroys…

Ansible is an simple agentless + configuration management + automation that automates deployment, + orchestration. Ansible is popularity due to it’s simplicity for being opensource, agentless, efficient, requires no additional software installed on target machine, It use the simple YAML .(which stands for “YAML Ain’t Markup Language”)

Ansible architecture is very simple. It requires Ansible Controller basically a node either a laptop, PC or server where Ansible is installed with the module of configuration files called playbook (like a recipe book) and inventory of target servers called hosts. Playbook consists of Roles, and Roles consists of Tasks. Task is an…

What is Ansible: It is an open source popular IT automation engine that automates tasks that are either cumbersome or repetitive or complex like configuration management, cloud provisioning, software deployment, and orchestration.

It was founded by Michael DeHaan in 2013 and was later acquired by Red Hat in 2015.

It is used for the multi-tier deployments and it models all of IT infrastructure into one deployment instead of handling each one separately. There are no agents (yep, you heard it) and no custom security architecture is required to be used in the Ansible architecture. …

We will go through the following steps:

  • Define the infrastructure with Terraform
  • Launch a PostgreSQL instance in AWS RDS
  • Add a replica instance

Terraform is an Infra-as-code Cloud agnostic tool which helps you deploy, update, destroy resources & services that are no longer needed but also manage them across multiple platforms. For more information here

A lot of infrastructure types can be deployed: AWS, GCP, Azure, VMware & more. List of Providers https://www.terraform.io/docs/providers/index.html

Using Version Control System like Github to keep my manage configuration files in one place, make revisions, updating resources, permissions, share code with team or community to showoff.

Refining my skills with Python by making this project after being motivated by my mentor Bmwitcher .

Overview : Python is an open source programming language that was made to be easy-to-read and powerful. A Dutch programmer named Guido van Rossum made Python in 1991.

Python is an interpreted language. Interpreted languages do not need to be compiled to run. A program called an interpreter runs Python code on almost any kind of computer. This means that a programmer can change the code and quickly see the results.

First Method:-

Lets get started by using Python online compilers like :

This hands-on lab will guide you through the steps to improve reliability of a service by using automation to deploy a reliable cloud infrastructure. When this lab is completed, you will have deployed two CloudFormation templates. The first will deploy an Amazon Virtual Private Cloud (VPC).

The second will deploy into your VPC, a reliable 3-tier infrastructure using Amazon EC2 distributed across three Availability Zones.

You will then review the features of the deployed infrastructure and learn how they contribute to reliability.

Task 1 :- Lets Start with creating VPC

  • Download the simple_stack.yaml CloudFormation template
  • Open this file in a Text Editor
  • Preferably use an editor that is…

Sameed Uddin Mohammed

AWS: Certified Solutions Architect| RHCSA| VCP:DCV|ITIL Certified

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store