{"id":17262645,"url":"https://github.com/cheran-senthil/run-on-ec2","last_synced_at":"2025-04-14T07:33:11.335Z","repository":{"id":57569719,"uuid":"236544191","full_name":"cheran-senthil/run-on-ec2","owner":"cheran-senthil","description":"CLI to quickly execute scripts on an AWS EC2 instance","archived":false,"fork":false,"pushed_at":"2023-02-25T01:30:09.000Z","size":13498,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T21:11:06.491Z","etag":null,"topics":["aws","cli","ec2"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheran-senthil.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":"2020-01-27T17:05:09.000Z","updated_at":"2023-01-26T19:37:21.000Z","dependencies_parsed_at":"2024-06-20T03:00:00.821Z","dependency_job_id":"288c50ef-d500-48f2-a1cf-33663ada7fb3","html_url":"https://github.com/cheran-senthil/run-on-ec2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheran-senthil%2Frun-on-ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheran-senthil%2Frun-on-ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheran-senthil%2Frun-on-ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheran-senthil%2Frun-on-ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheran-senthil","download_url":"https://codeload.github.com/cheran-senthil/run-on-ec2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248839393,"owners_count":21169809,"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":["aws","cli","ec2"],"created_at":"2024-10-15T07:54:23.510Z","updated_at":"2025-04-14T07:33:11.294Z","avatar_url":"https://github.com/cheran-senthil.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# run-on-ec2\n[![ReportCard][reportcard-image]][reportcard-url] [![GoDoc][godoc-image]][godoc-url] [![License][license-image]][license-url]\n\nrun-on-ec2 is a CLI to quickly execute scripts on an AWS EC2 instance.\n\n## Prerequisites\n1. Create an AWS IAM user, [here](https://console.aws.amazon.com/iam/home?#/users).\n\n2. Install and configure [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html).\n\n3. [Add a profile](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) with the name `run-on-ec2` to `~/.aws/config` (Linux \u0026 Mac) or `%USERPROFILE%\\.aws\\config` (Windows) \n```\n[run-on-ec2]\naws_access_key_id = YOUR_IAM_KEY_ID\naws_secret_access_key = YOUR_IAM_SECRET_KEY\n```\n\n## Installation\n```\n$ go install\n```\n\nAlternatively, you can build the binary offline with,\n```\n$ go build -mod=vendor\n```\n\n## Help\n```\n$ run-on-ec2 -h\nCLI to quickly execute scripts on an AWS EC2 instance\n\nUsage:\n  run-on-ec2 filename [flags]\n\nFlags:\n  -d, --duration duration      persistence time of ec2 instance after execution (default 10m0s)\n  -e, --exec                   execute the file (default true)\n  -h, --help                   help for run-on-ec2\n  -i, --instance-type string   ec2 instance type (default \"t2.micro\")\n  -k, --key-path string        key path of valid aws key pair (defaults to creating a new key pair)\n  -r, --region string          aws session region (default \"us-east-2\")\n  -s, --spot                   request spot instances (default true)\n  -v, --verbose                verbose logs (default false)\n  -m, --volume int             volume attached in GiB (default 8)\n```\n\n## Apache License 2.0\n  Copyright (c) 2020 Cheran Senthilkumar, Mukundan Senthilkumar\n\n[reportcard-url]: https://goreportcard.com/report/github.com/cheran-senthil/run-on-ec2\n[reportcard-image]: https://goreportcard.com/badge/github.com/cheran-senthil/run-on-ec2\n[godoc-url]: https://godoc.org/github.com/cheran-senthil/run-on-ec2\n[godoc-image]: https://godoc.org/github.com/cheran-senthil/run-on-ec2?status.svg\n[license-url]: https://opensource.org/licenses/Apache-2.0\n[license-image]: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheran-senthil%2Frun-on-ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheran-senthil%2Frun-on-ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheran-senthil%2Frun-on-ec2/lists"}