SlideShare a Scribd company logo
How to deploy your Apps in
serverless-way using App
Engine
Furqon Mauladani
Agenda
• What is App Engine?
• App Engine Structure & Configuration
• App Engine Standard vs Flexible
• Service Pricing
• Demo
What is App Engine?
Cloud
DNS
Backend No-SQL
Database
Datastore
Frontend
Application
Compute Engine
Backend
Application
Compute Engine
Persistent
Disk
Persistent
Disk
3-tier Architecture without App Engine
Instance
Group
Frontend
Application
Compute Engine
External
HTTPS
Load
Balancin
g
Cloud
DNS
Instance
Group
Backend
Application
Compute Engine
Backend No-
SQL Database
Datastore
Persistent
Disk
Persistent
Disk
Internal
HTTP
Load
Balancin
g
3-tier Architecture without App Engine (Best Practice)
3-tier Architecture with App Engine Standard
Cloud
DNS
Backend No-SQL
Database
Datastore
Front & Backend
Application
App Engine
What is App Engine?
Service for building highly
scalable applications on a fully
managed serverless platform by
Google Cloud.
“Scale your applications from zero to planet
scale without having to manage
infrastructure”
What is Serverless?
 No upfront provisioning
 No management of servers
 Pay only what you use
 Dynamically scale as needed
App Engine Key Feature
1. Fully managed environment (lets you focus on code).
2. Automatic load balancing, and scaling.
3. Application versioning, and traffic splitting.
4. Custom runtimes allow to bring any library and
framework.
5. Manage resources from the CLI, debug source code,
and run API.
App Engine Structure
& Configuration
Region
Specific geographical location where you can host your resources. Regions
have three or more zones.
App Engine Structure
GCP Project
Setting Configuration via app.yaml
File that contains information
about app's settings, which
acts as a descriptor for its
deployment.
Setup App Engine Application on
Project
Setup application first using
Console, Google Cloud SDK,
or Cloud Shell. GCP Project
Cloud
Conso
le
gcloud app create --
region=region
/
GCP Project
Deploy Application on App Engine
Deploy app using Google
Cloud SDK/Cloud Shell.
gcloud app
deploy
GCP Project
Target URL
https://service-dot-project.et.r.appspot.com
Deploy New Versions
gcloud app deploy --version=v1-2 --no-
promote
--no-promote
to deploys
without routing
to new version
Migrate Traffic Between Versions
gcloud app services set-traffic service --splits
v1-2=1
--migrate
to gradually
migrate traffic
90%
Splitting Traffic Between Versions
90%
10%
gcloud app services set-traffic service --splits
old_version=weight, new_version=weight --split-by ip /
cookie
Resource Scaling
•Automatic
• Creates
instances based
on request rate,
response
latencies, and
other metrics.
• You can specify
thresholds for
the metric and
min instances.
Basic
• Creates
instances when
your app
receives
requests.
• Each instances
will be shut
down when the
app becomes
idle.
Manual
• Specifies the
number of
instances that
continuously run
regardless of the
load level.
App Engine Standard vs Flexible
Standard
• Application instances run in a sandbox.
• Specific versions of the supported
programming languages, i.e. Python 2.7 &
3.7-3.9, Java 8 & 11, Node.js 10, 12, 14,
16, PHP 5.5, 7.2-7.4, Ruby 2.5-2.7, Go
1.11-1.16.
• Run for free at limited quota or at very low
cost.
• Sudden and extreme spikes of traffic.
Flexible
• Application instances run within Docker
containers on Compute Engine.
• Any version of the supported programming
languages, i.e. Python, Java, Node.js, Go,
Ruby, PHP, or .NET.
• Custom runtime or source code written in
other programming languages.
• Accesses the resources that reside in the
Compute Engine network.
Feature Comparison
Feature Standard Flexible
Instance startup time Seconds Minutes
Deployment time Seconds Minutes
Scaling Manual, Basic, Automatic Manual, Automatic
Scale to zero Yes No, minimum 1 instance
SSH debugging No Yes
Writing to local disk Write access to
the /tmp directory except
Python 2.7 and PHP 5.5
Yes, ephemeral (disk
initialized on each VM
startup)
Installing third-party binaries Limited Yes
Service Pricing
Standard: Instance Classes & Usage Prices
Standard: Network Usage Prices
Flexible: Usage Prices
Google Pricing Calculator
https://cloud.google.com/products/calculator
Run Workloads for Free
https://cloud.google.com/free
Free Trial
• $300 in credits
• 3 months
• Register with
credit card
Free Tier
• 28 hours/day for
F1
• 9 hours/day for B1
• 1 GB egress/day
App Engine Demo
Class Recommendations
• Google Associate Cloud Engineer – Course Tracks
• Google Cloud Fundamentals: Core Infrastructure
• Architecting with Compute Engine
• Google Professional Cloud Architect – Course Tracks
• Google Associate Cloud Engineer – Course Tracks ++
• Design and Process
• Google Professional Cloud Developer – Course Tracks
• Google Cloud Fundamentals: Core Infrastructure
• Developing Applications with Google Cloud
Q & A
Feedback :
https://workshop.trainocate.co.id/feedback
Repository:
https://github.com/furqonm/python-gcp

