{"id":16389388,"url":"https://github.com/marcelog/aws-lambda-start-stop-instances","last_synced_at":"2025-08-22T17:11:52.161Z","repository":{"id":139307712,"uuid":"83156254","full_name":"marcelog/aws-lambda-start-stop-instances","owner":"marcelog","description":"Sample code for a serverless Lambda useful to Start and Stop EC2 instances","archived":false,"fork":false,"pushed_at":"2017-03-31T15:41:06.000Z","size":6,"stargazers_count":16,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T12:35:54.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcelog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-25T19:21:36.000Z","updated_at":"2020-06-20T06:42:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce32d15f-1c5a-4002-9fac-4ffab9a5fbbc","html_url":"https://github.com/marcelog/aws-lambda-start-stop-instances","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcelog/aws-lambda-start-stop-instances","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Faws-lambda-start-stop-instances","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Faws-lambda-start-stop-instances/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Faws-lambda-start-stop-instances/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Faws-lambda-start-stop-instances/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcelog","download_url":"https://codeload.github.com/marcelog/aws-lambda-start-stop-instances/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelog%2Faws-lambda-start-stop-instances/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271672960,"owners_count":24800708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T04:32:43.890Z","updated_at":"2025-08-22T17:11:52.138Z","avatar_url":"https://github.com/marcelog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis is the example code that goes with the article at [http://marcelog.github.io/articles/aws_lambda_start_stop_ec2_instance.html](http://marcelog.github.io/articles/aws_lambda_start_stop_ec2_instance.html).\n\nThis Lambda code is used to start and stop EC2 instances.\n\nSee the article mentioned above for the details.\n\nCheers :)\n\n# Using it\n```\n$ npm install\n$ zip -r ec2_start_stop.zip *\n```\n\nRead the article for the details.\n\n```json\n{\n  \"action\": \"start\",\n  \"instanceId\": \"i-xxxx\"\n}\n```\n\nAction can be one of `stop` or `start`.\n\n# License\nThe source code is released under Apache 2 License.\n\nCheck [LICENSE](https://github.com/marcelog/aws-lambda-start-stop-instances/blob/master/LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelog%2Faws-lambda-start-stop-instances","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelog%2Faws-lambda-start-stop-instances","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelog%2Faws-lambda-start-stop-instances/lists"}