All Projects → tedsmitt → ecsgo

tedsmitt / ecsgo

Licence: Apache-2.0 license
Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to ecsgo

fargate-game-servers
This repository contains an example solution on how to scale a fleet of game servers on AWS Fargate on Elastic Container Service and route players to game sessions using a Serverless backend. Game Server data is stored in ElastiCache Redis. All resources are deployed with Infrastructure as Code using CloudFormation, Serverless Application Model,…
Stars: ✭ 30 (+0%)
Mutual labels:  ecs, fargate
terraform-ecs-fargate-nlb
A Terraform template used for provisioning network application stacks on AWS ECS Fargate
Stars: ✭ 50 (+66.67%)
Mutual labels:  ecs, fargate
xilution-selenium-grid
A Selenium Grid that Runs in AWS ECS Fargate.
Stars: ✭ 22 (-26.67%)
Mutual labels:  ecs, fargate
amazon-ecs-exec-checker
🚀 Pre-flight checks for ECS Exec
Stars: ✭ 364 (+1113.33%)
Mutual labels:  ecs-executecommand-api, ecs-exec
ddd-practitioners-ref
EventStorming workshop, this is a hands-on workshop. Contains such topics: DDD, Event storming, Specification by example. Including the AWS product : Serverless Lambda , DynamoDB, Fargate, CloudWatch.
Stars: ✭ 276 (+820%)
Mutual labels:  ecs, fargate
herogate
Heroku + AWS Fargate = Herogate 🚀 Deploy and manage containerized applications like Heroku on AWS
Stars: ✭ 17 (-43.33%)
Mutual labels:  ecs, fargate
Containers Roadmap
This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
Stars: ✭ 4,132 (+13673.33%)
Mutual labels:  ecs, fargate
terraform-aws-fargate
Terraform module to provision a Fargate-ready AWS infrastructure 🚀
Stars: ✭ 77 (+156.67%)
Mutual labels:  ecs, fargate
terraform-fargate-tutorial
A minimal set of Terraform to create a Fargate service
Stars: ✭ 32 (+6.67%)
Mutual labels:  ecs, fargate
aws-ecs-orb
An orb that simplifies deployment to Amazon's Elastic Container Service (ECS). Supports both EC2 and Fargate launch types.
Stars: ✭ 48 (+60%)
Mutual labels:  ecs, fargate
ecs-taskmetadata-cloudwatch
An example sidecar container for Amazon ECS and AWS Fargate to enable task/container-level metrics on CloudWatch
Stars: ✭ 17 (-43.33%)
Mutual labels:  ecs, fargate
container-demo
How can I manage microservices using ecs-cli?
Stars: ✭ 30 (+0%)
Mutual labels:  ecs, fargate
terraform-aws-ecs-alb-service-task
Terraform module which implements an ECS service which exposes a web service via ALB.
Stars: ✭ 108 (+260%)
Mutual labels:  ecs, fargate
ecs-deplojo
Deployment tool for Amazon ECS
Stars: ✭ 19 (-36.67%)
Mutual labels:  ecs
ECS-CommunityEdition
ECS Community Edition "Free & Frictionless"
Stars: ✭ 125 (+316.67%)
Mutual labels:  ecs
NginxExecute
The NginxExecute module executes the shell command through GET POST and HEAD to display the result.
Stars: ✭ 47 (+56.67%)
Mutual labels:  execute
harmony-ecs
A small archetypal ECS focused on compatibility and performance
Stars: ✭ 33 (+10%)
Mutual labels:  ecs
ecsdemo-crystal
Part 4 of a 4 part ECS Workshop
Stars: ✭ 54 (+80%)
Mutual labels:  ecs
fargate-create
A CLI tool for scaffolding out new AWS ECS/Fargate applications based on Terraform templates and Fargate CLI
Stars: ✭ 103 (+243.33%)
Mutual labels:  fargate
neo4j-aws-causal-cluster
Neo4j Enterprise Causal Cluster on AWS ECS by GetSocial
Stars: ✭ 24 (-20%)
Mutual labels:  ecs

ecsgo

Heavily inspired by incredibly useful gossm, this tool makes use of the new ECS ExecuteCommand API to connect to running ECS tasks. It provides an interactive prompt to select your cluster, task and container (if only one container in the task it will default to this), and opens a connection to it.

That's it! Nothing fancy.

Installation

MacOS/Homebrew

brew tap tedsmitt/ecsgo
brew install ecsgo

Linux

wget https://github.com/tedsmitt/ecsgo/releases/download/0.4.2/ecsgo_Linux_x86_64.tar.gz
tar xzf ecsgo_*.tar.gz

Move the ecsgo binary into your $PATH

Pre-reqs

session-manager-plugin

This tool makes use of the session-manager-plugin. For instructions on how to install, please check out https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html.

MacOS users can alternatively install this via Homebrew: brew install --cask session-manager-plugin

Infrastructure

You'll need to follow the prerequisites for ECS Exec as outlined in the blog post.

You can also view some additional documentation on using ECS Exec here.

Usage

Flag Description Default Value
-p Specify the profile to load the credentials default
-c Specify the command to be run on the container (default will change depending on OS family) /bin/sh,powershell.exe
-r Specify the AWS region to run in N/A

The tool also supports AWS Config/Environment Variables for configuration. If you aren't familiar with working on AWS via the CLI, you can read more about how to configure your environment here.

See it in action below

ecsgo0 2 0

Why would I use this over something like AWS Copilot?

At this moment in time copilot only supports connecting to resources that are created and/or managed by the copilot CLI. This tool allows you to leverage ECS Exec easily with your existing resources, and plugs the gap until you are able to do the same with Copilot.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].