https://pulumi.com logo
Title
b

bright-scientist-61638

05/05/2021, 9:48 AM
I'm making some progress learning how to setup an ECS cluster. How do I configure a
FargateService
to allow me to ssh into the running container? I assume I need to assign a key pair somehow, but I can't find the right place to do that.
b

brave-planet-10645

05/05/2021, 10:09 AM
Fargate is considered serverless and as such you can't connect to the container
What do you need to do that requires access to the container?
b

bright-scientist-61638

05/05/2021, 11:08 AM
Ah, good point! The app I'm running has an admin CLI. Thinking about this more though, I think I'd have to be connected to the host and not actually inside the container itself. The CLI is accessed by
docker run ...
So perhaps Fargate is the wrong way to host this.
s

stale-hamburger-8953

05/05/2021, 11:18 AM
So perhaps Fargate is the wrong way to host this.
i was about to say this 🙂
b

billowy-army-68599

05/05/2021, 4:29 PM
@bright-scientist-61638 what's the app? does the cli connect to an api?
b

bright-scientist-61638

05/06/2021, 7:55 AM
The CLI is accessed via calls to
docker run
e.g. https://docs.datalust.co/docs/running-server-commands
So I think it'll be simpler to just host it on an ordinary EC2 instance.