{"id":37131768,"url":"https://github.com/ponkio-o/ec2x","last_synced_at":"2026-01-14T15:16:48.116Z","repository":{"id":173056347,"uuid":"648936988","full_name":"ponkio-o/ec2x","owner":"ponkio-o","description":"A cli tool of connect to ec2 instance with Session Manager.","archived":false,"fork":false,"pushed_at":"2025-12-01T00:50:29.000Z","size":431,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T11:45:18.813Z","etag":null,"topics":["aws","cli","ec2"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ponkio-o.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-03T09:01:04.000Z","updated_at":"2026-01-02T15:51:17.000Z","dependencies_parsed_at":"2023-10-26T02:43:24.775Z","dependency_job_id":"fa4dd816-d230-4a34-9e0e-4a32655e6319","html_url":"https://github.com/ponkio-o/ec2x","commit_stats":null,"previous_names":["ponkio-o/ec2x"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/ponkio-o/ec2x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponkio-o%2Fec2x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponkio-o%2Fec2x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponkio-o%2Fec2x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponkio-o%2Fec2x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponkio-o","download_url":"https://codeload.github.com/ponkio-o/ec2x/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponkio-o%2Fec2x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","ec2"],"created_at":"2026-01-14T15:16:47.269Z","updated_at":"2026-01-14T15:16:48.100Z","avatar_url":"https://github.com/ponkio-o.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ec2x\n\n`ec2x` is a CLI tool to connect to EC2 instance using SSS Session Manager.\n\n## Install\n\nYou can download binary from GitHub Release or build from source. You also need to install `session-manager-plugin` command. If you need more information, please refer to [official document](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html).\n\n### aqua\n\nThis tool supports installation by [aquaproj/aqua](https://github.com/aquaproj/aqua)\n\n```console\n$ aqua g -i ponkio-o/ec2x\n```\n\n\u003e [!NOTE]  \n\u003e If you are using macOS, you can install `session-manager-plugin` command by `aqua g -i aws/session-manager-plugin`.\n\n### GitHub Release\n\nGo to [GitHub Release](https://github.com/ponkio-o/ec2x/releases)\n\n### Build from source\n\n```console\n$ go build -o ec2x ./cmd/main.go\n$ mv ec2x /usr/local/bin/ec2x\n```\n\n## Usage\n\n```console\n$ ec2x --help\nNAME:\n   ec2x - ec2x is connect to EC2 instance using SSM Session Manager\n\nUSAGE:\n   ec2x [global options] command [command options] [arguments...]\n\nCOMMANDS:\n   connect  Connect to EC2 instance with Session Manager\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h  show help\n```\n\nYou can select EC2 instance with fuzzy finder. (using [ktr0731/go-fuzzyfinder](https://github.com/ktr0731/go-fuzzyfinder))\n\n```console\n$ AWS_PROFILE=\u003cyour profile name\u003e\n$ ec2x connect\n\n  i-0e70afcef4b54732d - crawler-test (172.19.5.83)                   │  Name            : eks-worker-node\n  i-05934f8ec8993dc2c - elasticsearch-prod-01 (172.19.146.230)       │  Architecture    : x86_64\n  i-05efb7f9afcbfbca3 - elasticsearch-prod-02 (172.19.155.0)         │  InstanceType    : t3.micro\n  i-0d278f748eebdd1f4 - elasticsearch-prod-03 (172.19.180.100)       │  InstanceID      : i-0bb0bade4d8cca310\n  i-05838454dd0d2f0f4 - elasticsearch-prod-04 (172.19.181.88)        │  InstanceProfile : eks-node\n  i-05223dec50c07cb78 - eks-worker-heavy-01 (172.19.152.122)         │  KeyName         : admin-key\n  i-056ebbb9a1f78da01 - sandbox-instance (172.22.202.253)            │  PrivateIP       : 172.22.194.228\n  i-035406af724f45017 - es-suggest-v7-prod (172.19.158.223)          │  State           : running\n  i-05a762a9bfb78ebd7 - prod-webapp-01 (172.22.202.222)              │\n  i-09de276a2e0eaa975 - builder (172.22.207.0)                       │\n  i-0c6d6c1dc644c2ef3 - elasticsearch-node-02 (172.19.184.69)        │\n  i-0a3d2d7bf7aae6fde - elasticsearch-node-01 (172.19.38.84)         │\n  i-0296c5a82bca93012 - sandbox-builder (172.19.34.227)              │\n  i-09449ebceb74eaef0 - sandbox-instance (172.19.37.218)             │\n\u003e i-0bb0bade4d8cca310 - eks-worker-node (172.22.194.228)             │\n  69/69                                                              │\n```\n\n## Required IAM permissions\n\nThe following IAM permissions are required to use this tool.\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ssm:StartSession\",\n        \"ssm:DescribeInstanceInformation\",\n        \"ec2:DescribeInstances\"\n      ],\n      \"Resource\": \"*\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponkio-o%2Fec2x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponkio-o%2Fec2x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponkio-o%2Fec2x/lists"}