It became so useful for testing purposes that I started using it for day-to-day operations. When ops makes a request, I SSH into our production environment (running in a secure EC2 instance) and run the CLI.
We use Retool for internal tools, but it’s become way faster to iterate on this terminal than to iterate on a UI, write the APIs, and maintain both the Retool and terminal app.
I’d like to expose this terminal application behind our private company VPN to specific team members in a controlled way. Really what I want is AWS CloudShell, and I want it to only run that specific script.
Is there a way to do this using open source tools?
also -
AWS has AWS Systems Manager. Any system can run AWS SSM agent and SSM Documents define scripts that can be run on machines running SSM agent. On demand or scheduled, with some dynamic inputs etc.
So you could instruct users to run "ssh me@cli-server.internal 'cli-command --param1 --param2'" without them having extra access to the server.
That said even in school it was a fun game trying to get around such limitations, e.g. trying to crash the script to get shell access.