Google Cloud Platform
Simon Su @ MiCloud
Google Cloud Platform Start Already
Cloud Platform Family

Cloud Datastore

CloudSQL

App Engine

Compute
Engine

Cloud Storage

BigQuery
Google App Engine

Google App Engine - A managed, scaled, robusted PaaS
What is GAE?
●
●
●
●
●
●
●
●
●
●

Load balancing
Caching
IDE
Monitor
Distribute
HA / DR
Version control
Resources
Pay by use
Common
Google App Engine

●
●
●
●

Managed
Scalability
Reliability
Cost efficient
Features

●
●
●
●
●

Data storage, retrieval, and search
Communications
Process management
Computation
App configuration and management
GAE - Quota Manage
Billing Page

Operations

Billing Status

View billing status, Change budget, Add/remove/view billing administrators

Usage History

View daily usage statistics and costs

Transaction History (*)

Make payments, view the current balance and monthly billing transactions

Billing Profile (*)

View and change contact information

Billing Settings (*)

View and change payment information
Growth and Revolution of GAE

(I/O2012)
Pricing
Resource

Unit

Unit cost (USD)

Outgoing Bandwidth

Gigabytes

$0.12

Frontend Instances (F1 -F4_1G class)

Instance hours

$0.08 - $0.48

Discounted Instances

Instance hours

$0.05

Backend Instances (B1 -B8 class)

Hourly per instance

$0.08 - $0.64

Stored Data (Blobstore)

Gigabytes per month

$0.13

Stored Data (Datastore)

Gigabytes per month

$0.18

Stored Data (Logs Data)

Gigabytes per month

$0.24

Stored Data (Task Queue)

Gigabytes per month

$0.24

Dedicated Memcache

Gigabytes per hour

$0.12

SNI SSL certificates

Sets of five SNI certificate slots per month

$9.00

SSL Virtual IPs (VIPs)

Virtual IP per month

$39.00

PS: Datastore operations pricing - $0.1 ~ $0.9 per 100K operations
Cloud Datastore

Cloud Datastore - Schemaless object datastore with robust, scalable storage...
Features
●
●
●
●
●
●

Shift from GAE service to Cloud service
NoSQL database
ACID transactions
High availability of reads and writes
Strong consistency / Eventual consistency
Fully managed by Google infrastructure
○
○
○
○

No planned downtime.
Replicated across multiple datacenters.
Automatically scales to handle traffic increase.
Monitored by Google engineers.
Developer Support
●
●
●
●
●
●
●
●

GAE integrate (Python, Java, Go, Php)
Local development server
Auto / Customize index
JSON API over REST
GQL query language
CLI tool - GCD
Web tool - Google Cloud Console
Usage statistic
Cloud Integration & Limitation
● Google Account / Authentication integrated
● BigQuery import integrated
● Limitation
Limit

Amount

Maximum entity size

1 megabyte

Maximum transaction size

10 megabytes

Maximum number of index entries for an entity

20000

Maximum number of bytes in composite indexes for an entity

2 megabytes
Pricing
Resource

Free Default Daily Limit

Billing Enabled Default Limit

Stored Data (billable)

1 GB Note: Not a daily limit but a total

1 GB free; no maximum

limit.
Number of Indexes

200 Note: Not a daily limit but a total limit.

200

Write Operations

50,000

Unlimited

Read Operations

50,000

Unlimited

Small Operations

50,000

Unlimited
Google Cloud Storage

watch videos, screen casts,
and presentations that walk
through how to use Google
Cloud Storage.

VIDEOS

download sample
applications, read howto
guides, and learn how to use
Google Cloud Storage with
other Google products.

SAMPLES

ask questions, discuss
solutions, and join our
vibrant community of
developers.

COMMUNITY

Google Cloud Storage - Object storage service, without limit and global deployed
What is Cloud Storage?
SDK, API Support
Web Console
GAE Integrate
Oauth2 Integrate
Unlimited
Global Deploy
GCS - Features
●
●
●
●
●
●
●
●

High Capacity and Scalability
Strong Data Consistency
Google Cloud Console Projects
Bucket Locations
REST APIS
OAuth 2.0 Authentication
Authenticated Browser Downloads
Google Account Support for Sharing
Fast, Scalable, Highly Available
● Multiple layers of redundancy. All data
replicated to multiple data centers.
● Read-your-writes data consistency.
● Objects can be terabytes in size, with
resumable uploads and downloads, and
range read support.
● Domain-scoped bucket namespace.
● Store your data in the U.S. or the European
Union.
Easy, Flexible Auth and Sharing
● OAuth 2.0 Authentication
● Individual, project and group-level access
controls.
● Customizable default object ACLs.
● Application-driven access control.
● Authenticated uploads and downloads from
a web browser.
Regions
● Auto / Manual Region: EU, US
● Locations: US-EAST1, US-EAST2, USEAST3, US-CENTRAL1, US-CENTRAL2,
US-WEST1
● Global replicate
Developer Support
● Google App Engine Integrated Services
○ BlobStore
○ Upload URL
○ Image API