More Related Content

PPTX
A tale in automation (Puppet to Ansible)
PDF
Infrastructure as code
PDF
Infrastructure as Code
PDF
Serverless Summit - Quiz
PDF
Infrastructure as Code
PPTX
What's new in ASP.NET vNext
PDF
Serverless
PDF
AppScale @ LA.rb
A tale in automation (Puppet to Ansible)
Infrastructure as code
Infrastructure as Code
Serverless Summit - Quiz
Infrastructure as Code
What's new in ASP.NET vNext
Serverless
AppScale @ LA.rb

What's hot (20)

PDF
AppScale + Neptune @ HPCDB
PPTX
DevOps: Infrastructure as Code
PPTX
Fast Deployments to Multiple Golang Lambda Functions
PDF
The future of cloud programming
PPTX
ONAP on Vagrant
PDF
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
PPTX
How to setup a development environment for ONAP
PPTX
High Performance Serverless Functions in Scala
PPTX
Continuous Integration - Mobile Practice
PPTX
PDF
Serverless testing @ serverlessdays Hamburg
PPTX
Serverless in azure
PDF
Infrastructure as Code
PDF
Fullstack DDD with ASP.NET Core and Anguar 2 - Ronald Harmsen, NForza
PDF
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
PPTX
Serverless Summit India 2017: Fission
PDF
Javantura v4 - FreeMarker in Spring web - Marin Kalapać
PDF
App42 PaaS - Application Hosting Platform
PPT
A journey from monolith to micro services
PPTX
Angular migration
AppScale + Neptune @ HPCDB
DevOps: Infrastructure as Code
Fast Deployments to Multiple Golang Lambda Functions
The future of cloud programming
ONAP on Vagrant
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
How to setup a development environment for ONAP
High Performance Serverless Functions in Scala
Continuous Integration - Mobile Practice
Serverless testing @ serverlessdays Hamburg
Serverless in azure
Infrastructure as Code
Fullstack DDD with ASP.NET Core and Anguar 2 - Ronald Harmsen, NForza
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
Serverless Summit India 2017: Fission
Javantura v4 - FreeMarker in Spring web - Marin Kalapać
App42 PaaS - Application Hosting Platform
A journey from monolith to micro services
Angular migration
Ad

Similar to How to deploy your Apps in serverless-way using App Engine.pptx (20)

