This Lambda Function is responsible for initiating an new EC2 instance, loading the script from s3 to ec2, executing the script on ec2 and terminating the ec2 instance.
- Clone the project
git clone https://github.com/architagrawal/fovus-ec2-lambda.git-
ZIP the folder
-
Upload the ZIP file to Lambda Function
-
Configure Trigger, when a new item is entered in DynamoDB.