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.

Free Linux cloud shell for Gmail users

194 pointsby mondainxover 7 years ago

24 comments

thesandlordover 7 years ago
(I work for Google Cloud)<p>If you want to learn more about Cloud Shell, the marketing page is here: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;shell&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;shell&#x2F;</a><p>Cloud Shell is one of my favorite things about GCP. A lot of dev tools (Docker, Python&#x2F;Go&#x2F;Node&#x2F;Ruby&#x2F;Java&#x2F;.Net, etc) are pre-installed, you can test &quot;localhost&quot; servers with the preview feature, there is a built in file editor (based on the open source Orion project), etc. And it&#x27;s all free!<p>This link will directly open the shell in a full page, and I&#x27;m not sure it will work unless you have set up your GCP account before. It&#x27;s really not designed to be opened this way, I recommend opening it from the GCP console and then making it full screen if your want.<p>Also note: Cloud Shell gives you a persistent 5GB &#x2F;home Directory, but every other folder is reset after a while. If you want to add your own binaries, I&#x27;d recommend adding home to your path and installing them there.
评论 #16249101 未加载
评论 #16248319 未加载
评论 #16249229 未加载
评论 #16248836 未加载
评论 #16259922 未加载
jwilkover 7 years ago
Before you get excited, read about limitations:<p><a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;shell&#x2F;docs&#x2F;limitations" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;shell&#x2F;docs&#x2F;limitations</a>
derefrover 7 years ago
And if you&#x27;d rather use something on a higher level of abstraction, there&#x27;s also Google Apps Script (<a href="https:&#x2F;&#x2F;www.google.com&#x2F;script&#x2F;start&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;script&#x2F;start&#x2F;</a>)<p>From one way of thinking, Apps Script is a lot like AWS Lambda; but from another way of thinking, Apps Script is more like OS automation workflows that happen to run in your cloud account rather than on your computer.
评论 #16248930 未加载
评论 #16249893 未加载
jwilkover 7 years ago
It&#x27;s available for to anyone that has a Google account.<p>You don&#x27;t have to be a &quot;Gmail user&quot;.
评论 #16248530 未加载
decentralityover 7 years ago
With my Google Chrome 64.0.3282.119 instance, there is no user selector it seems, which is causing authentication to fail, which then causes an infinitely repeating loop of reconnection attempts all leading to a 404 or 401 response in JSON.
评论 #16249186 未加载
评论 #16249002 未加载
emmelaichover 7 years ago
Wow, even has dotnet. Including C#, F# and Visual Basic.<p><pre><code> $ find &#x2F;opt&#x2F;dotnet&#x2F; -name \*.sh &#x2F;opt&#x2F;dotnet&#x2F;sdk&#x2F;2.0.0&#x2F;Roslyn&#x2F;RunCsc.sh &#x2F;opt&#x2F;dotnet&#x2F;sdk&#x2F;2.0.0&#x2F;Roslyn&#x2F;RunVbc.sh &#x2F;opt&#x2F;dotnet&#x2F;sdk&#x2F;2.0.0&#x2F;FSharp&#x2F;RunFsc.sh ....</code></pre>
seoguruover 7 years ago
This is nice. If we could ssh into it, it would be <i>great</i>! Is that feature coming soon?
评论 #16248803 未加载
评论 #16249044 未加载
mschuster91over 7 years ago
How does this work? Given that its PID1 is not a &quot;real&quot; init process but a bash running the script `&#x2F;google&#x2F;scripts&#x2F;onrun.sh` and its &#x2F; being type `aufs`, I guess this is a Debian Docker instance?
评论 #16249021 未加载
asadlionpkover 7 years ago
This looks cool. I wonder how does the sandboxing work since it looks like docker but some things are different.<p>I am curious because we made a somewhat similar tool for conducting interviews[1] but ours has collaboration too.<p>[1] <a href="https:&#x2F;&#x2F;codepad.remoteinterview.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codepad.remoteinterview.io&#x2F;</a>
mikeymopover 7 years ago
Wow, Debian 3.9 kernel.<p>Has ssh, vim, tmux, and docker installed. I&#x27;m guessing this is either a container itself or a Debian vm.<p>I&#x27;m still finding new things that are installed and useful. I would find myself using it to QA docker compositions I write. The question is can I host from this instance?
评论 #16261328 未加载
netrcover 7 years ago
Would be great for your shell to automount your Google drive. (I know Google Drive isn&#x27;t a real distributed file system, but the point stands... and if GDrive doesn&#x27;t work, how about Google making an actual distributed&#x2F;network file system that I can own for this purpose, like AWS EFS?)
supervillainover 7 years ago
Interesting, upon &#x27;ps aux&#x27;, There&#x27;s a &#x27;sleep infinity&#x27; process running.
评论 #16248976 未加载
tritiumover 7 years ago
Does this have something specific to do with Gmail? Or is it just that it’s another thing (a separate, independent feature of your Google account) that you get for free, as part of being a Gmail user?
评论 #16248641 未加载
massimosgrelliover 7 years ago
I run sudo npm install -g n and then sudo n8.9.4 but I got an error &quot;sudo: n: command not found&quot;. How can I use n?
ryancnelsonover 7 years ago
is this down at the moment? (Sat Jan 27 23:18:48 UTC 2018) the ux seems to be hanging, trying to contact <a href="https:&#x2F;&#x2F;ssh.cloud.google.com" rel="nofollow">https:&#x2F;&#x2F;ssh.cloud.google.com</a> ...<p>&quot;slashdotted?&quot;, or whatever the hackernews term for that is?
评论 #16248686 未加载
h43zover 7 years ago
Interesting how they make use of tmux sessions for the cloud shell session feature.
ShabbosGoyover 7 years ago
I setup an IPSec tunnel on it a while ago just to test , pretty neat IMO
Cyberisover 7 years ago
Wow, I find GCP to be much less straightforward to use than AWS.
jacksmith21006over 7 years ago
This is pretty cool. Thanks for sharing.
wklmover 7 years ago
can I ssh into it? does it have a public ip?
评论 #16248668 未加载
alexdongover 7 years ago
Python 2.7 by default?
评论 #16249043 未加载
daurnimatorover 7 years ago
No Lua preinstalled
supervillainover 7 years ago
No Ruby Pre-installed.
评论 #16249031 未加载
sneakover 7 years ago
Last I looked, Cloud Shell was still pretty tiny instances, with no paid option for more (wth isn’t there a super boost mode that I pay for, at least?!), and the integrated editor was meh. I suppose I could use it with the gcloud CLI and docker-machine as a sort of orchestration console to bring up more boxes, but then I have to remember to kill them or I get a huge bill. (This has happened to me on DO before.)<p>AWS Cloud9 lets me pay for a single big honkin ec2 that backs the IDE, has a better editor, browser ssh support—and has a built in option to suspend the “expensive” instance after 30 mins of inactivity.<p>I loved Cloud Shell but the inability to let me pay for a bigger backing instance or more storage is a real limitation. (One of my commonly worked on projects takes 25 mins to compile on a boost mode Cloud Shell instance, and operates on ~80GiB of data.) Cloud9 is at a real advantage here.<p>Whoever first integrates Atom, though (all of these seem to use Ace), I think will be the real winner.
评论 #16248895 未加载
评论 #16248904 未加载