How to ssh into Digital Ocean's App Platform app?
Asked Answered
F

1

10

We're using digital ocean's cli tool doctl, and would like to ssh into our instances using the same cli tool. We're able to list apps using:

doctl apps list

but cant ssh into apps. Is it even supported by the CLI as of now?

Flinders answered 28/8, 2021 at 17:19 Comment(8)
Is this what you're looking for? doctl compute ssh <droplet-id|name>Ornelas
@Ornelas kinda yeah, but when doing doctl droplets list i get nothing. so cant run the command above.Flinders
You should run instead doctl compute droplet list - reference - since droplets (VMs) are a part of infrastructure or compute groupOrnelas
done that as well, no success. The output doesnt list any of the droplets.Flinders
A Droplet is like a container. An App is more like a managed container. So doctl will not work there. TBH I have no idea and am searching for the answer myself.Preindicate
I imagine it is unfortunately by design? There's probably additional proprietary infrastructure they include on your container to let them provide the extra managed services you get out of the App Platform. Tradeoffs...Weever
docs.digitalocean.com/reference/doctl/reference/apps are the limited things we can do with AppsWeever
Unfortunately seems like Apps dont have SSH enabled...Default
J
4

doctl apps does not support the ssh sub-command supported by Droplets under compute.

REF:

It does not seem possible to SSH to an DigitalOcean app at this point.

doctl version 1.98.1-release

Jessiejessika answered 19/9, 2023 at 8:31 Comment(1)
it is possible to access the instances through the web UI ('console' tab)Copartner

© 2022 - 2024 — McMap. All rights reserved.