{"id":16614349,"url":"https://github.com/biud436/awsec2instancecontroller","last_synced_at":"2026-04-19T02:03:11.246Z","repository":{"id":45948586,"uuid":"426109028","full_name":"biud436/AWSEC2InstanceController","owner":"biud436","description":"This project allows you to print inbound rules and add a new CIDR IP to AWS EC2 Security Group.","archived":false,"fork":false,"pushed_at":"2021-11-25T10:20:19.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-14T11:53:22.887Z","etag":null,"topics":["aws-cli","aws-sdk-ec2","docker","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/biud436.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}},"created_at":"2021-11-09T05:57:06.000Z","updated_at":"2024-11-21T07:26:54.000Z","dependencies_parsed_at":"2022-09-25T18:32:45.055Z","dependency_job_id":null,"html_url":"https://github.com/biud436/AWSEC2InstanceController","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/biud436/AWSEC2InstanceController","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biud436%2FAWSEC2InstanceController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biud436%2FAWSEC2InstanceController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biud436%2FAWSEC2InstanceController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biud436%2FAWSEC2InstanceController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biud436","download_url":"https://codeload.github.com/biud436/AWSEC2InstanceController/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biud436%2FAWSEC2InstanceController/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268052048,"owners_count":24187820,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-cli","aws-sdk-ec2","docker","ruby"],"created_at":"2024-10-12T02:05:47.202Z","updated_at":"2026-04-19T02:03:11.194Z","avatar_url":"https://github.com/biud436.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis project allows you to print inbound rules and add a new CIDR IP to AWS EC2 Security Group.\n\n# Installation\n\nTo install this tool, note that you must install ruby or aws-sdk and then setup a gem named 'aws-sdk-ec2' using rubygem.\nif you didn't install ruby language on your system such as 'ubuntu server and macOS', try out below solution.\n\n```sh\nchmod +x ./setup.sh\nchmod +x ./bin/run.sh\n\n./setup.sh\nsudo apt-get install ruby-full\nruby --version\n```\n\nor try out these commands. however it is not stable because docker's file system is specially. To resolve this issue, you have to specify the volume of host file system. But this example is not set the volume in your computer. so it is not stable.\n\n```bash\nsudo docker pull ruby\nvi ~/.bashrc\n\nalias irb='sudo docker run -it ruby -v \"~/.ruby:/usr/local/bin\"'\nsource ~/.bashrc\n```\n\nand next install a new gem named `aws-sdk-ec2`\n\n```sh\ngem install aws-sdk-ec2\n```\n\n# How to start\n\n```sh\ncd ~\ngit clone https://github.com/HarvenDev/AWSEC2InstanceController.git\ncd ./AWSEC2InstanceController\ntouch config.yml\nvi config.yml\n```\n\nif you do not have the file called `config.yml` in your root directory, it is created as follows.\n\n```sh\naccess_id: \"\u003caccess_id\u003e\"\nsecret_access_key: \"\u003csecret_access_key\u003e\"\nsecurity_group_id: \"\u003csecurity_group_id\u003e\"\n```\n\nto set these value, you can create a new IAM user in your aws root account and then next the value named `security_group_id` means security group's id string of the AWS EC2 instance. you can try to these steps in your terminal.\n\n```sh\ncd ~\ndocker run --rm -it amazon/aws-cli --version\nvi .bashrc\n\nalias aws='docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/aws amazon/aws-cli'\nsource .bashrc\n\naws configure\n```\n\nfinally, try to do below command\n\n# Usage\n\n```sh\nUsage: aws_ec2_simple_connector [options]\n    -c, --crc                        CRC 체크를 통해 인바운드 규칙을 추가합니다.\n    -p, --print                      인바운드 규칙을 출력합니다.\n    -h, --help                       Displays Help\n```\n\n# Link\n\n[https://docs.aws.amazon.com/sdk-for-ruby/v3/api/index.html](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiud436%2Fawsec2instancecontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiud436%2Fawsec2instancecontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiud436%2Fawsec2instancecontroller/lists"}