DanielDaCosta / lambda-ssm-ec2

Lambda that executes Shell Script inside EC2 using SSM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambda SSM EC2

Lambda that executes Shell Script inside EC2 using AWS Systems Manager Run Command.

Diagram

Architecture

Env Variables

INSTANCE_NAME  =  The ID of the managed node where the command should run
SNS_ROLE       =  The ARN of the service role to use Amazon SNS notifications for Run Command commands.
SNS_ARN        =  An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.       
BUCKET_NAME    =  The name of the S3 bucket where command execution responses should be stored.

References

About

Lambda that executes Shell Script inside EC2 using SSM


Languages

Language:Python 100.0%