{"id":18656620,"url":"https://github.com/zendesk/goship","last_synced_at":"2025-04-11T18:31:05.000Z","repository":{"id":33842244,"uuid":"155734229","full_name":"zendesk/goship","owner":"zendesk","description":"Utility that helps find, connect  and copy to particular cloud resources using configured providers","archived":true,"fork":false,"pushed_at":"2023-04-09T20:20:14.000Z","size":3966,"stargazers_count":18,"open_issues_count":5,"forks_count":9,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-13T08:04:16.561Z","etag":null,"topics":["aws","aws-ec2","cloud-resources","cloud-tools","golang"],"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/zendesk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-11-01T15:15:50.000Z","updated_at":"2024-11-23T23:05:32.000Z","dependencies_parsed_at":"2024-06-19T00:36:27.908Z","dependency_job_id":"0ee73570-c8d3-4230-9868-b5caf7f14f57","html_url":"https://github.com/zendesk/goship","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fgoship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fgoship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fgoship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fgoship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zendesk","download_url":"https://codeload.github.com/zendesk/goship/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458382,"owners_count":21107066,"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","aws-ec2","cloud-resources","cloud-tools","golang"],"created_at":"2024-11-07T07:24:21.881Z","updated_at":"2025-04-11T18:30:59.987Z","avatar_url":"https://github.com/zendesk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goship [![Build Status](https://travis-ci.com/zendesk/goship.svg?branch=master)](https://travis-ci.com/zendesk/goship)\n\nHelps find and connect to particular cloud resources using defined providers.\n\n## Usage\n\n#### 1. Download latest version of goship from release page\n\n[Releases](https://github.com/zendesk/goship/releases/latest)\n\n#### 2. Move binary to /usr/local/bin directory\n\n```mv \u003cgoship_binary\u003e /usr/local/bin/goship \u0026\u0026 chmod +x /usr/local/bin/goship```\n\n#### 3. Configure basic settings\n\n```goship configure```\n\n#### 4. Configure providers\n\nsee `config.yaml.example` for the proper configuration format\n\n#### 5. Read help \u0026 Enjoy\n\n```goship help```\n\n## Examples\n\n##### Log into instance\n\n```\n$ goship ssh kafka production\n1. kafka-03c2b7c                               production   default    us-east-1d    172.18.214.1\n2. kafka-04b3989                               production   default    us-east-1f    172.18.237.2\n3. kafka-06b99eb                               production   default    us-east-1e    172.18.216.3\n4. kafka-0b5875d                               production   default    us-east-1a    172.18.196.4\nChoose your ship: 2\nLogging into kafka-04b3989 (production)\n```\n\n##### Find all instances with some attribute (tag, ami, instance_type, etc.)\n\n```\n$ goship find kafka production\nkafka-06b99\n  ami_id              ami-04684244\n  az                  us-east-1e\n  dns_name\n  id                  i-06b99eb666ddeeeee\n  instance_type       m5.2xlarge\n  key_name            infrastructure\n  private_dns_name    ip-172-18-216-1.ec2.internal\n  private_ip          172.18.216.1\n  public_ip           \u003cnil\u003e\n  tags\n    Name              kafka-06b99\n    project           default\n    hostgroup         kafka\n    owner             ops\n    environment        production\n\n\nkafka-0b587\n  ami_id              ami-04684244\n  az                  us-east-1a\n  dns_name\n  id                  i-0b5875d03d1b3caaa\n  instance_type       m5.2xlarge\n  key_name            infrastructure\n  private_dns_name    ip-172-18-196-3.ec2.internal\n  private_ip          172.18.196.3\n  public_ip           \u003cnil\u003e\n  tags\n    Name              kafka-0b587\n    project           default\n    hostgroup         kafka\n    owner             ops\n    environment        production\n\n[...]\n```\n\n\n##### Scp file to host by name\n\n```\ngoship scp ~/test-file kafka:~/ --username ubuntu\n1. kafka-03c2b7c                               production   default    us-east-1d    172.18.214.1\n2. kafka-04b3989                               production   default    us-east-1f    172.18.237.2\n3. kafka-06b99eb                               production   default    us-east-1e    172.18.216.3\n4. kafka-0b5875d                               production   default    us-east-1a    172.18.196.4\nChoose your ship: 2\nCopying to kafka-04b3989 (production)\n```\n\n### Removing cache\n\nIn order to uncache existing files, just use `--uncache` flag.\n\n## Contributors\n\n* Marcin Matłaszek ([emate](https://github.com/emate))\n* Szymon Władyka ([swladyka](https://github.com/swladyka))\n* Karol Gil ([karolgil](https://github.com/karolgil))\n* Leszek Charkiewicz ([lcharkiewicz](https://github.com/lcharkiewicz))\n\n## License\n\nCopyright 2018 Zendesk\n\nLicensed under the [Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fgoship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzendesk%2Fgoship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fgoship/lists"}