Skip to content

corevalue-technologies/EC2Utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EC2Utility

Usages: you can turn ON or OFF you aws ec2 instances directly by a get request.
Need: many time when we are away from laptop and we have to immediatly turn the EC2 off or on, we can use it by our mobile phone. :-)

use below instructions after setting up go and aws cli

CREATE ONE lambda and set its hook as EC2Utility

run below command

env GOOS=linux GOARCH=amd64 go build -o /tmp/EC2Utility . && zip -j /tmp/EC2Utility.zip /tmp/EC2Utility && aws lambda update-function-code --function-name Ec2Utility --zip-file fileb:///tmp/EC2Utility.zip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages