Giter VIP home page Giter VIP logo

boto3-lambda-funcs's Introduction

Mastering Boto3 and Lambda Functions Using Python (Course)

Hands-on projects to automate actions in AWS using Boto3 Python SDK

Boto3 is the Python-based SDK for Amazon Web Services, enabling programmatic control services.

Instructor: Hari Kammana


Part 1: Boto3 for Lambda Functions

Using Boto3 within Lambda Functions to manage S3, DynamoDB, CloudWatch, EC2, AMIs, SNS, & SES

Description Services Used Link ↗
Find unused Elastic IPs and send alert email using SES and Lambda environmental variables Lambda EC2 SES find and email unused eips.py
Detect unattached EBS volumes and send alert email using SNS Lambda EC2 SNS unused volumes.py
Persist CSV data to DynamoDB when file is uploaded to an S3 bucket Lambda S3 DynamoDB s3 csv to dynamodb.py
Persist JSON data to DynamoDB when S3 file upload triggers a CloudWatch log event Lambda S3 DynamoDB CloudWatchLogs s3 json to dynamodb.py
Send Slack message via webhook to alert when an instance has stopped Lambda slack alert.py


Part 2: Boto3 Terminal Scripts

Using Boto3 Terminal Scripts to manage EC2 Instances, EBS Volumes, & AMIs

Description Services Used Link ↗
Query contents of CSV file stored in S3 S3 s3 query csv select object content.py
Batch write data to DynamoDB table DynamoDB dynamobd batch write.py
Get and delete items from DynamoDB table DynamoDB dynamobd get and delete.py
Email list of EBS Snapshots based on tags EC2 SNS ebs snapshots email.py
Create AMI & copy to another region EC2 create image copy to diff region.py
Describe instances and related attributes EC2 describe instances.py
Filter & manage instances using EC2 resource collections EC2 ec2 collections.py
Launch new intances based on AMI & instance type EC2 launch ec2.py
Delete EBS snapshots older than 15 days EC2 remove old ebs snapshots.py
Deregister unused custom AMIs EC2 remove unused amis.py
Start, stop, & terminate instances based in Id EC2 sec start stop terminate.py

boto3-lambda-funcs's People

Contributors

williamlewis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.