Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

divamtech/ecs-up-down-lambda

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-ecs-up-down-lambda

We are adding two aws-event bridge schedulers. First scheduler to off the service at desireCount=0 at night 11PM. And second scheduler run to wake up the cluster at morning at 9AM.

Event Bridge sample payload for ECS service

{
  "cluster": "divamtech-staging",
  "services": ["divamtech-staging-server-service", "divamtech-staging-worker-service"],
  "desiredCount": 1
}

Event Bridge sample payload for EC2 service

{ "ec2InstanceIds": ["i-0362c8fc8eb38bc36"], "ec2Action": "start" }

Voila!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.