AWS Lambda Python script: Add status log email at completion
Budget: $30 – $250 AUD
We have an existing AWS Lambda Script (350 lines). This project will add logging functionality to this script to:
- Execution start time for script and each subroutine
- Success / Failure alerts for each subroutine
- The destination email address must be configurable
- Use of AWS services for the email send, such as SNS
The existing script performs these steps:
- The Lambda function is triggered by AWS Eventbridge
- Takes a snapshot of a Ubuntu instance EBS volume of a running instance. It waits for the snapshot to be complete before proceeding.
- Extends the volume by a specified percentage
- Extends the partition by a specified percentage (requires manual reboot)
The purpose of this project is to amend the existing script to provide an email audit trail of these script steps and send a summary email to the system administrators.
- Execution start time for script and each subroutine
- Success / Failure alerts for each subroutine
- The destination email address must be configurable
- Use of AWS services for the email send, such as SNS
The existing script performs these steps:
- The Lambda function is triggered by AWS Eventbridge
- Takes a snapshot of a Ubuntu instance EBS volume of a running instance. It waits for the snapshot to be complete before proceeding.
- Extends the volume by a specified percentage
- Extends the partition by a specified percentage (requires manual reboot)
The purpose of this project is to amend the existing script to provide an email audit trail of these script steps and send a summary email to the system administrators.