Calling a private Cloud Function from a virtual machine

Bitninja


Is it possible to call a private Cloud Function (that is not exposed to the public Internet) from a virtual machine? Well, the short answer to this question is yes. In this episode of Serverless Expeditions, we show you how to migrate an on-prem application to a virtual machine, while breaking out one service at a time to a private cloud function. Watch to learn how you can achieve a service-oriented architecture by using a private Cloud Function!

Timestamps:
0:00 – Intro
1:50 – Peeling off service over time to Cloud Functions
2:45 – Creating a private Cloud Function
3:45 – Calling the private Cloud Function from a virtual machine
5:12 – Adding the authorization header to the Cloud Functions call
5:50 – Making this call from an application instead of from “curl”

Checkout more episodes of Serverless Expeditions → http://goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → http://goo.gle/GoogleCloudTech​​​

#ServerlessExpeditions #ServerlessExpeditionsExtended

Product: Compute Engine, Cloud Functions; fullname: Dina Portman, Martin Omander;


Duration: 00:06:43
Publisher: Google Cloud
You can watch this video also at the source.