News for hackers. Stuff that matters.
Re:EC2 Instance Connect by jmb12686 on Thursday June 27, 2019 @11:22PM (#20301219)
Google Compute Engine has had this functionality for years (at least the browser based SSH). Furthermore, Google's free Cloud Shell feature is fantastic.

Over the years, AWS has put their focus entirely on "Enterprise" customer functionality as opposed to "developer friendly" capabilities.

Re:EC2 Instance Connect by choppaface on Friday June 28, 2019 @12:49AM (#20301564)
gcloud has had it, but as of at least a month ago there are terrible races. You can create a machine, log in with normal ssh, log in with cloud shell, and then the next normal ssh login will fail because cloud shell will modify the machine’s ssh keys.

I once found a race in the UI, reported it with complete repro instructions, and then Google made me have to do a 30 minute hangout meeting where I had to repro the bug in front of the Google engineer. The call resulted in two different tickets... we found another bug.

So gcloud might have some nicer features, but the engineees building the web app seem to have some basic misunderstandings about concurrency. The BigQuery UI (new one not the old one) is similarly riddled with bugs.

Re:EC2 Instance Connect by EugeneOZ on Friday June 28, 2019 @01:29AM (#20301739)
I experienced this bug also and it was quite surprising how the idea of overwriting authorized_keys file could pass sanity filters. It's really wild.
Re:EC2 Instance Connect by sieabahlpark on Friday June 28, 2019 @02:11AM (#20301894)
Makes sense when you consider the people who get jobs at Google only know how to solve Leetcode problems.
Re:EC2 Instance Connect by akhilcacharya on Thursday June 27, 2019 @11:42PM (#20301299)
EC2 has had browser SSH for ages too! They're just improving it.

https://docs.aws.amazon.com/quickstarts/latest/vmlaunch/step...

(But..yeah, at a time it was an applet)

Re:EC2 Instance Connect by procrastitron on Friday June 28, 2019 @12:22AM (#20301450)
It’s not just the browser based SSH that GCE has had for years.

The way they describe tying SSH keys to IAM roles very closely matches the SSH key management that GCE had when it launched back in 2012.

Re:EC2 Instance Connect by drewda on Friday June 28, 2019 @12:23AM (#20301454)
Yes, I quite like this functionality in the "gcloud" CLI: https://cloud.google.com/sdk/gcloud/reference/compute/ssh

FWIW, it sounds like one advantage of the new AWS service is that it will provision a new SSH key each time you connect. Whereas, I _think_ the GCP one provisions one key per machine.

Re:EC2 Instance Connect by jkaplowitz on Friday June 28, 2019 @01:25AM (#20301721)
Google's browser-based method uses a new key each time, set to expire from the server-side authorized_keys file in a short time (minutes). I strongly suspect, but haven't checked, that this is also true for their Cloud Console mobile app's SSH feature.

You're mostly right about gcloud, with some nuances for multi-user or network-homedir environments among other exceptions.

Gcloud does however have one of the snazziest possible hacks for resetting and securely communicating Windows account passwords:

https://cloud.google.com/compute/docs/instances/windows/auto...

Re:EC2 Instance Connect by peteretep on Thursday June 27, 2019 @11:24PM (#20301227)
And that’s why I’m willing to give them my money. Google’s cloud offering needs to be considered a hobby like all their non-search activity
Re:EC2 Instance Connect by heybrendan on Thursday June 27, 2019 @11:53PM (#20301339)
Huh? A hobby?

Transcript from Alphabet Q1 2019 Earnings Call; April 29, 2019 [1]

> Sundar Pichai, CEO Google:

> We are also deeply committed to becoming the most customer-centric cloud provider for enterprise customers, and making it easier for companies to do business with us thanks to new contracting, pricing, and more. Today, 9 of the world's 10 largest media companies, 7 of the 10 largest retailers, and more than half of the 10 largest companies in manufacturing, financial services, communications, and software use Google Cloud.

> Some of the companies that we announced at Next included: The American Cancer Society and McKesson in Healthcare; Media and Entertainment companies like USA Today and Viacom; Consumer Packaged Goods brands like Unilever; Manufacturing and Industrial companies like Samsung and UPS; and Public Sector organizations like Australia Post.

> Finally, to support our customers' growth, we also announced the addition of two new Cloud regions in Seoul and Salt Lake City, which we plan to open in 2020. These new Cloud regions will build on our current footprint of 19 Cloud regions and 58 data centers around the world.

This doesn't seem like just a hobby to Google.

[1] https://abc.xyz/investor/static/pdf/2019_Q1_Earnings_Transcr...

Re:EC2 Instance Connect by apsdsm on Friday June 28, 2019 @12:37AM (#20301505)
To be fair, given their history of shutting things down, it’s easy to see anything that isn’t selling ads as a hobby for google. Even if that’s not the case, it can be hard to shake that gut-level feeling. I suspect that’ll be the hardest thing for most people to get over when considering a google stack.
Re:EC2 Instance Connect by peteretep on Friday June 28, 2019 @12:56AM (#20301597)
Meh, I care about actions and not random words
Re:EC2 Instance Connect by 9nGQluzmnq3M on Friday June 28, 2019 @02:18AM (#20301928)
> our current footprint of 19 Cloud regions and 58 data centers around the world

Do you understand how expensive this action is?

Re:EC2 Instance Connect by toast0 on Friday June 28, 2019 @03:44AM (#20302275)
How many of those data centers were already there for their advertising business?
Re:EC2 Instance Connect by cwp on Friday June 28, 2019 @12:32AM (#20301486)
Every now and then I consider using GCP for a new project, because their tech is obviously better. I never do though, because every time, I stumble across somebody with a horror story.

You know how it goes. They built their business on Google's platform, and it was a dream until some AI detected a pattern of activity it didn't like and they were excommunicated. The app was shut down, the website stopped getting traffic, and all they money they had charged customers via Google Pay was frozen. No appeals, emails go to /dev/null and after a month of campaigning on social media they finally get an email from an intern saying that after review, they won't be changing the automated decision.

No thanks.

Re:EC2 Instance Connect by jmb12686 on Thursday June 27, 2019 @11:27PM (#20301248)
Fair enough, I agree Enterprise workloads are better off relying on Enterprise class products.
Re:EC2 Instance Connect by izacus on Friday June 28, 2019 @02:25AM (#20301959)
Last I checked, Cloud is pretty much the only other thing besides Ads that makes any money at Google :)