TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: AWS CloudShell Equivalent?

3 pointsby helsontaveras18over 2 years ago
My engineering team has created a suite of CLI tools that can create users, interact with APIs, modify data, etc. It’s basically a CLI interface on top of our business logic.<p>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.<p>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.<p>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.<p>Is there a way to do this using open source tools?

3 comments

awsanswersover 2 years ago
I&#x27;m not 100% sure of the ask but I think Teleport can do this sort of thing. <a href="https:&#x2F;&#x2F;goteleport.com&#x2F;docs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;goteleport.com&#x2F;docs&#x2F;</a><p>also -<p>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.
评论 #34791004 未加载
mtmailover 2 years ago
Users can ssh but the server admin can limit which commands they&#x27;re able to run by setting a different shell command, e.g. <a href="https:&#x2F;&#x2F;www.linuxshelltips.com&#x2F;restrict-ssh-user-commands&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.linuxshelltips.com&#x2F;restrict-ssh-user-commands&#x2F;</a><p>So you could instruct users to run &quot;ssh me@cli-server.internal &#x27;cli-command --param1 --param2&#x27;&quot; without them having extra access to the server.<p>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.
perpilover 2 years ago
I&#x27;m also not quite sure about the ask, but if you want to have a runbook or documentation that authorizes specific GitHub users&#x2F;teams&#x2F;orgs, prompts them for inputs and builds the exact commands they need to run, optionally with scoped temporary AWS credentials, you might check out Speedrun. <a href="https:&#x2F;&#x2F;speedrun.nobackspacecrew.com" rel="nofollow">https:&#x2F;&#x2F;speedrun.nobackspacecrew.com</a>