Two important announcements

1: Starting from next week, I am starting the meetup group again, and it will cover each week, i.e., July 11 meetup will cover Day 1 -7

of 101 days of DevOps

For more info, register via the below link

2: Some of you are already aware of my GitHub repo

Every day, I will assign you some coding tasks; if you want to send me PR for code review, please feel free to do that. I will set the PR guidelines (e.g., it should have a test case assigned to it, test case result, etc. )…


Welcome to Day 23 of 101 Days of DevOps. The topic for today is how to stop/start EC2 instances on a scheduled basis to save cost using AWS Lambda and CloudWatch.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

On Day 17, you have learned how to stop/start instances using Boto3. https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-17/. On Day 22, you have learned AWS Lambda https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-22/. Let’s tie both of these concepts together and automate the process of stop/start instances on a scheduled basis.

This is one of the ask I came…


Welcome to Day 22 of 101 Days of DevOps. The topic for today is the AWS Lambda.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

What is AWS Lambda?

With AWS Lambda, you can run code without provisioning or managing servers. You pay only for the compute time that you consume — there’s no charge when your code isn’t running. You can run code for virtually any type of application or backend service — all with zero administration. Just upload your code, and Lambda takes care of…


Welcome to Day 21 of 101 Days of DevOps. The topic for today is the Boto3 script to check if VPC Flowlog is enabled.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

What are VPC Flow logs?

  • It is comprised of IP traffic information.
  • These logs are useful for troubleshooting network conversations and can be assigned to(Capture Points)
* VPC
* Subnet
* Elastic Network Interface

Using VPC Flow logs, you can troubleshoot connectivity and security issues and make sure network ACL rules are working as…


Welcome to Day 20 of 101 Days of DevOps. The topic for today is Creating and deleting snapshots using Boto3.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

This is another common use case we use to encounter daily DevOps jobs where we need to create and clean up snapshots per company policy(e.g., every 30 or 60 days). One of the primary reasons to create snapshot is for backup, and cleanup is to save costs.

To write this code, we need to follow the series of…


Welcome to Day 19 of 101 Days of DevOps. The topic for today is Cleanup unused AMI using Boto3.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

This is another common use case we use to encounter daily DevOps jobs where we need to clean up unused AMI per company policy(e.g., every 30 or 60 days). One of the primary reasons to do that is to save costs.

To write this code, we need to follow the series of steps

Step1: Importing the standard library boto3…


Welcome to Day 18 of 101 Days of DevOps. The topic for today is Rotating IAM Keys using Boto3.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

This is another common use case we use to encounter as a part of daily DevOps job where we need to rotate IAM key as per company policy(for e.g., every 30 or 60 days). …


Welcome to Day 17 of 101 Days of DevOps. The topic for today is Stopping/Starting EC2 Instance using Boto3. On Day 15, you have learned the basics of Boto3 https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-15-introduction-to-boto3/. On Day 16, you have learned Boto3 concepts Concepts(Waiter, Meta, and Paginator) https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-16/. Let’s solidify the Boto3 idea further with the help of one practical example, how to stop/start EC2 instance using Boto3.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

This is one of the ask I came across in Dev env in terms…


Welcome to Day 16 of 101 Days of DevOps. The topic for today is Boto3 Concepts(Waiter, Meta, and Paginator). On Day 15 you have learned the basics of Boto3. https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-15-introduction-to-boto3/ . Let’s solidify that idea by looking at some other Boto3 concepts.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

Boto3 Meta

Boto3 Paginator

Boto3 Waiters

Waiters: In the case of Boto3, there are some requests which are not instant. One such example is when you try to start or stop any instance. For…


Welcome to Day 15 of 101 Days of DevOps. The topic for today is an AWS Boto3. This week we are going to follow the approach where I want to dig deeper into one topic. I will start with a basic introduction and give you five real-world examples to solve problems using Boto3.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

Day 15: Introduction to Boto3

Day 16: Boto3 Concepts(Waiter, Meta, and Paginator)

Day 17: Stopping/Starting EC2 Instance using Boto3

Day18: Rotating IAM Keys using Boto3

Day…

Prashant Lakhera

AWS Community Builder, Ex-Redhat, Author, Blogger, YouTuber, RHCA, RHCDS, RHCE, Docker Certified,4XAWS, CCNA, MCP, Certified Jenkins, Terraform Certified, 1XGCP

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