Skip to content

Instantly share code, notes, and snippets.

@wescpy
Last active May 1, 2024 05:19
Show Gist options
  • Save wescpy/4fd5847af0a21ba703ed79b0f0634e5c to your computer and use it in GitHub Desktop.
Save wescpy/4fd5847af0a21ba703ed79b0f0634e5c to your computer and use it in GitHub Desktop.
Instructions for Wesley Chun workshop at GDG Sudbury 2024 "Build with AI" event

GDG Sudbury: "Build with AI" workshops (2024 May 4)

Google serverless platforms

This workshop is intended on getting you up-to-speed running code on Google as quickly (and as cheaply) as possible on its serverless platforms. Self-link: http://bit.ly/gdgsudbury2024


Exercise 1: Google Workspace (GWS) serverless (Apps Script)

Prerequisites

  • Basic JavaScript may be helpful but not required.
  • A Google account (Gmail or corporate Workspace domain)
  • Create a new spreadsheet, either from Google Drive or http://sheets.new
  • No billing is required for this codelab workshop.

CodeLab(s)

Extra info

Repo


Exercise 2: Google Cloud (GCP) serverless (GAE, GCF, GCR)

Prerequisites

  • Basic Python or Node.js/JavaScript and POSIX shell skills
  • A Google account (Gmail or corporate Workspace domain)
  • A GCP project (create a new one or reuse an existing one)
  • A GCP billing account (create a new one or reuse an existing one)
  • Activate GCP credits for that billing account per event organizer instructions
  • Install GCP SDK (includes gcloud CLI) or use Cloud Shell https://shell.cloud.google.com
  • Enable GCP services: gcloud services enable appengine.googleapis.com artifactregistry.googleapis.com cloudfunctions.googleapis.com run.googleapis.com translate.googleapis.com

Repo

CodeLab(s)

Lang/Vers Deployment Link
Python 3.8+ cloud: GAE http://g.co/codelabs/nebserv-gae3
Python 3.8+ cloud: GCF http://g.co/codelabs/nebserv-gcf
Python 3.8+ cloud: GCR, Docker http://g.co/codelabs/nebserv-gcr3
Python 3.8+ cloud: GCR, no Docker http://g.co/codelabs/nebserv-gcrbp
Node.js 18+ all http://g.co/codelabs/nebserv-node
Python 2.7 or 3.8+ Flask/local http://g.co/codelabs/nebserv-flask
Python 2.7 cloud: GCR http://g.co/codelabs/nebserv-gcr2

Extra info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment