Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


michaelmurfy

meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

#228897 28-Jan-2018 23:11
Send private message

May be of some interest to some people - if you're currently signed in to a gmail (or gsuite) account Click Here to launch a Linux shell.

 

More information here: https://cloud.google.com/shell/

 

- Stuff stored in /home/ is persistent. You get 5gb of storage.
- Webapps served on port 8080 (and on experimentation other ports too) are able to be accessed by you for playing around with things.
- The machine is Debian 9.* based and has some reasonable specs. 
- You can get root access to your personal machine via "sudo -s" if required however bare in mind the machine will get reset after some time (I found after about an hour of not having a session open).

 

Some ideas on what to do with one:

 

1) Run the OpenVPN client for connecting to stuff within your house (via SSH / Mosh), store the keys in /home/ (aka, your Google account).
2) Run node.js, python, ruby apps, .net apps etc. These are all preinstalled.
3) Experiment around with Linux without any risk on breaking anything.

 

I thought it is quite neat and have a few uses for it and I am sure it is a great tool to learn Linux or coding without having to set up your own Linux host.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


Create new topic
openmedia
3449 posts

Uber Geek
+1 received by user: 877

Trusted

  #1947989 29-Jan-2018 00:11
Send private message

Nice. I'd be somewhat wary of leaving any keys on the account though





Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.




michaelmurfy

meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1947991 29-Jan-2018 00:46
Send private message

openmedia:

 

Nice. I'd be somewhat wary of leaving any keys on the account though

 

Indeed however I see no reason not to with one of these machines if things like ssh keys, ovpn keys etc are protected with an additional password. Google state it is safe and the storage can only be accessed by the Google account you're using.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


xpd

xpd
Geek of Coastguard
14115 posts

Uber Geek
+1 received by user: 4574

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #1948069 29-Jan-2018 11:16
Send private message

You are running apt-get tool inside of Cloud Shell. Note that your Cloud Shellmachine is ephemeral and will be reset once you are not using it interactivelyfor about half an hour. No system-wide change will persist beyond that.Note that your home directory does persist across VM instantiations, so considerinstalling your tools into your home directory whenever possible.To suppress this warning, create an empty ~/.cloudshell/no-apt-get-warning file.The command will automatically proceed in 5 seconds or on any key.Visit https://cloud.google.com/shell/help for more information.





XPD / Gavin

 

LinkTree

 

 

 




muppet
2642 posts

Uber Geek
+1 received by user: 1660

Trusted

  #1948070 29-Jan-2018 11:18
Send private message

You can get a free VPS with Google too, it's a really small instance, but it persists 24/7


kyhwana2
2572 posts

Uber Geek
+1 received by user: 233


  #1948071 29-Jan-2018 11:19
Send private message

openmedia:

Nice. I'd be somewhat wary of leaving any keys on the account though



You can install luks crypt and have it mount the encrypted container on startup (after entering the passphrase). I've added this to my .bashrc.

One thing to be aware of is that it shuts down after an hour of inactivity (via the "console")

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.