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.

AWS CloudShell

443 pointsby jeffbarrover 4 years ago

32 comments

psahgalover 4 years ago
I didn't realize AWS didn't have this already! I've been working exclusively in GCP for the past few years, and I assumed the two platforms were at parity. Is AWS starting to lag behind in new features?
评论 #25433135 未加载
评论 #25438700 未加载
评论 #25433184 未加载
评论 #25433992 未加载
评论 #25434053 未加载
评论 #25440042 未加载
评论 #25433173 未加载
评论 #25433210 未加载
评论 #25435340 未加载
评论 #25434670 未加载
vp8989over 4 years ago
It seems inevitable that remote dev environments will become ubiquitous.<p>With increased distribution of systems, increased use of cloud proprietary infra software that you can&#x27;t run locally and now these custom SOCs. Companies are just going to give up on local dev environments and force everyone to write code in a browser.
评论 #25436171 未加载
评论 #25435361 未加载
评论 #25435398 未加载
评论 #25435918 未加载
navaatiover 4 years ago
I dread the companies that will mandate this, no local environment…<p>(and I know, GCP and Azure had this for quite some time now)
评论 #25432403 未加载
评论 #25432126 未加载
评论 #25432110 未加载
评论 #25432207 未加载
评论 #25432776 未加载
评论 #25449647 未加载
评论 #25432785 未加载
评论 #25432503 未加载
评论 #25432166 未加载
DGAPover 4 years ago
Had to get feature parity with GCP, huh. Is this similar to SSH via SSM in that it could be a security improvement? Can I disable port 22 and remove the SSH client altogether and still use AWS CloudShell on an instance?
评论 #25432308 未加载
评论 #25432598 未加载
banana_giraffeover 4 years ago
One of the nicest features for me in this is the webpage widget to upload and download files into the CloudShell instance.<p>I have zero problem doing this with the normal remote instance I use for this sort of thing in the past, but for whatever reason, walking junior engineers through this process is always one of the most painful things I deal with. Having a GUI way of doing this will make walking them through it easy.<p>That said, this environment doesn&#x27;t deal with flaky connections well. A few toggles of my wifi, and now I have multiple bash orphans on my ECS container. I shouldn&#x27;t be too surprised, looks like they&#x27;ve repurposed the SSH client from Cloud 9. It&#x27;d be nice if they brought in something like a Mosh client.
bgs113over 4 years ago
&gt; CloudShell is intended to be used from the AWS Management Console and does not currently support programmatic interaction<p>Which unfortunately means I can only access this from a browser window and can&#x27;t start up a session from my own terminal. Sure would be nice to be able to launch a secure, remote CLI without all the limitations of a web client.
评论 #25432461 未加载
评论 #25432481 未加载
评论 #25432482 未加载
评论 #25432453 未加载
评论 #25432346 未加载
评论 #25438213 未加载
gumbyover 4 years ago
I am glad to see this as I hate using a web console to try to get actual work done.<p>But I have to confess I opened this article half hoping it would be about Lambda support for bare bash scripts. Horrifying, yes, but at the same time...
评论 #25432718 未加载
评论 #25433091 未加载
kobe_bryantover 4 years ago
what is going on with those screenshots, why would you add a torn paper effect to pictures of your high tech product
评论 #25434531 未加载
评论 #25433315 未加载
评论 #25433270 未加载
评论 #25433291 未加载
评论 #25433182 未加载
评论 #25434663 未加载
评论 #25433229 未加载
评论 #25433163 未加载
评论 #25435846 未加载
评论 #25433558 未加载
评论 #25433877 未加载
csearsover 4 years ago
Really glad to see this directly integrated into the AWS console.<p>I ran workshops when I was at AWS, and using the Cloud 9 shell saved us a ton of time getting a room full of people set up with a functioning AWS CLI. Being able to just click a button to pull up a shell and then paste in a command is so much lower friction.
ceejayozover 4 years ago
&gt; Sessions cannot currently connect to resources inside of private VPC subnets, but that’s also on the near-term roadmap.<p>That should probably have been on the launch roadmap.
评论 #25432131 未加载
评论 #25432395 未加载
scarface74over 4 years ago
This would have been great to have last week. I was walking a client through deploying a project I wrote over a video call.<p>But before we could get started he had to:<p>- install the AWS CLI<p>- stop screen sharing while I walked him through creating an access key&#x2F;secret key from the web console<p>- walk him through aws configure<p>start the screen share back<p>- install the SAM CLI<p>- install jq<p>If he had used this. He could have just run<p><pre><code> git clone aws s3 mb $artifactBucket sam package.... sam deploy </code></pre> And all of the resources would have been created.
hrezover 4 years ago
Oh how many times I closed these cloudshell&#x27;s with Cntr-w while editing commandline. Biggest annoyance ever.
tyingqover 4 years ago
The links labeled &quot;AWS CloudShell&quot; in the post just link to the EC2 product page.
评论 #25432014 未加载
petercooperover 4 years ago
How to install Ruby on AWS CloudShell: <a href="https:&#x2F;&#x2F;dev.to&#x2F;peterc&#x2F;how-to-install-ruby-on-aws-cloudshell-3n8c" rel="nofollow">https:&#x2F;&#x2F;dev.to&#x2F;peterc&#x2F;how-to-install-ruby-on-aws-cloudshell-...</a>
desktopninjaover 4 years ago
Nice to see AWS using ECS front and center! The containers might be floating around in fargate me thinks.<p>Started a CloudShell session and ran:<p>ps aux<p>cat &#x2F;proc&#x2F;1&#x2F;cgroup<p>echo cool :)<p>Also feels like now an EIP IPv4 has been assigned to my IAM user. Pros and Cons seem to equal right now in my head. Mmmmm
rsmetsover 4 years ago
Hmm, I suppose this is useful for super large orgs? I feel managing the IAM policies around this is pretty much the same level of complexity as managing access to a bastion host to open a ssh tunnel through.
评论 #25432576 未加载
评论 #25432076 未加载
andriosrover 4 years ago
I&#x27;m glad AWS is working on this. It&#x27;s a big problem and companies are not facing it. Wrote about it here: <a href="https:&#x2F;&#x2F;andrios.co&#x2F;articles&#x2F;oneoffs" rel="nofollow">https:&#x2F;&#x2F;andrios.co&#x2F;articles&#x2F;oneoffs</a><p>But CloudShell is yet too narrow of a solution, I&#x27;m sure they will improve it over time, but a few problems with todays&#x27; release:<p>1) It only tracks bash commands. What if I write a quick Python one-off script and run it from a file? CloudTrail will never get the content of such script. This is script will get lost at the end of my session. What about Git for storing code?<p>2) Only works in the browser. The browser has it&#x27;s good parts, but during incident resolution speed is critical. Getting a prompt without my local shell history, aliases, binaries, and many others, will make it slower to resolve incidents. One might say it&#x27;s for a good reason, but we can do better.<p>3) Only works with AWS. This is a big problem as many companies are in the process of migrating to AWS, with services running within their own servers. Companies will use CloudShell to investigate edge cases, most of the time during incidents, engineers need fast access to all resources. Using a different solution for each type of resource won&#x27;t help.<p>4) Hard to audit. If you ever tried using CloudTrail, you know what I&#x27;m talking about. And again, companies will need different solutions if they don&#x27;t run only in AWS.<p>5) No review workflow support. If you only allow platform and SRE to access infrastructure, this is fine. But if you really want to bring ownership of problems to developers (DevOps), they need a way to get this level of access without risking production. This comes in the form of experts reviewing (instead of running) commands and scripts faster that the regular Github Pull Request workflow.<p>There are more, but I&#x27;m still happy with the product. AWS saying that you need one-off solutions no matter how much automation you have will help us move to a future where companies treat one-off scripts as first class citizens.<p>If you are interested in a solution that solves the problems I pointed out and many more, check out RunOps: <a href="https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;ea25027e73c94aa395f3e0ab70b71f0e" rel="nofollow">https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;ea25027e73c94aa395f3e0ab70b71f0e</a>
GNOMESover 4 years ago
How does this compare to using AWS Systems Manager Session Manager (except a more straight forward naming convention)?
评论 #25433015 未加载
nsandell123over 4 years ago
This is unrelated, but currently, I&#x27;m doing my own basic web development projects and pushing them to the cloud using netlify. What should be my next step to learn about AWS, devops, and these things in general?
评论 #25434871 未加载
buzzdenverover 4 years ago
Interesting that AWS went with the &quot;pet vs cattle&quot; terminology in their blog post. I thought it was not very cool to use in 2020, as evidenced by debates on naming convention in K8S.
bloopernovaover 4 years ago
Makes me wonder if I can install Terraform and Terragrunt on this...<p>LOL, or run a remote VSCode session on it :D (I know that&#x27;s not gonna happen, but would be kinda cool nonetheless)
评论 #25433710 未加载
评论 #25432477 未加载
评论 #25432450 未加载
评论 #25433413 未加载
SoulManover 4 years ago
I think this existed already. Of course GCP one is what I am more familiar with. AWS one seems to have 4G with 2G free. GCP last I checked only had 1G
kordsover 4 years ago
Looks good, but I wish autocomplete would be available.
robbinttover 4 years ago
I can think of unlimited uses for this. That said, everything should be and is in vpc subnets, so I will keep waiting
pbreitover 4 years ago
Always amazed to still see Jeff Barr at it.
评论 #25433018 未加载
wicketover 4 years ago
I&#x27;m seriously struggling to think of a use case for why I would want to use web browser to use a CLI tool.
评论 #25438963 未加载
评论 #25438667 未加载
imrankhan17over 4 years ago
So now I can swap one of my terminal tabs for yet another browser tab where I can only run AWS commands. Great.
petercooperover 4 years ago
Prior: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25431697" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25431697</a><p>Not quite logged in yet - had a &quot;AWS CloudShell is temporarily unavailable because it&#x27;s being activated&quot; screen for a while now. Fingers crossed!
outside1234over 4 years ago
Finally catching up to Azure
评论 #25437169 未加载
vfclistsover 4 years ago
How difficult is it for Amazon to get a live human being to read this out?<p>I hate mechanical voices.
kissgyorgyover 4 years ago
Full circle :D
t3rabytesover 4 years ago
I find that AWS chose the same name as GCP for this tool hilarious.<p>Nonetheless, excited to see it -- it&#x27;s something that I&#x27;ve complained about with AWS since using Google&#x27;s CloudShell. It also continues us down the path to easy Ops-type work on an iPad (even though you can already have an EC2 instance and use Prompt to access it, being able to have a shell without needing to provision and EC2 instance is <i>chefs kiss</i>).
评论 #25432506 未加载
评论 #25435895 未加载
评论 #25432049 未加载