Serverless Containers with Google Cloud Run
thecloud.christmas
thecloud.christmas
> In some sense you can compare it to AWS Fargate and Azure Container Instances. But the difference here is that Cloud Run will actually automatically scale to zero, and you only pay for resources during a request.
This seems really cool.
On the one hand, I appreciate the simplicity of serverless "Cloud CGI" as it were. But on the other hand, I have been confused why these always tie to a particular language and runtime.
Why can't I just run a binary in response to requests. I.e., real cloud CGI?
This seems made for me.
Disclosure: I work for GCP
No platform will sweat to improve the start time of an environment 10x, not when it only affects <10% of executions that tend toward commodity prices.
Individual end-users must occasionally endure the waking up of successive microservices and devs must risk a bad first impression.
I hope they address this soon!
True, a cloud has an API, and that tends to be public rather than private, and that doesn't play well with the above approach.
There are some band-aids for this, such as Google Cloud's VPC service controls, which restricts which clients can access the Cloud API, providing a second layer of defence to IAM.
Personally I find this approach retrograde, because it assigns an element of trust to entities within the perimeter, whereas the BeyondCorp zero-trust approach does not, and plays well with the way public clouds have been designed (public endpoints).
Depending on the kind of permanent storage needed, you could use one or more of the managed databases offered by Google Cloud. Here is an overview: https://cloud.google.com/products/databases/. You could also provision another open source database yourself either in Compute Engine or Kubernetes Engine, e.g. MongoDB. There is a lot of these on Marketplace, again for example MongoDB: https://console.cloud.google.com/marketplace/details/click-t....