● CLI - gsutil
● XML API
● JSON API
Pricing
Monthly Usage

Standard Storage (per GB per month)

DRA Storage Price (per GB per month)

First 0-1 TB

$0.085

$0.063

Next 9 TB

$0.076

$0.054

Next 90 TB

$0.067

$0.049

Next 400 TB

$0.063

$0.045

Next 4500 TB

$0.054

$0.042

Network (Egress) - Americas

Network (Egress) - Asia-Pacific

and EMEA* (per GB)

(per GB)

Free

Free

0 - 1TB

$0.12

$0.21

Next 9TB

$0.11

$0.18

Next 90TB

$0.08

$0.15

Monthly Usage

Data Transfer to Cloud

Network (Ingress)

services in the same Region
Free
Google BigQuery

Google BigQuery - Big data with SQL like query feature, but fast...
BigQuery Features
● TB level data
analysis
● Fast mining
response
● SQL like query
language
● Multi-dataset
interactive support
● Cheap and pay by
use
● Offline job support
Support User Interfaces
●
●
●
●
●

Browser tool
CLI - bq command
REST API
SDK (client libraries)
3’rd party tools
Google Cloud Platform Integrate

Cloud Storage

AppEngine
Datastore
AppEngine Log

BigQuery
Pricing

1

Charges rounded up to the nearest
MB; minimum 1 MB data processed
per query
2
The first 100 GB of data processed
per month is at no charge

On-demand pricing table
Resource

Pricing

Storage

$80 (per TB/month)

Interactive Queries

$35 (per TB processed)12

Batch Queries

$20 (per TB processed)

Package pricing table
Data amount

Cost

100 TB

$3,300 per month ($33 per TB)

400 TB

$12,000 per month ($30 per TB)

1,500 TB

$40,500 per month ($27 per TB)

4,000 TB

$100,000 per month ($25 per TB)
Google Cloud SQL

Google Cloud SQL - Full managed MySQL database instance
Features
●
●
●
●
●
●

Familiar Infrastructure
Flexible Charging
Security, Availability, Durability
EU and US Data Centers
Easier Migration; No Lock-in
Control
Connect tools
●
●
●
●
●
●

Using the command line prompt
API console SQL prompt
Admin tools and reporting tools
External applications
From App Engine: Java, Python
From Google Apps Script scripts
Current Restrictions
●
●
●
●

Size limit for individual instances is 100GB
User defined functions are not supported
MySQL replication is not supported
Statements not supported:
○
○
○
○
○

LOAD DATA INFILE
SELECT ... INTO OUTFILE/DUMPFILE
INSTALL/UNINSTALL PLUGIN ...
CREATE FUNCTION ...
LOAD_FILE()

● Functions are not supported:
○ SHA2()
Pricing - By Packages
Tier

RAM

Included Storage

Included I/O per Day

Charge per Day

D0

0.125GB

0.5GB

200K

$0.36

D1

0.5GB

1GB

850K

$1.46

D2

1GB

2GB

1.7M

$2.93

D4

2GB

5GB

4M

$5.86

D8

4GB

10GB

8M

$11.71

D16

8GB

10GB

16M

$23.42

D32

16GB

10GB

32M

$46.84
Pricing - Per Use
Resource

Charge

D0 Database Instance (0.125GB RAM)

$0.025 per hour

D1 Database Instance (0.5GB RAM)

$0.10 per hour

D2 Database Instance (1GB RAM)

$0.19 per hour

D4 Database Instance (2GB RAM)

$0.38 per hour

D8 Database Instance (4GB RAM)

$0.77 per hour

D16 Database Instance (8GB RAM)

$1.54 per hour

D32 Database Instance (16GB RAM)

$3.08 per hour

1GB Storage

$0.24 per month

I/O

$0.10 per Million
Pricing - Network
Resource

Charge

External Outbound Traffic

$0.12 per GB
Google Compute Engine

Google Computing Engine - Run virtual machines at Google Scale
Features
●
●
●
●
●

