SlideShare a Scribd company logo
Introduction
Managed VMs
Cage Chung / GCPUG.TW
https://www.facebook.com/groups/GCPUG.TW/
https://plus.google.com/u/0/communities/116100913832589966421
[您知道”GCPUG”要怎麼唸嗎?為什麼會有一隻狗在 Logo裡面呢?]
Google Cloud Platform User Group的縮寫是GCPUG
GCPUG直接唸成G.C.P.U.G?當然可以!
但它也可以分開來,唸成 G.C. PUG喔~
Pug,指的是巴哥犬,所以 GCPUG的Logo中間才會有一隻可愛的巴哥犬喲。
下次聽到別人說G.C. PUG 的時候,您就可以大聲 說:「我也是G.C. PUG社團成員!」
Google App Engine
overview
Cloud Computing
Google Cloud Platform | Compute
PaasIaaS
Application
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Application
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Saas
Application
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Infrastructure as a Service Platform as a Service Service as a Service
You manage Google manage
GAE Architecture
App Engine | overview
● Storage
○ Cloud Storage
○ Cloud SQL
○ Cloud Datastore
● Memcache
● Task Queue
● Cloud Endpoints
App Engine APIs
App Engine | overview
Find more https://cloud.google.com/appengine/
Google App Engine: Platform as a Service
App Engine | Standard runtime
Python Java Php Go
Docker
overview
What’s Docker?
Docker | overview
[什麼是 Docker | 《Docker —— 從入門到實踐》正體中文版](http://philipzheng.gitbooks.io/docker_practice/content/introduction/what.html)
Why Docker?
docker | overview
Change
Management
Resource
Isolation
File system
Isolation
Network
Isolation
Image
Management
Sharing
Process
Management
[Docker Internals - Google Slides](https://goo.gl/a6Y773)
Image
Container
Registry
Basic Concept
Docker | overview
Managed VMs
Introduction
Managed VMs
App Engine
Beta
Hosting environment
Managed VMs
Standard Runtime vs. Custom Runtime
Managed VMs
Managed VMs
Computing
● Extension of App Engine
● Use Docker to run containers
● Can Use
○ Google configured containers
○ Custom containers
Dockerfile
app.yaml
$ gcloud preview app run
$ gcloud preview app deploy
gcloud SDK
Docker registry
container
dockerd
VM*
* A VM running docker
Dockerfile
FROM google/appengine-python27
# Install pandas
RUN apt-get update && apt-get install -y -q --no-install-
recommends python-pandas python-numpy
# Install Google Map APIs, Google Client Library
ADD requirements.txt /app/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
ADD . /app
Create the App Engine
[Managed VMs - App Engine — Google Cloud Platform](https://goo.gl/4FFSmm)
application: waldo-gcp
module: optimal-waypoints
version: 1
runtime: python27
api_version: 1
threadsafe: yes
vm: true
automatic_scaling:
min_num_instances: 1
max_num_instances: 5
cool_down_period_sec: 60
cpu_utilization:
target_utilization: 0.5
Create the App Engine | app.yaml
application: waldo-gcp
module: screenshot
version: 1
runtime: custome
api_version: 1
threadsafe: yes
vm: true
resources:
cpu: .5
memory_gb: 1.3
manual_scaling:
instances: 1
Standard runtime Custom runtime
Behind the scenes
gcloud deploy
gcloud build
Your awesome
docker images
your laptop
Google App
Engine
Your awesome
docker images
docker container
private Google
Cloud Storage
bucket
update start
Google Compute
Engine Instance
using
google/docker-registry
container
docker run
using
google/docker-registry
container
docker push
docker pull
App Engine for Docker
Simple to manage
Private Registry bucket
APIs and SDK
Loadbalancing
Autoscaling
Use any library
Run any code
Transparency
New runtimes, build your own
Docker for App Engine
Demo
https://github.com/cage1016/managed-vms-lab
Managed VMs | architecture
App Engine
Sandbox
App Engine
Managed VMs
...
Python Go
default module
Managed VMs module
or
custom runtimes
dispatch.yaml
dispatch:
- url: "*/favicon.ico"
module: default
- url: "qnap-gcp-lab-003.appspot.com/"
module: default
- url: "*/module1/*"
module: module1
- url: "*/*"
module: "default"
Demo Application | architecture
Application hierarchy
[App Engine Modules in Python](https://goo.gl/p3nl48)
[App Engine Modules in Go](https://goo.gl/KpdKpF)
dispatch.yaml
Golang
https://qnap-gcp-lab-003.appspot.com (default)
https://1-dot-module1-dot-qnap-gcp-lab-003.appspot.com (module 1) Managed VMs
https://qnap-gcp-lab-003.appspot.com/module1/ (module1) Managed VMs
https://qnap-gcp-lab-003.appspot.com/module1/sayhi (module1 sayhi) Managed VMs
Python
https://qnap-gcp-lab-002.appspot.com/ (default)
https://module1-dot-qnap-gcp-lab-002.appspot.com/ (module1) Managed VMs
https://qnap-gcp-lab-002.appspot.com/module1/ (module1) Managed VMs
https://qnap-gcp-lab-002.appspot.com/module1/income_file (module income_file) Managed VMs
Demo Application | dispatch
[Routing Requests to Modules - Go — Google Cloud Platform](https://goo.gl/CaYpFD)
[Routing Requests to Modules - Python — Google Cloud Platform](https://goo.gl/7P5Qfg)
Google App Engine
overview
Thanks
http://gcpug.tw
Q&A

More Related Content

PDF
Django oscar introduction
PDF
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
PDF
Google App Engine (GAE) 演進史
PDF
Continuous Integration & Continuous Delivery with GCP
PDF
Nas 也可以揀土豆
PDF
Google apps script introduction
PDF
Screenshot as a service
PDF
Google App Engine: Basic
Django oscar introduction
60分鐘完送百萬edm,背後雲端ci/cd實戰大公開
Google App Engine (GAE) 演進史
Continuous Integration & Continuous Delivery with GCP
Nas 也可以揀土豆
Google apps script introduction
Screenshot as a service
Google App Engine: Basic

What's hot (20)

PDF
Automating your workflow with Gulp.js
PDF
Frontend JS workflow - Gulp 4 and the like
PDF
Gdg cloud taipei ddt meetup #53 buildpack
PDF
How to integrate front end tool via gruntjs
PPTX
Automated Development Workflow with Gulp
PDF
Coscup x ruby conf tw 2021 google cloud buildpacks 剖析與實踐
PDF
Devfest 2021' - Artifact Registry Introduction (Taipei)
PDF
Dev fest 2020 taiwan how to debug microservices on kubernetes as a pros (ht...
PPTX
Gulp: Task Runner
PDF
Devenez le plus heureux des Front-end avec Gulp.js
PDF
Automating Large Applications on Modular and Structured Form with Gulp
PDF
Intro to Gulp
PDF
Heroku 101 py con 2015 - David Gouldin
PPTX
Introduction to Gulp
PDF
Improving your workflow with gulp
PDF
Introduction to Grunt.js on Taiwan JavaScript Conference
PPTX
Web Apps on Linux (Paas)
PDF
Gulp - the streaming build system
PDF
Big query - Command line tools and Tips - (MOSG)
PDF
Gulp - The Streaming Build System
Automating your workflow with Gulp.js
Frontend JS workflow - Gulp 4 and the like
Gdg cloud taipei ddt meetup #53 buildpack
How to integrate front end tool via gruntjs
Automated Development Workflow with Gulp
Coscup x ruby conf tw 2021 google cloud buildpacks 剖析與實踐
Devfest 2021' - Artifact Registry Introduction (Taipei)
Dev fest 2020 taiwan how to debug microservices on kubernetes as a pros (ht...
Gulp: Task Runner
Devenez le plus heureux des Front-end avec Gulp.js
Automating Large Applications on Modular and Structured Form with Gulp
Intro to Gulp
Heroku 101 py con 2015 - David Gouldin
Introduction to Gulp
Improving your workflow with gulp
Introduction to Grunt.js on Taiwan JavaScript Conference
Web Apps on Linux (Paas)
Gulp - the streaming build system
Big query - Command line tools and Tips - (MOSG)
Gulp - The Streaming Build System
Ad

Similar to Gae managed vm introduction (20)

PDF
Google app engine (gae) 演進史
PDF
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
PDF
Google Cloud Platform for Python Developer - Beginner Guide.pdf
PDF
Hands on Compute Engine
PDF
Waldo-gcp
PDF
Lambda Architecture using Google Cloud plus Apps
PDF
A fresh look at Google’s Cloud by Mandy Waite
PDF
Google Cloud Computing compares GCE, GAE and GKE
PDF
Google Cloud - Scale With A Smile (Dec 2014)
PDF
Google Cloud Monitor與Custom Metrics
PPTX
Gdsc muk - innocent
PDF
Google Cloud Platform
PDF
GCP overview
PDF
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
PPTX
Week 1 - ACE.pptx
PDF
Google compute engine - overview
PDF
Mandy Waite, Warszawa marzec 2013
PDF
A Tour of Google Cloud Platform
PDF
Next Generation Cloud Computing With Google - RightScale Compute 2013
PPTX
Powering your Apps via Google Cloud Platform
Google app engine (gae) 演進史
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
Google Cloud Platform for Python Developer - Beginner Guide.pdf
Hands on Compute Engine
Waldo-gcp
Lambda Architecture using Google Cloud plus Apps
A fresh look at Google’s Cloud by Mandy Waite
Google Cloud Computing compares GCE, GAE and GKE
Google Cloud - Scale With A Smile (Dec 2014)
Google Cloud Monitor與Custom Metrics
Gdsc muk - innocent
Google Cloud Platform
GCP overview
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
Week 1 - ACE.pptx
Google compute engine - overview
Mandy Waite, Warszawa marzec 2013
A Tour of Google Cloud Platform
Next Generation Cloud Computing With Google - RightScale Compute 2013
Powering your Apps via Google Cloud Platform
Ad

More from KAI CHU CHUNG (13)

PDF
Devfest 2023 - Service Weaver Introduction - Taipei.pdf
PDF
DevFest 2022 - Skaffold 2 Deep Dive Taipei.pdf
PDF
DevFest 2022 - Cloud Workstation Introduction TaiChung
PDF
Velero search & practice 20210609
PDF
GDG Cloud Taipei: Meetup #52 - Istio Security: API Authorization
PDF
如何透過 Go-kit 快速搭建微服務架構應用程式實戰
PDF
COSCUP 2020 Google 技術 x 公共參與 x 開源 口罩地圖技術開源
PDF
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
PDF
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
PDF
Global GDG Leaders Summit, Google I/O 2018 經驗分享
PDF
Google apps script introduction
PDF
痞客趴趴走 Waldo
PDF
Introduction to chrome extension development
Devfest 2023 - Service Weaver Introduction - Taipei.pdf
DevFest 2022 - Skaffold 2 Deep Dive Taipei.pdf
DevFest 2022 - Cloud Workstation Introduction TaiChung
Velero search & practice 20210609
GDG Cloud Taipei: Meetup #52 - Istio Security: API Authorization
如何透過 Go-kit 快速搭建微服務架構應用程式實戰
COSCUP 2020 Google 技術 x 公共參與 x 開源 口罩地圖技術開源
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
GDG Devfest 2019 - Build go kit microservices at kubernetes with ease
Global GDG Leaders Summit, Google I/O 2018 經驗分享
Google apps script introduction
痞客趴趴走 Waldo
Introduction to chrome extension development

Recently uploaded (20)

PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Internet___Basics___Styled_ presentation
PDF
The Internet -By the Numbers, Sri Lanka Edition
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
Digital Literacy And Online Safety on internet
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Introduction to the IoT system, how the IoT system works
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Internet___Basics___Styled_ presentation
The Internet -By the Numbers, Sri Lanka Edition
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Paper PDF World Game (s) Great Redesign.pdf
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Module 1 - Cyber Law and Ethics 101.pptx
introduction about ICD -10 & ICD-11 ppt.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
The New Creative Director: How AI Tools for Social Media Content Creation Are...
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Digital Literacy And Online Safety on internet
PptxGenJS_Demo_Chart_20250317130215833.pptx
Job_Card_System_Styled_lorem_ipsum_.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
SAP Ariba Sourcing PPT for learning material
522797556-Unit-2-Temperature-measurement-1-1.pptx
Introuction about ICD -10 and ICD-11 PPT.pptx
Introduction to the IoT system, how the IoT system works
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)

Gae managed vm introduction