{"id":16323740,"url":"https://github.com/shavo007/lambda-start-rds","last_synced_at":"2026-04-10T15:41:35.780Z","repository":{"id":72297291,"uuid":"98772197","full_name":"shavo007/lambda-start-rds","owner":"shavo007","description":"Start AWS RDS instances based on tag","archived":false,"fork":false,"pushed_at":"2017-09-08T11:32:47.000Z","size":30,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T04:26:35.370Z","etag":null,"topics":["aws","aws-lambda","eslint","nodejs","rds","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shavo007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-30T03:18:30.000Z","updated_at":"2020-11-06T17:15:41.000Z","dependencies_parsed_at":"2023-03-11T12:12:57.978Z","dependency_job_id":null,"html_url":"https://github.com/shavo007/lambda-start-rds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Flambda-start-rds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Flambda-start-rds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Flambda-start-rds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Flambda-start-rds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shavo007","download_url":"https://codeload.github.com/shavo007/lambda-start-rds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170067,"owners_count":22026219,"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","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":["aws","aws-lambda","eslint","nodejs","rds","yarn"],"created_at":"2024-10-10T22:55:32.673Z","updated_at":"2025-12-30T22:56:37.826Z","avatar_url":"https://github.com/shavo007.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Scheduled AWS Lambda function to start RDS instances based on tags\n\nThis function that runs as a cron job using the serverless schedule event. For more information on schedule event check out the Serverless docs on schedule.\n\nSchedule events use the rate or cron syntax.\n\n## Cron syntax\n\n```pseudo\ncron(Minutes Hours Day-of-month Month Day-of-week Year)\n```\n\nAll fields are required and time zone is UTC only.\n\n| Field         | Values         | Wildcards     |\n| ------------- |:--------------:|:-------------:|\n| Minutes       | 0-59           | , - * /       |\n| Hours         | 0-23           | , - * /       |\n| Day-of-month  | 1-31           | , - * ? / L W |\n| Month         | 1-12 or JAN-DEC| , - * /       |\n| Day-of-week   | 1-7 or SUN-SAT | , - * ? / L # |\n| Year          | 1970-2199      | , - * /       |\n\nRead the [AWS cron expression syntax](http://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html) docs for more info on how to setup cron\n\n\n**The function is scheduled to execute at 21:00 SUN-THU/UTC time (This is every weekday morning in Melbourne)**\n\n## Setup\n\nRun `nvm use` to get the correct version of node\n\n* Install yarn `curl -o- -L https://yarnpkg.com/install.sh | bash`\n* Install serverless globally `npn install -g serverless`\n\n## Building\nRun `yarn` after\n\n## Deploying\n\nIn order to deploy the function run:\n\n`yarn deploy:full`\n\nThere is no additional step required. Your defined schedule becomes active right away after deployment.\n\n## Usage\n\nTo test function locally and view the results run:\n\n`yarn invoke`\n\n\n### Update dependencies\n\n`yarn upgrade-interactive`\n\n## Blog post\n\nhttps://blog.shanelee.name/2017/07/28/how-to-save-costs-with-serverless-and-aws-lambda/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Flambda-start-rds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshavo007%2Flambda-start-rds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Flambda-start-rds/lists"}