You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One big use case we have is situations where we want to spin up an ephemeral container where we have long-running jobs. We currently can't screen into that, which means disconnect = abort.
It would be nice to have a separate subcommand aptible create-ephemeral (or a better name). This stands up a container that isn't publicly listed on the dashboard (or listed somewhere else). aptible ssh could be given the generated name string for one of these and ssh into it instead.
The bigger issue is exposing the Aptible internals around cleanup of ephemeral containers. Would we want to pass timeouts into this subcommand?
In any case, I can make a PR. LMK what desired behavior is.
The text was updated successfully, but these errors were encountered:
Hey @alyssa-kwan-cloverhealth , thanks for this feature request! The implementation here would be mostly in the internals of Aptible (in the server that handles aptible ssh connections, which are not straightforward SSH sessions).
Would the following implementation work for your use case?
Every aptible ssh session gets a handle (either printed when you connect, displayed in Dashboard, or both).
When running aptible ssh, you can optionally pass a handle of an existing session, to connect to it.
Hi @fancyremarker. 2 for sure. 2 requires handle creation, which implies that part of 1 (and most likely print display as well). Perhaps handles are assigned if-and-only-if you pass in the option for that to begin with? This seems like it would be a way to allow Aptible greater flexibility in destroying ephemeral sessions if they don't need to be "pinned".
Of course, things that are "pinned" aren't that far off from real apps, other than the compliance of never being able to SSH to a real app, and the fact that "pinned" implies management of timeout or something like that so you know when it's safe to garbage collect it.
If this feature is a real "semi-ephemeral" workflow, then Dashboard visibility and control is probably important for Aptible customers as a whole. We at Clover Health would be unlikely to use it though.
One big use case we have is situations where we want to spin up an ephemeral container where we have long-running jobs. We currently can't
screen
into that, which means disconnect = abort.It would be nice to have a separate subcommand
aptible create-ephemeral
(or a better name). This stands up a container that isn't publicly listed on the dashboard (or listed somewhere else).aptible ssh
could be given the generated name string for one of these and ssh into it instead.The bigger issue is exposing the Aptible internals around cleanup of ephemeral containers. Would we want to pass timeouts into this subcommand?
In any case, I can make a PR. LMK what desired behavior is.
The text was updated successfully, but these errors were encountered: