Automating EBS snapshots with Lambda

Intermediate

171 students completed the lab in ~30m

Total available time: 1h:0m

70+ students rated this lab!

In this lab we are going to automate the process of creating EBS snapshots using Lambda. By the end of this lab you will learn how to create functions to take the snapshots, and how to schedule them to run every day, so you won't have to do it yourself.

You'll build and learn following these steps:

Log In to the Amazon Web Service Console

Your first step to start the laboratory experience

Creating a Lambda function that takes EBS snapshots

In this step we are going to create the Lambda function that will take the EBS snapshots.

Testing the Lambda function

In this step we are going to test the Lambda function that we created in the last step

Automating the Snapshots creation

In this step, we are going to automate the snapshots creation by creating a Lambda function that will take the Volume IDs for us and create a CloudWatch Event to schedule the function.