Lädt...


🔧 Serverless on GCP using Cloud Functions


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Introduction:

This Post Introduce and Demonstrate how to deploy a stateless code/script on Google Cloud Platform Serverless Environment named Cloud Functions.

GCP Resources Used:

  1. Cloud Scheduler Job 2. Pub/Sub Topic 3. Cloud Function(1st Gen) 4. Two Service Accounts (for Infra and Cloud Function Runtime Service Account)

Tools Used:

  1. Terraform for IaaC 2. CI/CD - Github Actions

Conceptual Diagram:

Image description

As per above diagram the idea is to run a Event/trigger based Cloud function in following scenario:

When a Cloud Scheduler Job runs (automatically/force Run) it will send a message body to a Cloud Pub/Sub dedicated Topic which is having a Push based subscription with the 1st Gen Cloud Function .

As soon as the push based subscription gets active the entrypoint function defined in Cloud Function will get triggered and execute the Code Flow.

Security Practice:

  1. The GitHub action responsible for deploying the Infra and the Cloud function itself will be using GCP WIF Pool based authentication for more information see this: https://dev.to/iamgauravpande/enabling-workload-identity-federation-for-github-actions-on-gcp-h8g

  2. The Python code ran by Cloud Function will fetch its secret/token/password from Google Secret Manager Resource to avoid storing plaintext password on github repo.

NOTE: The Cloud Function source code along with Infra can be found at: https://github.com/iamgauravpande/serverless-on-gcp

...

🔧 Serverless on GCP using Cloud Functions


📈 47.8 Punkte
🔧 Programmierung

🔧 Pratical Differences between GCP Cloud Functions and AWS Lambda Functions


📈 41.9 Punkte
🔧 Programmierung

🔧 Diferenças práticas entre GCP Cloud Functions e AWS Lambda Functions


📈 41.9 Punkte
🔧 Programmierung

📰 Imperva introduces Serverless Protection to secure serverless computing functions


📈 33.99 Punkte
📰 IT Security Nachrichten

🔧 Durable Functions 2.0 - Serverless Actors, Orchestrations, and Stateful Functions


📈 32.75 Punkte
🔧 Programmierung

🔧 Functions of Commercial Bank: Primary Functions and Secondary Functions


📈 31.51 Punkte
🔧 Programmierung

🔧 GCP - Create api with Cloud Functions and API Gateway


📈 31.4 Punkte
🔧 Programmierung

🔧 GCP Cloud Functions Gen 2


📈 31.4 Punkte
🔧 Programmierung

🔧 A Guide to Serverless Node.js Functions Using Google Cloud


📈 30.73 Punkte
🔧 Programmierung

🔧 Serverless: Simplifying Cloud Computing with Google Cloud Functions


📈 29.88 Punkte
🔧 Programmierung

🔧 Dive into the world of serverless - GCP Edition


📈 28.82 Punkte
🔧 Programmierung

🔧 Is Serverless Still Relevant? (GCP Addition)


📈 28.82 Punkte
🔧 Programmierung

🎥 Connect and read data from MongoDB using Serverless [14 of 16] | Beginner's Series to: Serverless


📈 28.14 Punkte
🎥 Video | Youtube

🎥 Create your first Serverless Function using VS Code [4 of 16] | Beginner's Series to: Serverless


📈 28.14 Punkte
🎥 Video | Youtube

🎥 Using Serverless as API for Static Web Apps [16 of 16] | Beginner's Series to: Serverless


📈 28.14 Punkte
🎥 Video | Youtube

🔧 Dive into the World of Serverless with "Building Serverless Applications with Google Cloud Run" 🚀


📈 27.3 Punkte
🔧 Programmierung

🔧 Orchestrating Serverless Workflows with Ease using AWS Step Functions


📈 26.91 Punkte
🔧 Programmierung

📰 Und Microsoft so: Cloud, Cloud, Cloud, Cloud, Cloud, Cloud, Cloud


📈 26.73 Punkte
📰 IT Security Nachrichten

🔧 Serverless Computing with Google Cloud Functions


📈 26.06 Punkte
🔧 Programmierung

📰 CloudKnox extends support for serverless functions on AWS, Azure, and Google Cloud


📈 26.06 Punkte
📰 IT Security Nachrichten

📰 Serverless: Google stellt Cloud Functions für .NET Core 3.1 zur Verfügung


📈 26.06 Punkte
📰 IT Nachrichten

🔧 Multi-Cloud Strategy: Pros and Cons of Using AWS, Azure, and GCP Together


📈 25.55 Punkte
🔧 Programmierung

🔧 Multi-Cloud Strategy: Pros and Cons of Using AWS, Azure, and GCP Together


📈 25.55 Punkte
🔧 Programmierung

🔧 GCP Cloud Digital Leader certification versus the AWS Cloud Practitioner, and are they worth it?


📈 24.71 Punkte
🔧 Programmierung

🔧 GCP for beginners 2024: Build a simple web app with Cloud Run and Cloud Build through terminal


📈 24.71 Punkte
🔧 Programmierung

📰 How to Connect to GCP Cloud SQL with Cloud SQL Auth Proxy in Docker


📈 24.71 Punkte
🔧 AI Nachrichten

📰 How an Attacker Can Achieve Persistence in Google Cloud Platform (GCP) with Cloud Shell


📈 24.71 Punkte
📰 IT Security Nachrichten

🔧 The Serverless Toolbox - Tools To Build Serverless Apps Easier


📈 23.48 Punkte
🔧 Programmierung

🔧 Serverless Resilience: How to Build a Reliable Serverless Platform


📈 23.48 Punkte
🔧 Programmierung

🎥 Publishing your Serverless Function to Azure [10 of 16] | Beginner's Series to: Serverless


📈 23.48 Punkte
🎥 Video | Youtube

matomo