{"id":15782325,"url":"https://github.com/rjshrjndrn/aws","last_synced_at":"2025-05-07T04:47:55.229Z","repository":{"id":78954958,"uuid":"115108118","full_name":"rjshrjndrn/aws","owner":"rjshrjndrn","description":"This is a simple cli utility to create specific ec2 instances","archived":false,"fork":false,"pushed_at":"2018-06-28T10:10:32.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T04:47:49.959Z","etag":null,"topics":["automation","aws","aws-cli","aws-ec2","aws-sdk","boto3","python-3","python3"],"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/rjshrjndrn.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-12-22T11:09:59.000Z","updated_at":"2020-05-29T11:29:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f336fc5-a41f-4610-aaca-b3409f46b7e6","html_url":"https://github.com/rjshrjndrn/aws","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"91ab0cc58b6dd3fbbb58d5042dadd5286b13607e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Faws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Faws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Faws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjshrjndrn%2Faws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjshrjndrn","download_url":"https://codeload.github.com/rjshrjndrn/aws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816522,"owners_count":21808702,"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":["automation","aws","aws-cli","aws-ec2","aws-sdk","boto3","python-3","python3"],"created_at":"2024-10-04T19:05:27.640Z","updated_at":"2025-05-07T04:47:55.210Z","avatar_url":"https://github.com/rjshrjndrn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### AWS ec2 Instance create\n\n**Options**\n```\nusage: aws_ec2.py [-h] [--create] [--start START] [--stop STOP]\n                  [--terminate TERMINATE] [--status [STATUS]] [--size SIZE]\n                  [--count COUNT] [--profile PROFILE] [--type TYPE]\n                  [--image IMAGE] [--region REGION]\n                  [--security_group SECURITY_GROUP]\n                  [--assosiate_public_ip ASSOSIATE_PUBLIC_IP]\n                  [--subnet_id SUBNET_ID] [--key_name KEY_NAME] [--tag TAG]\n                  [--dryrun]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --profile PROFILE     Profile of your AWS cli credentials, eg: for\n                        [organization1] type --profile organization1 (default:\n                        default)\n\nMain Options:\n  --create              Create instance with supplied args (default: False)\n  --start START         comma seperated instance ids to start eg: --start\n                        i-0ee0682f2112069bf,i-0ee0682f2112069ff (default:\n                        None)\n  --stop STOP           comma seperated instance ids to stop eg: --stop\n                        i-0ee0682f2112069bf,i-0ee0682f2112069ff (default:\n                        None)\n  --terminate TERMINATE\n                        comma seperated instance ids to terminate eg:\n                        --terminate i-0ee0682f2112069bf,i-0ee0682f2112069ff\n                        (default: None)\n  --status [STATUS]     show status of all instances except terminated. use\n                        comma seperated ids for a specific group instance\n                        (default: )\n\nEC2 create args:\n  --size SIZE           size of the EBS disc in GB (default: 8)\n  --count COUNT         number of instances you want (default: 1)\n  --type TYPE           Instance type (default: t2.micro)\n  --image IMAGE         os image id (default: ami-bec974d8)\n  --region REGION       Region to use (default: None)\n  --security_group SECURITY_GROUP\n                        Security Group Name (default: )\n  --assosiate_public_ip ASSOSIATE_PUBLIC_IP\n                        assosiate public ip address ? True/False (default:\n                        True)\n  --subnet_id SUBNET_ID\n                        subnet id, if you want to launch instance in a\n                        specific vpc or subnet (default: )\n  --key_name KEY_NAME   Key pair to login to the instance if not exist, then\n                        create and save .pem in current working directory\n                        (default: rajesh_test_key)\n  --tag TAG             Name tag for the instance (default: test_rajesh)\n  --dryrun\n\n```\n**Examples**\n\n```\n./aws_ec2.py --profile my_profile --count 2 --type t2.medium\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjshrjndrn%2Faws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjshrjndrn%2Faws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjshrjndrn%2Faws/lists"}