Mohan Golla
3 min readDec 25, 2023

Deployment of a Web Application to automate talent onboarding using HTML / CSS / JS / BS (Front-end) + Python Flask (Back-end) with Cloud Storage and Cloud Functions 100% Serverless-Part 2

In this project based on a real-world scenario, I acted as a Cloud Expert in the deployment of a Web Application to automate the HR onboarding process. By filling out a form, the user is created in the Training Portal in a fully automated way.

To deploy this solution, I used a Moodle image available on GCP Marketplace, where the REST API had been enabled, running on Compute Engine, front-end on Cloud Storage, and the back-end on Cloud Run.

I deployed the back-end using Python Flask using Cloud Functions, 100% Serverless. Then, I deployed the front-end using HTML/CSS/JS/BS on Cloud Storage to store the static files of the Web Application.

Below are few screenshots:

Enable web service on iLearn(Corporate Training portal that I deployed earlier)

Enable Rest protocol.

Enable external web service.

Add function to Create Users

Create a token

Add user via Cloud Shell

Create a Cloud Function

Set Runtime environment variables

Cloud Function Trigger URL

Runtime environment variables being used in the Python code

Added a user using Curl command

Logs

Added user is reflected in iLearn Portal

Logs should capture any unexpected errors

Created a bucket which is public to add user via portal

User being added and saved

User that was added can be seen in the iLearn Portal

Mohan Golla
Mohan Golla

No responses yet