go-aws provides an alternative to the AWS CLI and speeds up administration by utilising the AWS Go SDK. Session manager and ECS Exec connections can be initiated using go-aws without having to run multiple queries or recall all the details of your infrastructure. go-aws will prompt you with interactive menus that will allow you to select which clusters, services, autoscaling groups, instances etc to connect to, describe, or update.
This tool is still being improved.
- Run the tool without arguments to see a breakdown of available commands
- Append
-hto a command to get a help menu with a more detailed breakdown of the command and any available flags
- go 1.23.1 or higher
- AWS account credentials
- Your EC2 instances must be capable of receiving session manager connections
- Your ECS tasks must be set up for ECS Exec
- AWS CLI v2, currently this is required because
go-awsuses it as a wrapper for the session manager and execute command connections
- Clone the repo
go build .- Ensure the
go-awsbinary is executable - Use the tool with
./go-awsOR sudo mv go-aws /usr/local/bin- assuming this is in your $PATH you can now use the tool withgo-aws