PPTX
10 Reasons Why You Should Consider Google App Engine (GAE) for Your Next Project
PDF
Back to the Future: Containerize Legacy Applications
PPTX
Beginners Node.js
PDF
Modernizing Testing as Apps Re-Architect
PPT
App_Engine_PPT..........................
PPT
App_Engine_PPT.ppt
PPTX
What is Serverless Computing?
PDF
AWS for Java Developers workshop
PPTX
Azure Web Apps
PDF
Azure functions
PPT
APP engine regarding Google app engine presentation
PPT
App_Engine_PPT.ppt
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
PPTX
Google cloud platform
PPTX
Docker & aPaaS: Enterprise Innovation and Trends for 2015
PPTX
SoCal DevOps Meetup 1/26/2017 - Habitat by Chef
PPTX
How to create a Function App on Cosmos DB
PPTX
Google app engine BCA cloud computing subject
PPTX
Cloud Computing Complete lecture Notes CCII.pptx
10 Reasons Why You Should Consider Google App Engine (GAE) for Your Next Project
Back to the Future: Containerize Legacy Applications
Beginners Node.js
Modernizing Testing as Apps Re-Architect
App_Engine_PPT..........................
App_Engine_PPT.ppt
What is Serverless Computing?
AWS for Java Developers workshop
Azure Web Apps
Azure functions
APP engine regarding Google app engine presentation
App_Engine_PPT.ppt
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Google cloud platform
Docker & aPaaS: Enterprise Innovation and Trends for 2015
SoCal DevOps Meetup 1/26/2017 - Habitat by Chef
How to create a Function App on Cosmos DB
Google app engine BCA cloud computing subject
Cloud Computing Complete lecture Notes CCII.pptx
Ad

More from Institut Teknologi Sepuluh Nopember Surabaya (18)

PPTX
How Easy to Automate Application Deployment on AWS
PPTX
Keamanan Komputer [Pengantar Keamanan Komputer]
PPTX
Keamanan Komputer [Keamanan Komunikasi dan Jaringan]
PPTX
Keamanan Komputer [Sistem Manajemen Keamanan Informasi]
PPTX
Sistem Penunjang Keputusan [Analytical Hierarchy Process]
PPTX
Sistem Penunjang Keputusan [Simple Additive Weighting]
PPTX
Sistem Penunjang Keputusan [Sistem Penunjang Keputusan Kelompok]
PPTX
Sistem Penunjang Keputusan [Simulasi Monte Carlo]
PPTX
Sistem Penunjang Keputusan [Teori Pengambilan Keputusan]
PPTX
Sistem Penunjang Keputusan [Konsep dan Permodelan Sistem Penunjang Keputusan]
PPTX
Sistem Penunjang Keputusan [Sistem Penunjang Manajemen]
PPTX
Sistem Penunjang Keputusan [Pengantar]
PPTX
Perancangan SMKI Berdasarkan SNI ISO/IEC 27001:2013 dan SNI ISO/IEC 27005:201...
DOCX
UAS Analisa Sistem Keputusan MTI
DOCX
Pengembangan Sistem Informasi CRM pada Perusahaan Penerbangan PT.XXX untuk Pe...
DOCX
Review dan Translate Paper "Risk Ranking for Tunnelling Construction Projects...
How Easy to Automate Application Deployment on AWS
Keamanan Komputer [Pengantar Keamanan Komputer]
Keamanan Komputer [Keamanan Komunikasi dan Jaringan]
Keamanan Komputer [Sistem Manajemen Keamanan Informasi]
Sistem Penunjang Keputusan [Analytical Hierarchy Process]
Sistem Penunjang Keputusan [Simple Additive Weighting]
Sistem Penunjang Keputusan [Sistem Penunjang Keputusan Kelompok]
Sistem Penunjang Keputusan [Simulasi Monte Carlo]
Sistem Penunjang Keputusan [Teori Pengambilan Keputusan]
Sistem Penunjang Keputusan [Konsep dan Permodelan Sistem Penunjang Keputusan]
Sistem Penunjang Keputusan [Sistem Penunjang Manajemen]
Sistem Penunjang Keputusan [Pengantar]
Perancangan SMKI Berdasarkan SNI ISO/IEC 27001:2013 dan SNI ISO/IEC 27005:201...
UAS Analisa Sistem Keputusan MTI
Pengembangan Sistem Informasi CRM pada Perusahaan Penerbangan PT.XXX untuk Pe...
Review dan Translate Paper "Risk Ranking for Tunnelling Construction Projects...

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Machine learning based COVID-19 study performance prediction
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
cuic standard and advanced reporting.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation theory and applications.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Monthly Chronicles - July 2025
cuic standard and advanced reporting.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Chapter 3 Spatial Domain Image Processing.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Big Data Technologies - Introduction.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation theory and applications.pdf
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

How to deploy your Apps in serverless-way using App Engine.pptx