Live data from Hacker News

Free Linux cloud shell for Gmail users

console.cloud.google.com

61–70 of 90 posts

Re: Free Linux cloud shell for Gmail users

#61
post #60

Earlier quoted context omitted.

Ugh, as soon as I signed up I got locked out of Google Payments due to "fraud protection"... when I used the same computer I always use and the same credit card number as I've used before without any problems. I have no clue what is going on, but come on guys... nobody's going to want to trade in a government issued ID to exchange for a "free" VM.

Consider contacting Google cloud or payment support people. Also maybe check with your credit card company to see how they responded to any payment request from Google.

Payment request...? Didn't they say there is no charge unless and until you affirm that you want to pay?

Re: Free Linux cloud shell for Gmail users

#62
post #35

Earlier quoted context omitted.

If you want a free Linux box with a Public IP and SSH, I'd recommend spinning up an f1-micro VM. It's part of the permanent free tier: https://cloud.google.com/free/ Cloud Shell is a "temporary" instance, really meant for interactive Dev/Admin work. (I work for GCP)

Quick feedback: it's the first time that I have looked into GCP and compared to AWS the UX is by far sub standard. Even with $300 credits I am not tempted to make use of it.

Would you be able to expand on your thoughts here? If there are specific elements that are bothering you, click the"..." In the top right of the cloud console and "Send Feedback" with specific issues.

Re: Free Linux cloud shell for Gmail users

#63
post #60

Earlier quoted context omitted.

Consider contacting Google cloud or payment support people. Also maybe check with your credit card company to see how they responded to any payment request from Google.

Payment request...? Didn't they say there is no charge unless and until you affirm that you want to pay?

No idea, but if you entered a credit card number I'm gonna guess they did a pre-auth for $1 or something like that to verify it's valid.

Re: Free Linux cloud shell for Gmail users

#64
post #19

And if you'd rather use something on a higher level of abstraction, there's also Google Apps Script ( https://www.google.com/script/start/ ) 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.

I always thought the better parallel for lamda was cloud functions, but I might be biased.

Re: Free Linux cloud shell for Gmail users

#65
post #22

Earlier quoted context omitted.

Thanks for taking the time to comment. I wasn't aware there was a free tier. I really appreciate that it's an actual free tier: "Thanks for signing up for the 12-month free trial. We've given you $300 in free trial credit to spend. If you run out of credit, don't worry, you won't be billed until you give your permission." [ed: and as mentioned above there are instances that don't consume any of those 300 credits]

So there is the free trial and the free tier. The free trial is $300 for 12 months that you can spend on pretty much anything (I think there are some limits on GPUs due to abuse). The free tier is free forever, no dollar limits or time limits. This includes the 24/7 f1-micro, 28 App Engine hours per day, Cloud Datastore, Firebase stuff, some Cloud Functions, etc.

In the free tier, is it "fair game" to run 10 instances of the f1-micro?

I would like to test the throughput, measure uptime over a few months, and check how well it handles DDOS. I would configure 10x static IPv4 and IPv6 to make sure it does not impact anyone else.

I plan to setup a nginx serving a few static pages with a Round Robin DNS on a subdomain.

Re: Free Linux cloud shell for Gmail users

#67

Earlier quoted context omitted.

So there is the free trial and the free tier. The free trial is $300 for 12 months that you can spend on pretty much anything (I think there are some limits on GPUs due to abuse). The free tier is free forever, no dollar limits or time limits. This includes the 24/7 f1-micro, 28 App Engine hours per day, Cloud Datastore, Firebase stuff, some Cloud Functions, etc.

In the free tier, is it "fair game" to run 10 instances of the f1-micro? I would like to test the throughput, measure uptime over a few months, and check how well it handles DDOS. I would configure 10x static IPv4 and IPv6 to make sure it does not impact anyone else. I plan to setup a nginx serving a few static pages with a Round Robin DNS on a subdomain.

Free trial, yes. Free tier, no.

Basically the free tier subtracts the cost of a f1-micro from your monthly bill if you have at least one running.

Re: Free Linux cloud shell for Gmail users

#68

Earlier quoted context omitted.

In the free tier, is it "fair game" to run 10 instances of the f1-micro? I would like to test the throughput, measure uptime over a few months, and check how well it handles DDOS. I would configure 10x static IPv4 and IPv6 to make sure it does not impact anyone else. I plan to setup a nginx serving a few static pages with a Round Robin DNS on a subdomain.

Free trial, yes. Free tier, no. Basically the free tier subtracts the cost of a f1-micro from your monthly bill if you have at least one running.

Thanks for the precision! It avoids a bad surprise :-)

Do you know if a f1-micro can cost more than $4 per month if it is used extensively? By that, I just mean 100% cpu usage, 100% of the 5Gb disk quota, with just 1 IPv4 and 1 IPv6.

I like the scalability, but I want my clients to know that their bill will not "fluctuate".

Cost-wise, $40 for 10 IPv4 is in the upper tier (some OVH resellers give you 16 IPv4 on some decent dedicated server) but for what I need (low latency), the wide geographic coverage could still make it worthwhile.

Re: Free Linux cloud shell for Gmail users

#69
post #46

(I work for Google Cloud) If you want to learn more about Cloud Shell, the marketing page is here: https://cloud.google.com/shell/ Cloud Shell is one of my favorite things about GCP. A lot of dev tools (Docker, Python/Go/Node/Ruby/Java/.Net, etc) are pre-installed, you can test "localhost" servers with the preview feature, there is a built in file editor (based on the open source Orion project), etc. And it's all fre…

Can I give you a tidbit of feedback? If the instance is ephemeral, I need to manage everything in HOME and that's fine. For Python, that basically means using Virtualenv. That works fine at the moment for python 2.7, but 3.x on Debian requires the package python3-venv, which is not installed by default - and sure enough, it's missing in Cloud Shell. It's a bit annoying having to apt-get install python3-venv every tim…

I'm building python 3.6.4 from source and stashing it in $HOME. No errors so far.

EDIT: Worked great!

    @cloudshell:~/python3/bin$ ./ipython3
    Python 3.6.4 (default, Jan 28 2018, 00:39:17)
    Type 'copyright', 'credits' or 'license' for more information
    IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.
    In [1]: from __future__ import braces
      File "", line 1
        from __future__ import braces
                                     ^
    SyntaxError: not a chance

Re: Free Linux cloud shell for Gmail users

#70

Earlier quoted context omitted.

Regarding whether it is a container or VM I'd guess the former. But not Docker. More likely Google's own container tech which I'm pretty sure way predated Docker.

Correct me if I'm wrong - but no kind of Linux container technology could fake dmesg/uptime. Doesn't this need at least some form of virtualization like Xen, QEMU/KVM or whatever dark magic?

Eh, if you use lxcfs with LXD, LXC, or docker, you can fake uptime.
Post reply on HN