Загрузка...

Build a Serverless SSH KeyGen API on GCP | Pub/Sub + Cloud Functions

#GCP #PubSub #CloudFunctions #Firestore #Terraform #InfrastructureAsCode #Serverless

Build a Serverless SSH KeyGen API on GCP | Pub/Sub + Cloud Functions

In this video, we demonstrate how to build a fully serverless microservice on
Google Cloud Platform — a lightweight SSH key generation API powered by Google
Cloud Pub/Sub, Cloud Functions (Python), HTTP triggers, and Cloud Firestore.

The service processes asynchronous SSH key generation requests end-to-end with
no virtual machines or long-running infrastructure, showcasing how to design
clean, event-driven, cloud-native architectures on GCP using Terraform.

What You’ll Learn
- Design a serverless, event-driven microservice architecture on Google Cloud
- Provision Google Cloud Pub/Sub topics and subscriptions using Terraform
- Build Python-based Cloud Functions for HTTP and Pub/Sub–triggered workloads
- Generate SSH keypairs securely in memory using cryptography
- Store and retrieve results from Firestore using correlation IDs
- Expose /keygen and /result/{request_id} endpoints via Cloud Functions
- Deploy a simple static HTML frontend for browser-based testing
- Destroy and clean up all GCP resources safely with a single script

Resources Deployed
- Google Cloud Pub/Sub topic and subscription for request processing
- Cloud Functions (Python) with HTTP and Pub/Sub triggers
- Cloud Firestore collection with TTL-enabled results
- Cloud Storage bucket for static website hosting
- Cloud Logging and Monitoring for observability
- Service accounts and IAM roles for secure, least-privilege access

GitHub - https://github.com/mamonaco1973/gcp-pubsub-keygen
README - https://github.com/mamonaco1973/gcp-pubsub-keygen/blob/main/README.md

Timestamps

00:00 Introduction
02:02 Prerequisites
02:43 Build the Code
04:08 Build Results
05:24 Demo

Видео Build a Serverless SSH KeyGen API on GCP | Pub/Sub + Cloud Functions канала Mike's Cloud Solutions
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять