In this article, we are presenting an AWS Boto Python script that lists all load balancers and their Target group along with the Instances associated and their health check status This script helps you in various ways Get the list of load balancers and their target group and instance mapping[...]
Read moreCategory: AWS
Automated Oracle Database Backup to S3
The Beautiful thing about Digital world is that we have a Ctrl+z button, snapshots and backups to go back in time and correct our mistakes, which is not possible in our real life. Enough with a philosophy. I would not have to tell you how crucial backups are and when[...]
Read moreAdd users to EC2 instances with SSH Access - Ansible
The objective of this article is to talk about how to add new users to EC2 instances and copy their SSH Keys to grant them SSH access. Consider yourself managing an AWS Infra with 100+ EC2 instances and you have a new hire in your team who should have his[...]
Read moreCopy files from EC2 to S3 Bucket in 4 steps
Introduction to S3 and EC2 file copy In this article, we are going to see how to copy files from ec2 instance to S3 bucket and vice versa, with the help of IAM roles and without having to use the AWS access key and secrets in the server. In AWS[...]
Read moreTerraform import All AWS Security Groups - How to
In this post, we are going to see how to manage existing and already created AWS Security groups with Terraform. The new era of Infrastructure revolution has begun already and we already started provisioning, managing, administrating our Infra as a code with help of Configuration management tools like Ansible, Terraform,[...]
Read moreAWS CLI EC2 Stop and Terminate command Examples
In AWS infrastructure, We create a lot of EC2 instances on demand and we tend to forget about the stopped instances considering that it is stopped and not being billed for. But the fact is that Even the stopped instances would cost you a couple of pennies in various forms[...]
Read moreEnabling Two Factor Authentication for EC2 SSH - AWS MFA Setup
Security is always a big thing. Protecting your data is very crucial when there are lot of people out waiting for a chance to exploit. In Enterprise Infrastructure. We have various levels of security as follows Internet Firewall and Gateway Load balancer Restrictions and Constraints Inbound and OutBound Proxy Servers[...]
Read moreAWS change instance type - From Console or AWS CLI
How to Change AWS Instance Type or EC2 instance type is more interesting and frequently asked question by many AWS Professionals. We create EC2 instances as t2, t3.micro but soon we realize that our requirements just got bigger for good and we need more CPU and RAM on our instance.[...]
Read moreAWS EC2 CLI List Examples - Describe instances | Devops Junction
AWS CLI is a very great help when it comes to efficiently managing your AWS Cloud Infrastructure and your EC2 instances. While we are managing our AWS Infrastructure, we cannot always afford to login to the AWS console all the time and it is not recommended from the security perspective[...]
Read moreAdd SSH Key to EC2 instances with Ansible - Automated
Whether it is On-Prem (or) Cloud-hosted, A Typical Non-Containerized Enterprise infrastructure would have ample of Virtual Machines aka Servers [ Linux ] Let us suppose that you work for the DevOps team of a Big Organization where you manage 100+ ec2 instances. You have a new hire in your team[...]
Read more