SlideShare a Scribd company logo
1 of 9
Download to read offline
Follow-up to
Dan's
BayPIGgies
talk v2
Wesley Chun, Developer
Advocate, Google Cloud
What is Google Cloud?
● Organization at Google producing 2 well-known platforms
● GCP == Google Cloud Platform
○ Normal cloud services like AWS
○ "Users" are generally developers
● G Suite == Gmail, Google Drive, Calendar, Docs, Sheets, Slides, etc.
○ "Users" are consumer users, but developer APIs available
● Access cloud console at console.cloud.google.com
Billing, free trial, "Always Free" tier
● GCP == Google Cloud Platform
○ Billed, need CC to enable GCP APIs
○ Free trial: $300 (12-mo clock starts immediately)
○ "Always Free" tier: always free every month "forever"
○ More on both at cloud.google.com/free
● G Suite == Gmail, Google Drive, Calendar, Docs, Sheets, Slides, etc.
○ Covered by monthly G Suite subscription fee
○ Includes "free" service for Gmail accts
○ APIs free to use, i.e., no billing, no CC
User auth vs. service acct auth
● For cloud-based apps, generally server-to-server
○ Service or robot accounts; primarily GCP APIs
● G Suite APIs == special case
○ G Suite data generally owned by actual users
○ Use user auth for data owned by users
■ Create OAuth client ID credentials
○ Everything else can be service accts
■ Create Service account key credentials
○ Can generate documents via service accts
■ Then share w/real users like Dan's example
Project ID vs. project name
● Project name: it's for you; can edit/change as desired
● Project ID: immutable, permanent, namespace-limited
● Dan suggested mup0822: perfectly fine for project name BUT
○ Can't (re)use for project IDs
○ Recommend login-mup0822 if custom ID desired
Need to make a VM?
● Get basic VM for free (monthly)
○ 1 free F1-micro instance
■ US-only; exc. Nor VA (us-east4)
○ 600MB RAM, 30 GB-months HDD
○ 5 GB-months snapshot in select regions
○ 1 GB NW egress from NorAm to all regions/mo
■ Exc. China & Australia
● Anything beyond this costs $$
● Again, see cloud.google.com/free
Alternative: Google Cloud Shell
● Little blue shell thingy @ top of console
● Definitely free (vs. VM)
● 2.2GHz CPU, 5GB PD
● No ssh needed; access shell via browser
● Linux environment (Debian-based) configured for Google Cloud
○ Google Cloud SDK (gcloud)
○ Google App Engine SDK (appcfg.py, dev_appserver.py )
● Developer tools pre-installed
● Popular language support
● cloud.google.com/shell
Cloud Shell developer features
● Developer tools pre-installed
○ Docker
○ Git
○ Text editors (emacs, vim)
○ Build tools
● Popular language support
○ Python (2 and 3)
○ Node.js and npm
○ Java
○ Go
○ Ruby
○ PHP
Other references
● G Suite developer overviews & platform video
○ developers.google.com/gsuite
● Gmail, Google Drive, Docs, Sheets, Slides API docs, etc.
○ developers.google.com/{gmail,drive,docs,sheets,slides}
● Working with field masks (docs page; videos forthcoming)
○ developers.google.com/slides/how-tos/field-masks
○ Videos: goo.gl/9kmAEf and goo.gl/1Xhm04
● Markdown-to-Google Slides generator code repo (JS)
○ github.com/gsuitedevs/md2googleslides
● "G Suite Dev Show" video series
○ goo.gl/JpBQ40
● Link to Dan's material (lesson 18)
○ cs101.us
● Link(s) to Wesley's May 2019 and Aug 2016 talks
○ meetup.com/BAyPIGgies/events/260872440
● Contact
○ @wescpy@

More Related Content

More from wesley chun

More from wesley chun (20)

Exploring Google APIs 102: Cloud vs. non-GCP Google APIs
Exploring Google APIs 102: Cloud vs. non-GCP Google APIsExploring Google APIs 102: Cloud vs. non-GCP Google APIs
Exploring Google APIs 102: Cloud vs. non-GCP Google APIs
 
Serverless Computing with Python
Serverless Computing with PythonServerless Computing with Python
Serverless Computing with Python
 
Easy path to machine learning (2022)
Easy path to machine learning (2022)Easy path to machine learning (2022)
Easy path to machine learning (2022)
 
Google... more than just a cloud
Google... more than just a cloudGoogle... more than just a cloud
Google... more than just a cloud
 
Accessing Google Cloud APIs
Accessing Google Cloud APIsAccessing Google Cloud APIs
Accessing Google Cloud APIs
 
Serverless computing with Google Cloud
Serverless computing with Google CloudServerless computing with Google Cloud
Serverless computing with Google Cloud
 
Serverless Computing with Google Cloud
Serverless Computing with Google CloudServerless Computing with Google Cloud
Serverless Computing with Google Cloud
 
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud RunDesigning flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
 
Image archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google CloudImage archive, analysis & report generation with Google Cloud
Image archive, analysis & report generation with Google Cloud
 
Easy path to machine learning (Spring 2021)
Easy path to machine learning (Spring 2021)Easy path to machine learning (Spring 2021)
Easy path to machine learning (Spring 2021)
 
