DEV Community

Cover image for The Ultimate TUI Tool for AWS ECS Operations
masaushi
masaushi

Posted on • Updated on

The Ultimate TUI Tool for AWS ECS Operations

Hi all,
I have made a tool for easy CLI operations with AWS ECS, so let me introduce it.

https://github.com/masaushi/ecsplorer

GitHub logo masaushi / ecsplorer

ecsplorer is a tool designed for easy CLI operations with AWS ECS.

ecsplorer

release lint

ecsplorer is a tool designed for easy CLI operations with AWS ECS.

ecsplorer

Overview

This tool serves as a CLI utility to efficiently manage AWS ECS resources and services. It provides support for ECS operations through simple commands.

Key Features

  • Retrieve lists of ECS resources
  • Exec into containers

Installation

Download binary

Binaries for Windows, MacOS and Linux are available in the release page.

via Homebrew for macOS or Linux

brew install masaushi/tap/ecsplorer
Enter fullscreen mode Exit fullscreen mode

via Go install

Go version < 1.16

go get github.com/masaushi/ecsplorer
Enter fullscreen mode Exit fullscreen mode

Go 1.16+

go install github.com/masaushi/ecsplorer@latest
Enter fullscreen mode Exit fullscreen mode

Usage

After installation, you can launch a terminal UI by executing the ecsplorer command.

ecsplorer
Enter fullscreen mode Exit fullscreen mode

specify profile

You can specify a profile from your .aws/config by using the --profile=<profile name> option or setting the AWS_PROFILE= environment variable.

ecsplorer --profile=<profile>
Enter fullscreen mode Exit fullscreen mode

or

AWS_PROFILE=<profile> ecsplorer
Enter fullscreen mode Exit fullscreen mode

⚠️ Note ⚠️

If you intend to exec into containers, please ensure that the session-manager-plugin

Here is a demo of ecsplorer.
demo of ecsplorer

What's this

In the vast world of AWS, managing ECS resources can sometimes be a daunting task. Enter ecsplorer, a tool specifically designed to simplify CLI operations with AWS ECS. This utility aims to streamline the process of managing AWS ECS resources and services.

This tool allows you to easily view AWS ECS resources through your terminal. With it, you can:

  • View ECS resources such as clusters, services, tasks, etc.
  • Exec into containers

You no longer need to log into the AWS Console for ECS operations or to retrieve resource information for ECS Exec.

Real-world Use Cases

Imagine having to quickly diagnose an issue with a specific container or needing to view the status of tasks within a cluster. Instead of navigating through the AWS Console, ecsplorer provides a streamlined terminal interface to access this information swiftly.

How Does ecsplorer Stand Out?

While there are several tools available for managing AWS ECS resources, ecsplorer offers a unique terminal-based user interface, making it stand out for users who prefer TUI over GUI. Its intuitive design and quick access commands make it a favorite among many AWS professionals.

How to install

  • via go install
$ go install github.com/masaushi/ecsplorer@latest
Enter fullscreen mode Exit fullscreen mode
  • via homebrew
$ brew install masaushi/tap/ecsplorer
Enter fullscreen mode Exit fullscreen mode
  • download a binary from github repository Binaries are available in the github release

Upcoming Features

In the future, I plan to enhance the tool with the following features:

  • More refined information display
  • Log retrieval
  • Creating and updating of tasks and services
  • Other functionalities

Conclusion

ECS is truly remarkable. I hope this tool makes your ECS operations easier and boosts your productivity!

I'm looking forward to getting your feedback.

Have a wonderful day!

Top comments (0)