Project #11 Automating the Stoppage of EC2 Instances using Lambda.

Project #11 Automating the Stoppage of EC2 Instances using Lambda.

Here is the latest project from my cloud journey.  

The DevOps engineering team often uses the development lab to test releases of the application. Due to rising cost of the development lab managers are complaining and money needs to be saved by stopping EC2 instances after all the engineers have clocked out for the day.

💻 My objective was to:

Create a python script that stops all running EC2 instances.

Create a Lambda function using Python 3.8 or higher runtime to run your script.

Add a trigger to the Lambda to ensure it runs on a set schedule daily. No one should be working past 7pm.

In the automation of this task I was able to save the company money.

The journey to Cloud DevOps continues! 

Medium:

Automating EC2 Instances Using Lambda

Github:

Stop_Instance

#LUIT #AWSLambda #Python #CloudDevOps

Level Up In Tech

Broadus Palmer

Zaire Ali

Ifeanyi Otuonye, MBA

Pierre Hauser

Donovan Wood

Charles Manning

Cloud Security Engineer | DevSecOps | GCP Certified | Terraform | CI/CD | Threat Detection & Response

7mo

Awesome! Automation can lead to major cost savings!

To view or add a comment, sign in

Others also viewed

Explore topics