Skip to main content

Posts

Showing posts from April, 2023

AWS Auto Scaling using Python Boto3

Auto Scaling Group in AWS configure using Python Boto3  What is Auto Scaling means?  This is key capability or power of Cloud Computing Engineers believe in their skills on scaling abilities.  Amazon EC2 Auto Scaling helps to maintain application availability and lets automatically add or remove EC2 instances using scaling policies that we define.  There are 2 types of scaling policies : Dynamic or predictive. These scaling policies let us add or remove EC2 instances capacity to service established or real-time demand patterns. It contains various steps involved in Auto Scaling process using Python Boto3 we will explore every step that accumulate to form a complete automation solution for a DevOps project. ASG Groups associated with ELB and EC2 instances   Understanding AWS Auto scaling configuration steps Check any running instances Create launch configuration Configure ASG for Auto scaling Verify the configuration Disable Auto Scaling In order to setup A...

Manage ELB using Python Boto3

 Managing AWS ELB automations using Boto3 Python scripts.  What is ELB? ELB automatically distributes incoming network traffic (may be HTTP/HTTPS requests) across multiple EC2 instances running in different Availability Zones. ELB to EC2 instances  In this post I will experimenting on the following:  Create ELB  Apply security group Create Health check Register instances with ELB   Delete ELB services 1. How to Create ELB using Python Boto3 automations? The create_load_blancer method is used to create a Load Balancer. object: client refers to elb  method: create_load_blancer() which requires LoadBalancerName, Listeners that is again a dictionary of Protocol,LoadBalancerPort,InstanceProtocol, InstancePort, And another parameter 'AvailabilityZone' is important that refer to region on which you ar working on. import boto3 elb_client=boto3.client('elb') response = elb_client.create_load_blancer( LoadBalancerName='vybhava_lb', Listene...