Scale, performance, and value
Flexibility and an Open Environment
Predictable Performance
Strong Security
Environmental Impact
Machine Types
● Standard Machine Types
● Shared-core Machine Types
○ applications don't require a lot of resources
○ more cost-effective
○ for running small, non-resource intensive
applications than other types

● High Memory Machine Types
● High CPU Machine Types
Network Detail
Network Security
Pricing - Standard & Micro
Configuration

Virtual Cores

Memory (GB1)

GCEUs

Local Disk (GB)

Price (USD) / Hour

n1-standard-1-d

1

3.75

2.75

420

$0.132

n1-standard-2-d

2

7.50

5.50

870

$0.265

n1-standard-4-d

4

15

11

1770

$0.530

n1-standard-8-d

8

30

22

2 x 1770

$1.060

n1-standard-1

1

3.75

2.75

0*

$0.115

n1-standard-2

2

7.50

5.50

0

$0.230

n1-standard-4

4

15

11

0

$0.461

n1-standard-8

8

30

22

0

$0.922

Configuration

Virtual Cores

Memory (GB)

GCEUs

Local Disk (GB)

Price (USD) / Hour

f1-micro

1

0.60

Shared CPU

0

$0.019

g1-small

1

1.70

1.38

0

$0.054
Pricing - High Memory
Configuration

Virtual Cores

Memory (GB)

GCEUs

Local Disk (GB)

Price (USD) / Hour

n1-highmem-2-d

2

13

5.50

870

$0.305

n1-highmem-4-d

4

26

11

1770

$0.611

n1-highmem-8-d

8

52

22

2 x 1770

$1.221

n1-highmem-2

2

13

5.50

0*

$0.244

n1-highmem-4

4

26

11

0

$0.488

n1-highmem-8

8

52

22

0

$0.975
Pricing - High CPU
Configuration

Virtual Cores

Memory (GB)

GCEUs

Local Disk (GB)

Price (USD) / Hour

n1-highcpu-2-d

2

1.80

5.50

870

$0.163

n1-highcpu-4-d

4

3.60

11

1770

$0.326

n1-highcpu-8-d

8

7.20

22

2 x 1770

$0.653

n1-highcpu-2

2

1.80

5.50

0*

$0.131

n1-highcpu-4

4

3.60

11

0

$0.261

n1-highcpu-8

8

7.20

22

0

$0.522
Q&A

