āÆ Guillaume Laforge

Gce

Scaling a Swagger-based web API on Google Cloud Endpoints

I had the pleasure of presenting at theĀ Nordic APIs Platform Summit 2016Ā in Stockholm this week. I enjoyed the conference a lot, with great speakers and content, flawless organization, and nice interactions with the audience.

For the last keynote of the conference, I had the chance to present aboutĀ Google Cloud Endpoints, Google’s take on API management. I worked on a little “pancake”-powered demo, deploying aĀ RatpackĀ application, in a Docker container, onĀ Google Container Engine. I created anĀ OpenAPI SpecificationĀ describing my Web API that served pancakes. And used the Extensible Service Proxy to receive the API calls for securing (with an API key), monitoring (through the Cloud Console) and scaling my Web API (thanks to the scaling capabilities of Container Engine). This demo will be the topic of some upcoming blog posts.

Read more...

IP filtering access to your VMs on Google Cloud

How do you filter access to your VMs on Google Cloud Platform? During a discussion with a customer, I was asked this question: only certain IP addresses or a range of IP addresses should have access to a particular VM. Let’s see that in action!

Let’s assume you already have an account on Google Cloud Platform, but if you don’t, don’t miss theĀ $300 credits for a free trial! I created a new project, then navigated to the Compute Engine section to create a new VM instance. I used all the default parameters, except that I checked the checkbox for “Allow HTTP traffic”, at the bottom of the following screenshot:

Read more...