325 points · by mikecb · 11y ago · 159 comments
After Google I/O, some webinars and testing I learned about how quickly new websites and apps could be deployed, Google DNS for managing domains, App Engine and other load balancing features that can help manage cost.
The ability to SSH into a virtual machine has proven quite useful to enable my team to coordinate and manage projects. I am still open to using other services like AWS but Google Cloud has been great - especially because they also offer customer service for tech and billing issues.
That is rad! Anything we can do to help? Link to the company?
I do have a quick question. I am running a LAMP stack with the A standing for Apache. I put an "Index.html" and an "Index.php" file in my "www" folder. I realize that new files append old files. However, I want to add a ".htaaccess" file with DIRECTORY prioritization for the PHP file over the HTML.
I tried copying an htaaccess file via the gcloud command line tool but I got an error. I've been looking through help, faqs, and searched but haven't seen a solution as of yet. Did I miss something? Thanks!
I suspect that it's unlikely that google can remove this because bad guys tend to spin up many free trial instances and do bad things (sharded bitcoin mining, DDoS'ing, etc). Privacy is #1 so they aren't allowed to look inside your machines or inspect your traffic...so that leaves billing / such metadata to fight abuse.
I'm able to do it on aws but with google cloud I have to either run the command line or manually start every instance
>This is a Beta release of Cloud Shell. This feature is not covered by any SLA or deprecation policy and may be subject to backward-incompatible changes.
This whole "Google loves to shut stuff down" is really tired and overplayed.
Go ahead and compare Google's track record with Apple's or Microsoft's, or any other company. They are about on par, yet Google almost always gives 6+ months notice (often over a year), provides one-click alternatives, allows you to export your data in one of many formats, and more often than not has an in-house alternative that you can use automatically.
Take a look at the wiki page of google's products [1]. I'd be surprised if you even knew about 10% of those, let alone used more 1 or 2 significantly.
[1] https://en.wikipedia.org/wiki/List_of_Google_products#Discon...
To the best of my recollection, I don't believe we've ever shutdown a product. Was there one in particular that hit you? (Reader, Wave, etc are totally different divisions.)
It is nothing more than a knee-jerk way to dismiss a rather easily defended position (due to the large number of closures that have been documented, ones that are more extreme or would have been considered less likely than Google Reader) by stereotyping someone's argument down to not just a "strawman" (an argument that is easily defeated), but essentially a purposely broken and laughable version of their argument so as to purposely ill-inform other people (which I feel the need to separate from a "strawman", as the goal is not to defeat the argument but to belittle the opponent). It is frankly one of the more underhanded argumentation tactics that people seem to enjoy defending here.
The reality is that Reader is a non-issue for most people here, as it isn't something you likely built your business or infrastructure around (and to the ones who ended up indirectly relying on it, that is a stretch to blame them for), but when Google randomly shuts down, cuts down, or entirely reboots APIs and services--something they have done many times, at the extremely painful end with things like Checkout and Login, but also with things such as App Engine or Charts--the fact that people seem to seriously have just forgotten how recent these things have been is distressing, and is made all the worse by people who insist on perpetuating "you are just whining about Reader" lie :/.
Let's not pretend that there was only one "really used" service they pulled. At Google's scale, every service is "really used".
a. It just works. No need to download and configure the right version of the SDK.
b. Does not timeout when you close your laptop [I hope!].
c. I works on a Chromebook. Possibly not something you care about, but a historical pain point for the consistency of Google offerings.
I guess I still don't see the point but maybe I'm assuming that one is already running a *nix and can either jump into the terminal there or connect a VM in the cloud very easily. The convenience doesn't seem that large.
Ultimately what AWSClassic does is give you a lot of baremetal boxes to drop AMIs on. Google's changing that to the containerized model by offering direct services that are scheduled on hardware. As Kubernetes becomes more and more the primary method for deploying apps on Google's managed services, this approach will pay off more.
But it's worth nothing that for many people this is what Amazon needs to do as well. As VPCs become the mandatory methodology for AWS, it's increasingly annoying just to set up the bare minimum you need to get a capable shell inside your environment. Even experienced AWS users have trouble getting VPCs right given the state of the current documentation.
Please. Even for an advanced VPC configuration, you're looking at 1-2 hours tops for setup. If you want point and click, go to Digital Ocean. Complex tools are always going to have a learning curve.
We use DynamoDB. A lot of it. It is a non-trivial setup to get a dynamic, scaling solution to route traffic efficiently to the DynamoDB endpoints. Our SQS traffic sometimes also experienced extreme latency when we would send large groups of messages.
So forgive me if I greet your derisive tone and silverbacking with skepticism; I've got a product in the market already. I have correspondence from the AWS support explaining that it is in fact very difficult to operate at the scale we want to with some AWS Services that aren't supported, and the S3 connection was also not trivial. This is especially so if you're managing multiple discrete apps that don't coordinate usage or bandwidth spikes, as is common in large enterprise settings. Which is, ultimately, what we're doing.
> Complex tools are always going to have a learning curve.
There is no justification for the current mess that is Amazon's documentation for the VPC feature set. The only reason they get away with it is that AWSClassic is a giant band-aid which will be grandfathered onto customers with scaled products.
Arguing that things like Heroku or Digital Ocean or managed Kubernetes are bad and EC2 is good simply because it uses a hypervisor model instead of a container model is grandstanding and nonsensical, plain and simple.
The startup world has 0 use for this kind of thinking. What matters is how quickly you can deploy, and how efficiently and inexpensively you can scale if you get a hit. Everything else is ego, and useless in this environment.
There are systems that need AWS's model, but they're for specialist products. The vast majority of products can and do deploy in DO or Heroku just fine. And if they're sustaining people and serving customers, who are we to judge?
No, no we don't. It's quite easy, and usually it only takes us a few minutes.
If you use AWS services besides S3 it can get very tricky to not overwhelm your egress and not suffer performance issues. Scaling this configuration in an elastic way is certainly not turnkey in the current VPC environment, and probably won't be until Amazon finishes something like the S3 gateway for them.
And the documentation is in a sorry state.
Like a lot of "cloud services", this is indeed nothing you can't do on your own box, and I imagine tens of thousands of people have done it before and will do it again on AWS. Google has now done it in a way that generalizes for everyone. Aside from what it lists on the page (installing the GC SDK and setting up authentication), Google handles all of the opsy stuff you would need to do on your own.
Running a Linux server and installing / authenticating an SDK is not really that hard, of course, but it's one less thing to worry about when developing an app. That's almost always always a good thing.
Maybe if you own the servers.
Since they're Google's or Amazon's servers you have to be able to administer them with some set of Google or Amazon credentials. Otherwise what would you do if sshd crashed?
Cloud Shell is a bit different in the sense you would not want to try anything resource intensive on a micro instance. But for coordinating other services it makes sense.
I think Google needs to add one more thing to their cloud development toolkit: a public version of something close to their cider web based IDE that gives you access to work with any code you have in you private Google-hosted git repos, AppEngine and VPS services. nitrous.io has something like this, and I think that Google would do well to offer something similar for using the public version of their infrastructure.
Also, we're alpha testing some integration with the Source Editor and the Cloud Shell right now, so anyone that would like to participate in that alpha test can drop me a line: csells@google.com.
Chris Sells Cloud Developer Tooling Product Manager
What most web IDEs still get wrong is version control. I want to work on live code and then push it to version control. I do not want another copy of code that I have to push to server and version control.
Would be nice if they could have stated how much it's going to cost later on. We're less than three months from 2016.
Disclaimer: I work on Compute Engine but not Cloud Shell.
Is it just because it's in the browser. Who cares...
Source: I'm a high school teacher at just such a school.
We're solving problems of high school students who don't have access to an SSH client now?
Cody Bratt, Google Cloud Console Product Manager
Curious
Have used micro instances in the past as remote development and deployment environments and a micro instance and it works ok. Wondering if something in between micro (0.7G) and standard (3.5G) might be better considering devenv can get pretty beefed up using certain modern frameworks we won't mention by name ;)
Cody Bratt, Google Developers Console Product Manager
And the new Nexus Tablet, everyone hoping it will run Android Studio? It's entirely possible next year we'll see JetBrains and Google convert that environment over to web as well. JB's been doing a lot of that work independently, already.
Chris Sells Cloud Developer Tooling Product Manager csells@google.com
Google Cloud has supported being able to open an SSH session to any of your instances right from the browser for awhile. I've found it to be a killer feature and am really surprised Amazon Web Services does not offer the same thing.
True, you could do everything this is doing with Compute Engine. The point is that it's always one-click away and there's no setup, maintenance, or (for the time being) cost.
This could be a nice way to isolate operations of production infrastructure. You could go as far as issuing Chromebooks dedicated to the task.
Only now I realized that it's a 1-click launch of O&M instance with persistent home directory (and in the future maybe persistent image as well).
I hope they will give the ability to switch instance type.
It's a good pattern to have an O&M node, where people are allowed to ssh, which will have all the devops scripts.
You can do this with AWS' t2.micro instance and launch hyperlink and some custom webshell, but it will not be that integrated as Google Cloud Shell.
https://chrome.google.com/webstore/detail/secure-shell/pnhec...
I use it every day. Easily access any SSH server from the browser.
If anyone is interested or want to borrow some ideas:
I love it because I don't need to worry about key management and can access my machines anywhere that has a browser.
However, my few gripes are:
1)when copying text out of the web terminal window that spans multiple lines (on Mac osx chrome), newlines are inserted.
2) ctrl v doesn't work (nano/pico)
3) Ctrl c sometimes doesn't work
OT, this is a big reason why I encourage people to learn vi/vim.
It doesn't rely on ctrl, and can be used in environments that do weird mappings to control characters. Anything you can do with ctrl, can be done with regular keys and commands.
Nix?
We have 'gsutil' in our environment, so you can do things like:
ssh user@rsync.net gsutil ... blah ... blah ...
but if there is a google shell that you can use to manipulate those same items, then presumably you could do data transfer to/from rsync.net from within that shell.Not everyone has a use-case like this, but some folks do ... so we'll see how it works ...
Now open the shell and traceroute (install it) to google.com. :)
(Other fun things: traceroute can't find your external IP; you have ~250Mbps download; you're on a Xeon with 32GB RAM of which you have 512MB; I can't remember anything else.)