{"id":13990517,"url":"https://github.com/omerh/autoscaling-lambda","last_synced_at":"2026-02-04T23:13:16.284Z","repository":{"id":69795995,"uuid":"131132162","full_name":"omerh/autoscaling-lambda","owner":"omerh","description":"AWS Autoscaling by SQS queues fast with no autoscaling policy using Lambda","archived":false,"fork":false,"pushed_at":"2018-05-13T18:30:31.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-09T13:17:27.628Z","etag":null,"topics":["autoscaling","aws","lambda","python","sqs"],"latest_commit_sha":null,"homepage":"","language":"Python","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/omerh.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}},"created_at":"2018-04-26T09:25:45.000Z","updated_at":"2019-07-15T09:41:44.000Z","dependencies_parsed_at":"2023-07-10T03:45:19.288Z","dependency_job_id":null,"html_url":"https://github.com/omerh/autoscaling-lambda","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/omerh%2Fautoscaling-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerh%2Fautoscaling-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerh%2Fautoscaling-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerh%2Fautoscaling-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omerh","download_url":"https://codeload.github.com/omerh/autoscaling-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227098829,"owners_count":17730645,"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":["autoscaling","aws","lambda","python","sqs"],"created_at":"2024-08-09T13:02:51.815Z","updated_at":"2026-02-04T23:13:16.232Z","avatar_url":"https://github.com/omerh.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Lambda python based over autoscaling lambda\n\nTo use this function, activate by triggering a CloudWatch event.\nThe function will check by pairs SQS queue that you want an autoscale group to scale up.\n\n```\npairs = [{'queue_name': 'sqs_q1', 'autoscale_group': 'autoscale_group1'},\n         {'queue_name': 'sqs_q2', 'autoscale_group': 'autoscale_group2'}]\n\n```\n\nWhen new SQS count \u003e= Auto scale desired Count it will set a new desired count for the autoscale group\n\n\u003eIt will consider the MaxSize of the auto scale group as the max size regardless the amount of messages in the queue\n\nMake sure to have aws cli installed\n\n```bash\nbrew update\nbrew install awscli\naws configure (enter your aws credentials)\n```\n\nTo start using the project run\nInstall pip on your mac and virtualenv\n\n```bash\nsudo easy_install pip\nsudo pip install virtualenv\n```\n\nCreate virtual env in your project\n\n```bash\nvirtualenv venv\n```\n\nActivate virtualenv folder that just was created\n\n```bash\n. ./venv/bin/activate\n```\n\nTo build a packed lambda zip file run\n\n```bash\nmake install\nmake build\n```\n\nTo deploy the lambda zip file to AWS run\n\n```bash\nmake deploy\n```\n\nTo update github\n\n```bash\nmake git_update\n```\n\n### Logging\n\nDefault logging is DEBUG.\nTo modify it, add to lambda LOG_LEVEL environment variable with the level needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerh%2Fautoscaling-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomerh%2Fautoscaling-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerh%2Fautoscaling-lambda/lists"}