{"id":15008785,"url":"https://github.com/clichedmoog/aws-ec2-scripts","last_synced_at":"2026-03-15T22:03:26.144Z","repository":{"id":216991008,"uuid":"616560012","full_name":"clichedmoog/aws-ec2-scripts","owner":"clichedmoog","description":"Python scripts for updating AWS EC2, Auto Scaling Groups","archived":false,"fork":false,"pushed_at":"2024-01-13T17:09:32.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T14:14:37.540Z","etag":null,"topics":["autoscaling-groups","ec2","python2","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clichedmoog.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":"2023-03-20T16:14:37.000Z","updated_at":"2023-03-20T16:19:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"bda2adfa-2833-4d29-80f9-2d6eb3676fc4","html_url":"https://github.com/clichedmoog/aws-ec2-scripts","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"7fb6487e5a7a02ca800c17406e3b3e3d8786de0d"},"previous_names":["clichedmoog/aws-ec2-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clichedmoog%2Faws-ec2-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clichedmoog%2Faws-ec2-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clichedmoog%2Faws-ec2-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clichedmoog%2Faws-ec2-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clichedmoog","download_url":"https://codeload.github.com/clichedmoog/aws-ec2-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243204580,"owners_count":20253414,"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-groups","ec2","python2","python3"],"created_at":"2024-09-24T19:20:33.686Z","updated_at":"2025-12-26T22:59:00.582Z","avatar_url":"https://github.com/clichedmoog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-ec2-scripts\n\nPython scripts for updating AWS EC2, Auto Scaling Groups\n\n## Preparation\n\nboto3 package should be installed\n\n```zsh\npip install -r requirements.txt\n```\n\nor\n\n```zsh\npip install boto3\n```\n\nAWS credentials should be set before running scripts\nhttps://docs.aws.amazon.com/ko_kr/cli/latest/userguide/cli-chap-configure.html\n\n## Run Scripts\n\nStart stopped EC2 instance by name and return an IP address\n```zsh\n./scripts/aws/ec2-start.py [instance_name]\n```\n\nStop running EC2 instance by name\n```zsh\n./scripts/aws/ec2-stop.py [instance_name]\n```\n\nUpdate a launch template, create a machine image using an instance\n```zsh\n./scripts/aws/ec2-update-launch-template.py [instance_name] [launch_template_name]\n```\n\nDelete launch template versions\n```zsh\n./scripts/aws/ec2-delete-launch-template-version.py [launch_template_name] -k [version_count_numbers_to_keep] -d [version_count_numbers_to_delete]\n```\n\nCreate Auto Scaling configuration, create a machine image using an instance\n```zsh\n./scripts/aws/auto-scaling-create-configuration.py [instance_name] -t [instance_type] -s [securitygroups] -k [key_name] -i [iam_role]\n```\n\nApply Auto Scaling launch template\n```zsh\n./scripts/aws/auto-scaling-apply-launch-template.py [auto_scaling_group_name] -v [version_to_apply]\n```\n\nApply Auto Scaling configuration\n```zsh\n./scripts/aws/auto-scaling-apply-configuration.py [auto_scaling_group_name] [new_configuration_name]\n```\n\nRefresh instance for Auto Scaling group\n```zsh\n./scripts/aws/auto-scaling-refresh-instance.py [auto_scaling_group_name]\n```\n\nAdjust Auto Scaling\n```zsh\n./scripts/aws/auto-scaling-adjust.py [auto_scaling_group_name] --minsize [minimum_size_of_auto_scaling_group] --maxsize [maximum_size_of_auto_scaling_group] --capacity [current_capacity_size_of_auto_scaling_group]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclichedmoog%2Faws-ec2-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclichedmoog%2Faws-ec2-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclichedmoog%2Faws-ec2-scripts/lists"}