Making Scalable API Calls to a Salesforce server using a Static IP from a serverless environment in GCP.

Aditya Vashistha
8 min readOct 30, 2020

Prerequisites:

  1. Basic Understanding of Cloud deployments.
  2. A Google Cloud Console project.
  3. Knowledge of Cloud Load balancers.
  4. Knowledge of deploying Infrastructure on GCP using Terraform.
  5. Knowledge of types of Instance Groups in GCP.

This article illustrates how we set-up a GCP infrastructure that enabled our application deployed on App Engine to make API calls to a server that requested a Static IP for whitelisting at scale.

In my previous article, I described how we set-up a standard infrastructure to make API calls to a Salesforce Server from a Static IP. In this article, I will explain how we overcame the limitations of traditional non-scalable deployments.

Why?

On August 8 2020, President Trump signed an executive order creating a Lost Wages Assistance (LWA) program. [1] To receive this LWA benefit, users needed to complete a small certification process through our application, due to which we anticipated an increase in the number of users logging into our application. We estimated the traffic to increase from 1500 users/hour to about 6000 users/hour during peak…

--

--

Aditya Vashistha

I am a Data and Cloud Engineer with a keen interest in deploying scalable solutions on the Cloud.