configure aws cli for multiple accounts

AWS CLI helps to manage and administrate AWS resources from the command line rather than opening up the AWS management console. AWS CLI is very useful when you lot of automation tasks etc. For example, if you need to stop /start an EC2 instance every day, you can use AWS CLI for that. and place it in a cron job. Check this link to setup aws cli in Linux. If you see the above link it shows you how to configure aws cli for your aws account. Let’s say what…

Read More

how to setup AWS code commit repository

Hi All, This document deals with how to setup code commit repository. AWS code commit is a fully managed service that hosts a secure private git repository. Code commit is a version control system like GitHub, gitlab, subversion. Code commits support to store any format of files such as application source code, application binary, or documents. Code commit doesn’t have any file format restriction. Code commit allows you to work collaboratively with your team. In terms of pricing, aws code commits charge $0 for the first five users for the…

Read More

how to setup AWS config for your AWS account

Hi All, this document shows you how to setup AWS config for your AWS account. AWS Config provides an inventory of your AWS resources and a history of configuration changes to these resources. Let’s start !!! Prerequisites * AWS admin privilege account Step 1: Log in to the AWS account and Navigate to AWS config service. Step 2: Now click on the get started button to begin the AWS config setup. Step 3: Configure the following, Step 4: Once you provide the above information click on the Next button. Step…

Read More

how to reset the AWS RDS instance password

Hi All, this document shows how to reset the AWS RDS instance password. Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security and compatibility they need. Configuration Step 1: log in to the AWS management console. Step 2: Select…

Read More

EC2 Data Lifecycle Manager

Hi All, this document deals with how to set up an EC2 data life cycle manager.Data Lifecycle Manager help you to take a snapshot of the Ec2 instance/Volume and delete the older snapshots after specific days of the retention policy. prerequisites AWS Console access. ConfigurationĀ  Step 1: Login to AWS console and select EC2 from the services list. Step 2: Select the Life cycle manager from elastic Block storage. Step 3: Now you will be able to see the welcome dashboard of Life cycle manager. Step 4: Enter the description…

Read More

how to increase the number of nodes in AWS EMR

Hi All, this document deals with how to increase the number of nodes in AWS EMR. Prerequisites Working AWS EMR cluster, if you don’t have to check this link. Configuration Step 1: Login to AWS console and select EMR from the services. Step 2: Choose your cluster. Step 3: In the hardware section there is an option to resize, choose that. Step 4: Now you can see the current worker node, instance count. Step 5: Increase the instance count as per your requirement, In my case, I’m increasing to 3.…

Read More

how to setup AWS EMR

Hi All, This document deals with how to setup AWS EMR. Amazon Elastic MapReduce (EMR) is an Amazon Web Services (AWS) tool for big data processing and analysis. Amazon EMR offers the expandable low-configuration service as an easier alternative to running in-house cluster computing. Here will show how to set up EMR. Step 1: Login to AWS console and select EMR from the services list. Step 2: Now Click on Create cluster from EMR Dashboard. Step 3: Configure as follows Enter the Cluster name Enable Logging if you want, if…

Read More

rds storage autoscaling

Hi All, this document deals with rds storage autoscaling. Autoscaling helps to scale up and scale down your application or infrastructure based when a resource to its threshold limit. The scalability helps the administrator to relax and work freely without any tension. In other words, we can say that no manual intervention required to scale up and down. Nowadays most of all the cloud service providers provide the scalability feature as a service. If you consider aws provides your auto scaling feature to scale the infrastructure like ec2 instances based…

Read More

how to extract ec2 instances details to CSV file

Hi All, this document deals with how to extract ec2 instances details to CSV file. There is a certain case you need to get the ec2 instances to detail to some reporting purposes. Right now AWS doesn’t have any option of reporting facility in their web interface but aws CLI does have this option. So here We will show extract instances details using aws cli. Step 1: Install the aws CLI. For Ubuntu For Centos Step 2: Configure aws cli, for this execute the below command and enter the following…

Read More

AWS region names and corresponding region codes

Hi All, this document shows you the AWS region names and corresponding region codes. Sometimes when you configure the application to use aws service using aws programmatic access it required to know the AWS region names and code. Here is the list of AWS region names and codes. AWS Region codes Region Name Code US East (Ohio) us-east-2 US East (N. Virginia) us-east-1 US West (N. California) us-west-1 US West (Oregon) us-west-2 Asia Pacific (Hong Kong) ap-east-1 Asia Pacific (Mumbai) ap-south-1 Asia Pacific (Osaka-Local) ap-northeast-3 Asia Pacific (Seoul) ap-northeast-2 Asia…

Read More