keidarcy / e1s Goto Github PK
View Code? Open in Web Editor NEWE1S - Easily Manage AWS ECS Resources in Terminal(~k9s for ECS) ๐ฑ
Home Page: https://github.com/keidarcy/e1s
License: MIT License
E1S - Easily Manage AWS ECS Resources in Terminal(~k9s for ECS) ๐ฑ
Home Page: https://github.com/keidarcy/e1s
License: MIT License
I've been getting bit on credential_process multiple places on products using the aws go sdk v2 (terraform,pulumi and now e1s ๐ etc) due to this bug I think you just might need to bump the sdk to the fixed version
~ โฏ e1s
sh: /Users/ryan.odonnell/go/bin/redacted: No such file or directory
e1s failed to start, please check your aws cli credential or permission.
operation error ECS: ListClusters, get identity: get credentials: failed to refresh cached credentials, process provider error: error in credential_process: exit status 127
The tool fails to initialize when ~/.aws/config
file is empty and ~/.aws/credentials
file only contains profiles that work with other tooling, the example of one profile being:
...
[ProfileName_Prod_ReadOnly]
aws_access_key_id = <REDACTED>
aws_secret_access_key = <REDACTED>
aws_session_token = <REDACTED>
aws_security_token = <REDACTED>
token_expiration = 2024-01-31T02:14:57Z
...
Alongside this profile, the following env vars are initialized in same shell where e1s
run is attempted:
export AWS_PROFILE=ProfileName_Prod_ReadOnly
export AWS_DEFAULT_PROFILE=ProfileName_Prod_ReadOnly
The attempt to run e1s
fails with following error message:
e1s -readonly
e1s failed to start, please check your aws cli credential or permission.
operation error ECS: ListClusters, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "https://ecs..amazonaws.com/": Bad Request
Thank you for a such helpful tool! Since I started to use it, I've picked up few issues that happen after Ctrl-r is hit:
P.S.: also +1 for the auto refresh mode (maybe at least while service is being updated)
Hi, when I browse a ecs cluster with more than 10 services, it seems to be able to view only 10? Or maybe I'm just doing it wrong? (TM)
In k9s
the UI gets automatically refreshed and you can force a reload with <ctrl>+r
. In e1s
this is not the case and forcing a reload is also not supported. I'd like at least to have the ability to force a reload, with a further enhancement being the auto refresh.
it seems like when you try to show logs after exiting SSH connection the logs are not being displayed from Cloud Watch anymore instead shows the logs of SSH connection.
Currently, e1s
silently fails to render a cluster's "services" view when the number of services fetched via the AWS API is divisible by 10. While no error is surfaced in the e1s
UI, the /tmp/debug-e1s.log
reveals the following clue:
2024/01/30 06:54:31 e1s - aws failed to describe services, err: operation error ECS: DescribeServices, https response error StatusCode: 400, RequestID: REDACTED, InvalidParameterException: Services cannot be empty
2024/01/30 06:54:31 e1s - show services page failed, error: operation error ECS: DescribeServices, https response error StatusCode: 400, RequestID: REDACTED InvalidParameterException: Services cannot be empty
Add errors, update msg, remove modal feedback
Just discovered this tool and it looks awesome!
I'd like to view the logs of a service/task, just like in k9s ๐
Maybe some like Cloudwatch Logs Live Tail can be used for this?
AWS CLI ref: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/tail.html
Check all task definition family
Check each family task definition revisions
Register a new task definition
๐ Hi - thanks for your work on es1
! Here's a lil' bug users may want to be aware of:
In addition to issue #116 , which prevents the rendering of services when the service count is divisible by 10 (including when there are >= 100 services on a cluster), I believe there's another problem hiding in the details: in current implementation, es1
will not display more than 100 services, as it only fetches first 100 services associated with a cluster.
Hi there
Gave a quick shot at e1s. It look likes what I've been looking for, except that I've few details. Maybe because we're running tasks over an EC2 ASG ? Skimming through the README I saw a focus on Fargate, might explain why and are grayed out ?
Thanks !
This is a really great tool, thank you for working on this ๐๐ป
I only have this one issue with it where I couldn't update desired tasks
on services with CODE_DEPLOY
as deployment controller, I haven't look that much deeper into this but changing it from console works, so I'm guessing maybe they use AWS CodeDeploy API behind the scene to upgrade instead of normal ECS Service update, I'm wondering if e1s
could do the same?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.