Exploring Google APIs with Python
Exploring Google APIs with PythonExploring Google APIs with Python
Exploring Google APIs with Python
 
Serverless Computing with Google Cloud
Serverless Computing with Google CloudServerless Computing with Google Cloud
Serverless Computing with Google Cloud
 
Run your code serverlessly on Google's open cloud
Run your code serverlessly on Google's open cloudRun your code serverlessly on Google's open cloud
Run your code serverlessly on Google's open cloud
 
Serverless Computing with Python
Serverless Computing with PythonServerless Computing with Python
Serverless Computing with Python
 
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google CloudIntroduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
 
Easy path to machine learning (Spring 2020)
Easy path to machine learning (Spring 2020)Easy path to machine learning (Spring 2020)
Easy path to machine learning (Spring 2020)
 
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScriptExploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
 
Google Cloud @ Hackathons (2020)
Google Cloud @ Hackathons (2020)Google Cloud @ Hackathons (2020)
Google Cloud @ Hackathons (2020)
 
Powerful Google Cloud tools for your hack (2020)
Powerful Google Cloud tools for your hack (2020)Powerful Google Cloud tools for your hack (2020)
Powerful Google Cloud tools for your hack (2020)
 
Google Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScriptGoogle Apps Script: Accessing G Suite & other Google services with JavaScript
Google Apps Script: Accessing G Suite & other Google services with JavaScript
 

Recently uploaded

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 

Recently uploaded (20)

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 

Follow-up to Dan's BayPIGgies talk v2

  • 1. Follow-up to Dan's BayPIGgies talk v2 Wesley Chun, Developer Advocate, Google Cloud
  • 2. What is Google Cloud? ● Organization at Google producing 2 well-known platforms ● GCP == Google Cloud Platform ○ Normal cloud services like AWS ○ "Users" are generally developers ● G Suite == Gmail, Google Drive, Calendar, Docs, Sheets, Slides, etc. ○ "Users" are consumer users, but developer APIs available ● Access cloud console at console.cloud.google.com
  • 3. Billing, free trial, "Always Free" tier ● GCP == Google Cloud Platform ○ Billed, need CC to enable GCP APIs ○ Free trial: $300 (12-mo clock starts immediately) ○ "Always Free" tier: always free every month "forever" ○ More on both at cloud.google.com/free ● G Suite == Gmail, Google Drive, Calendar, Docs, Sheets, Slides, etc. ○ Covered by monthly G Suite subscription fee ○ Includes "free" service for Gmail accts ○ APIs free to use, i.e., no billing, no CC
  • 4. User auth vs. service acct auth ● For cloud-based apps, generally server-to-server ○ Service or robot accounts; primarily GCP APIs ● G Suite APIs == special case ○ G Suite data generally owned by actual users ○ Use user auth for data owned by users ■ Create OAuth client ID credentials ○ Everything else can be service accts ■ Create Service account key credentials ○ Can generate documents via service accts ■ Then share w/real users like Dan's example
  • 5. Project ID vs. project name ● Project name: it's for you; can edit/change as desired ● Project ID: immutable, permanent, namespace-limited ● Dan suggested mup0822: perfectly fine for project name BUT ○ Can't (re)use for project IDs ○ Recommend login-mup0822 if custom ID desired
  • 6. Need to make a VM? ● Get basic VM for free (monthly) ○ 1 free F1-micro instance ■ US-only; exc. Nor VA (us-east4) ○ 600MB RAM, 30 GB-months HDD ○ 5 GB-months snapshot in select regions ○ 1 GB NW egress from NorAm to all regions/mo ■ Exc. China & Australia ● Anything beyond this costs $$ ● Again, see cloud.google.com/free
  • 7. Alternative: Google Cloud Shell ● Little blue shell thingy @ top of console ● Definitely free (vs. VM) ● 2.2GHz CPU, 5GB PD ● No ssh needed; access shell via browser ● Linux environment (Debian-based) configured for Google Cloud ○ Google Cloud SDK (gcloud) ○ Google App Engine SDK (appcfg.py, dev_appserver.py ) ● Developer tools pre-installed ● Popular language support ● cloud.google.com/shell
  • 8. Cloud Shell developer features ● Developer tools pre-installed ○ Docker ○ Git ○ Text editors (emacs, vim) ○ Build tools ● Popular language support ○ Python (2 and 3) ○ Node.js and npm ○ Java ○ Go ○ Ruby ○ PHP
  • 9. Other references ● G Suite developer overviews & platform video ○ developers.google.com/gsuite ● Gmail, Google Drive, Docs, Sheets, Slides API docs, etc. ○ developers.google.com/{gmail,drive,docs,sheets,slides} ● Working with field masks (docs page; videos forthcoming) ○ developers.google.com/slides/how-tos/field-masks ○ Videos: goo.gl/9kmAEf and goo.gl/1Xhm04 ● Markdown-to-Google Slides generator code repo (JS) ○ github.com/gsuitedevs/md2googleslides ● "G Suite Dev Show" video series ○ goo.gl/JpBQ40 ● Link to Dan's material (lesson 18) ○ cs101.us ● Link(s) to Wesley's May 2019 and Aug 2016 talks ○ meetup.com/BAyPIGgies/events/260872440 ● Contact ○ @wescpy@