Google cloud platform introduction

  • 1.
  • 2.
    Google Cloud PlatformStart Already
  • 3.
    Cloud Platform Family CloudDatastore CloudSQL App Engine Compute Engine Cloud Storage BigQuery
  • 4.
    Google App Engine GoogleApp Engine - A managed, scaled, robusted PaaS
  • 5.
    What is GAE? ● ● ● ● ● ● ● ● ● ● Loadbalancing Caching IDE Monitor Distribute HA / DR Version control Resources Pay by use Common
  • 6.
  • 7.
    Features ● ● ● ● ● Data storage, retrieval,and search Communications Process management Computation App configuration and management
  • 8.
    GAE - QuotaManage Billing Page Operations Billing Status View billing status, Change budget, Add/remove/view billing administrators Usage History View daily usage statistics and costs Transaction History (*) Make payments, view the current balance and monthly billing transactions Billing Profile (*) View and change contact information Billing Settings (*) View and change payment information
  • 9.
    Growth and Revolutionof GAE (I/O2012)
  • 10.
    Pricing Resource Unit Unit cost (USD) OutgoingBandwidth Gigabytes $0.12 Frontend Instances (F1 -F4_1G class) Instance hours $0.08 - $0.48 Discounted Instances Instance hours $0.05 Backend Instances (B1 -B8 class) Hourly per instance $0.08 - $0.64 Stored Data (Blobstore) Gigabytes per month $0.13 Stored Data (Datastore) Gigabytes per month $0.18 Stored Data (Logs Data) Gigabytes per month $0.24 Stored Data (Task Queue) Gigabytes per month $0.24 Dedicated Memcache Gigabytes per hour $0.12 SNI SSL certificates Sets of five SNI certificate slots per month $9.00 SSL Virtual IPs (VIPs) Virtual IP per month $39.00 PS: Datastore operations pricing - $0.1 ~ $0.9 per 100K operations
  • 11.
    Cloud Datastore Cloud Datastore- Schemaless object datastore with robust, scalable storage...
  • 12.
    Features ● ● ● ● ● ● Shift from GAEservice to Cloud service NoSQL database ACID transactions High availability of reads and writes Strong consistency / Eventual consistency Fully managed by Google infrastructure ○ ○ ○ ○ No planned downtime. Replicated across multiple datacenters. Automatically scales to handle traffic increase. Monitored by Google engineers.
  • 13.
    Developer Support ● ● ● ● ● ● ● ● GAE integrate(Python, Java, Go, Php) Local development server Auto / Customize index JSON API over REST GQL query language CLI tool - GCD Web tool - Google Cloud Console Usage statistic
  • 14.
    Cloud Integration &Limitation ● Google Account / Authentication integrated ● BigQuery import integrated ● Limitation Limit Amount Maximum entity size 1 megabyte Maximum transaction size 10 megabytes Maximum number of index entries for an entity 20000 Maximum number of bytes in composite indexes for an entity 2 megabytes
  • 15.
    Pricing Resource Free Default DailyLimit Billing Enabled Default Limit Stored Data (billable) 1 GB Note: Not a daily limit but a total 1 GB free; no maximum limit. Number of Indexes 200 Note: Not a daily limit but a total limit. 200 Write Operations 50,000 Unlimited Read Operations 50,000 Unlimited Small Operations 50,000 Unlimited
  • 16.
    Google Cloud Storage watchvideos, screen casts, and presentations that walk through how to use Google Cloud Storage. VIDEOS download sample applications, read howto guides, and learn how to use Google Cloud Storage with other Google products. SAMPLES ask questions, discuss solutions, and join our vibrant community of developers. COMMUNITY Google Cloud Storage - Object storage service, without limit and global deployed
  • 17.
    What is CloudStorage? SDK, API Support Web Console GAE Integrate Oauth2 Integrate Unlimited Global Deploy
  • 18.
    GCS - Features ● ● ● ● ● ● ● ● HighCapacity and Scalability Strong Data Consistency Google Cloud Console Projects Bucket Locations REST APIS OAuth 2.0 Authentication Authenticated Browser Downloads Google Account Support for Sharing
  • 19.
    Fast, Scalable, HighlyAvailable ● Multiple layers of redundancy. All data replicated to multiple data centers. ● Read-your-writes data consistency. ● Objects can be terabytes in size, with resumable uploads and downloads, and range read support. ● Domain-scoped bucket namespace. ● Store your data in the U.S. or the European Union.
  • 20.
    Easy, Flexible Authand Sharing ● OAuth 2.0 Authentication ● Individual, project and group-level access controls. ● Customizable default object ACLs. ● Application-driven access control. ● Authenticated uploads and downloads from a web browser.
  • 21.
    Regions ● Auto /Manual Region: EU, US ● Locations: US-EAST1, US-EAST2, USEAST3, US-CENTRAL1, US-CENTRAL2, US-WEST1 ● Global replicate
  • 22.
    Developer Support ● GoogleApp Engine Integrated Services ○ BlobStore ○ Upload URL ○ Image API ● CLI - gsutil ● XML API ● JSON API
  • 23.
    Pricing Monthly Usage Standard Storage(per GB per month) DRA Storage Price (per GB per month) First 0-1 TB $0.085 $0.063 Next 9 TB $0.076 $0.054 Next 90 TB $0.067 $0.049 Next 400 TB $0.063 $0.045 Next 4500 TB $0.054 $0.042 Network (Egress) - Americas Network (Egress) - Asia-Pacific and EMEA* (per GB) (per GB) Free Free 0 - 1TB $0.12 $0.21 Next 9TB $0.11 $0.18 Next 90TB $0.08 $0.15 Monthly Usage Data Transfer to Cloud Network (Ingress) services in the same Region Free
  • 24.
    Google BigQuery Google BigQuery- Big data with SQL like query feature, but fast...
  • 25.
    BigQuery Features ● TBlevel data analysis ● Fast mining response ● SQL like query language ● Multi-dataset interactive support ● Cheap and pay by use ● Offline job support
  • 26.
    Support User Interfaces ● ● ● ● ● Browsertool CLI - bq command REST API SDK (client libraries) 3’rd party tools
  • 27.
    Google Cloud PlatformIntegrate Cloud Storage AppEngine Datastore AppEngine Log BigQuery
  • 28.
    Pricing 1 Charges rounded upto the nearest MB; minimum 1 MB data processed per query 2 The first 100 GB of data processed per month is at no charge On-demand pricing table Resource Pricing Storage $80 (per TB/month) Interactive Queries $35 (per TB processed)12 Batch Queries $20 (per TB processed) Package pricing table Data amount Cost 100 TB $3,300 per month ($33 per TB) 400 TB $12,000 per month ($30 per TB) 1,500 TB $40,500 per month ($27 per TB) 4,000 TB $100,000 per month ($25 per TB)
  • 29.
    Google Cloud SQL GoogleCloud SQL - Full managed MySQL database instance
  • 30.
    Features ● ● ● ● ● ● Familiar Infrastructure Flexible Charging Security,Availability, Durability EU and US Data Centers Easier Migration; No Lock-in Control
  • 31.
    Connect tools ● ● ● ● ● ● Using thecommand line prompt API console SQL prompt Admin tools and reporting tools External applications From App Engine: Java, Python From Google Apps Script scripts
  • 32.
    Current Restrictions ● ● ● ● Size limitfor individual instances is 100GB User defined functions are not supported MySQL replication is not supported Statements not supported: ○ ○ ○ ○ ○ LOAD DATA INFILE SELECT ... INTO OUTFILE/DUMPFILE INSTALL/UNINSTALL PLUGIN ... CREATE FUNCTION ... LOAD_FILE() ● Functions are not supported: ○ SHA2()
  • 33.
    Pricing - ByPackages Tier RAM Included Storage Included I/O per Day Charge per Day D0 0.125GB 0.5GB 200K $0.36 D1 0.5GB 1GB 850K $1.46 D2 1GB 2GB 1.7M $2.93 D4 2GB 5GB 4M $5.86 D8 4GB 10GB 8M $11.71 D16 8GB 10GB 16M $23.42 D32 16GB 10GB 32M $46.84
  • 34.
    Pricing - PerUse Resource Charge D0 Database Instance (0.125GB RAM) $0.025 per hour D1 Database Instance (0.5GB RAM) $0.10 per hour D2 Database Instance (1GB RAM) $0.19 per hour D4 Database Instance (2GB RAM) $0.38 per hour D8 Database Instance (4GB RAM) $0.77 per hour D16 Database Instance (8GB RAM) $1.54 per hour D32 Database Instance (16GB RAM) $3.08 per hour 1GB Storage $0.24 per month I/O $0.10 per Million
  • 35.
    Pricing - Network Resource Charge ExternalOutbound Traffic $0.12 per GB
  • 36.
    Google Compute Engine GoogleComputing Engine - Run virtual machines at Google Scale
  • 37.
    Features ● ● ● ● ● Scale, performance, andvalue Flexibility and an Open Environment Predictable Performance Strong Security Environmental Impact
  • 38.
    Machine Types ● StandardMachine Types ● Shared-core Machine Types ○ applications don't require a lot of resources ○ more cost-effective ○ for running small, non-resource intensive applications than other types ● High Memory Machine Types ● High CPU Machine Types
  • 39.
  • 40.
  • 41.
    Pricing - Standard& Micro Configuration Virtual Cores Memory (GB1) GCEUs Local Disk (GB) Price (USD) / Hour n1-standard-1-d 1 3.75 2.75 420 $0.132 n1-standard-2-d 2 7.50 5.50 870 $0.265 n1-standard-4-d 4 15 11 1770 $0.530 n1-standard-8-d 8 30 22 2 x 1770 $1.060 n1-standard-1 1 3.75 2.75 0* $0.115 n1-standard-2 2 7.50 5.50 0 $0.230 n1-standard-4 4 15 11 0 $0.461 n1-standard-8 8 30 22 0 $0.922 Configuration Virtual Cores Memory (GB) GCEUs Local Disk (GB) Price (USD) / Hour f1-micro 1 0.60 Shared CPU 0 $0.019 g1-small 1 1.70 1.38 0 $0.054
  • 42.
    Pricing - HighMemory Configuration Virtual Cores Memory (GB) GCEUs Local Disk (GB) Price (USD) / Hour n1-highmem-2-d 2 13 5.50 870 $0.305 n1-highmem-4-d 4 26 11 1770 $0.611 n1-highmem-8-d 8 52 22 2 x 1770 $1.221 n1-highmem-2 2 13 5.50 0* $0.244 n1-highmem-4 4 26 11 0 $0.488 n1-highmem-8 8 52 22 0 $0.975
  • 43.
    Pricing - HighCPU Configuration Virtual Cores Memory (GB) GCEUs Local Disk (GB) Price (USD) / Hour n1-highcpu-2-d 2 1.80 5.50 870 $0.163 n1-highcpu-4-d 4 3.60 11 1770 $0.326 n1-highcpu-8-d 8 7.20 22 2 x 1770 $0.653 n1-highcpu-2 2 1.80 5.50 0* $0.131 n1-highcpu-4 4 3.60 11 0 $0.261 n1-highcpu-8 8 7.20 22 0 $0.522
  • 44.