{"id":15403545,"url":"https://github.com/ryotarai/spotscaler","last_synced_at":"2025-04-16T03:18:35.509Z","repository":{"id":66256538,"uuid":"70674607","full_name":"ryotarai/spotscaler","owner":"ryotarai","description":"Auto scaling for Amazon EC2 using spot instances","archived":false,"fork":false,"pushed_at":"2018-03-30T11:59:27.000Z","size":19213,"stargazers_count":70,"open_issues_count":9,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T03:18:12.908Z","etag":null,"topics":["amazon-ec2","spot-instances"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ryotarai.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}},"created_at":"2016-10-12T07:29:43.000Z","updated_at":"2025-01-05T14:06:36.000Z","dependencies_parsed_at":"2023-02-20T18:45:27.226Z","dependency_job_id":null,"html_url":"https://github.com/ryotarai/spotscaler","commit_stats":null,"previous_names":["ryotarai/spot-autoscaler"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryotarai%2Fspotscaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryotarai%2Fspotscaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryotarai%2Fspotscaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryotarai%2Fspotscaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryotarai","download_url":"https://codeload.github.com/ryotarai/spotscaler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249188435,"owners_count":21227015,"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":["amazon-ec2","spot-instances"],"created_at":"2024-10-01T16:09:08.969Z","updated_at":"2025-04-16T03:18:35.490Z","avatar_url":"https://github.com/ryotarai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotscaler\n\nAutoscaler for Amazon EC2 using spot instances\n\n## Usage\n\nFirst, create config YAML file like https://github.com/ryotarai/spotscaler/blob/master/config.sample.yml\n\n```\n$ spotscaler -config config.yml [-dry-run]\n```\n\n### HTTP API\n\n```\n$ spotscaler -config config.yml\n```\n\n```\n$ curl -XPOST -d '{\"StartAt\": \"2016-10-05T09:00:00Z\", \"EndAt\": \"2016-10-05T10:00:00Z\", \"Capacity\": 10}' localhost:8080/schedules\n{\"Key\":\"2016-10-05T09:45:59.315042705Z\",\"StartAt\":\"2016-10-05T09:00:00Z\",\"EndAt\":\"2016-10-05T10:00:00Z\",\"Capacity\":10}\n\n$ curl localhost:8080/schedules\n[{\"Key\":\"2016-10-05T09:45:59.315042705Z\",\"StartAt\":\"2016-10-05T09:00:00Z\",\"EndAt\":\"2016-10-05T10:00:00Z\",\"Capacity\":10}]\n\n$ curl -XDELETE 'localhost:8080/schedules?key=2016-10-05T09:45:59.315042705Z'\n{\"deleted\":true,\"key\":\"2016-10-05T09:45:59.315042705Z\"}\n\n$ curl localhost:8080/status\n```\n\n## Why not spot fleet?\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryotarai%2Fspotscaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryotarai%2Fspotscaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryotarai%2Fspotscaler/lists"}