Похожие чаты

Guys I want to exec into a container running on

Fargate like this:

aws ecs execute-command --cluster my-cluster --task task_id --container app --command bash --interactive

An error says:

An error occurred (InvalidParameterException) when calling the ExecuteCommand operation: The execute command failed because execute command was not enabled when the task was run or the execute command agent isn’t running. Wait and try again or run a new task with execute command enabled and try again.


I created a policy based on this tutorial:
https://dev.to/aws-builders/how-to-run-a-shell-on-ecs-fargate-containers-eo1

Still not working. Do you have a clue on that?

14 ответов

33 просмотра

did you do this? Install Session Manager Plugin

Ehsan- Автор вопроса
Sharuzzaman Ahmat Raslan
did you do this? Install Session Manager Plugin

No, I can do ssm to all EC2s Do I need to install SessionManager plugin?

Ehsan
No, I can do ssm to all EC2s Do I need to install ...

yes. you need to install the plugin into your laptop/PC AWS CLI

Ehsan- Автор вопроса
Sharuzzaman Ahmat Raslan
yes. you need to install the plugin into your lapt...

When I try to run this command on a server, an error says: SessionManagerPlugin is not found. Please refer to SessionManager Documentation here: http://docs.aws.amazon.com/console/systems-manager/session-manager-plugin-not-found But on my macbook I don't get this error, Still you think it's about Session manager pluging?

Ehsan
When I try to run this command on a server, an err...

which server? why you run it inside a server? the purpose of the plugin is for your own terminal

Ehsan- Автор вопроса
Ehsan
On an amazon linux server only for test purpose

Have you installed the SessionManagerPlugin on that server?

Ehsan
On an amazon linux server only for test purpose

did you setup AWS CLI v2 properly in this server?

Ehsan- Автор вопроса
Ehsan- Автор вопроса
Ehsan- Автор вопроса
Sharuzzaman Ahmat Raslan
how do you verify?

I can run lots of aws commands on that server, but forget about the server, what to do for my mac?

Ehsan
I can run lots of aws commands on that server, but...

did you follow this guide? https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта