google cloud platform introduction

44
Google Cloud Platform Simon Su @ MiCloud

Upload: simon-su

Post on 27-Jan-2015

129 views

Category:

Technology


5 download

DESCRIPTION

Brief the Google Cloud Platform family, include function, develop support and pricing information...

TRANSCRIPT

Page 1: Google cloud platform introduction

Google Cloud PlatformSimon Su @ MiCloud

Page 2: Google cloud platform introduction

Google Cloud Platform Start Already

Page 3: Google cloud platform introduction

Cloud Platform Family

Cloud Datastore CloudSQL App Engine

Compute Engine Cloud Storage BigQuery

Page 4: Google cloud platform introduction

Google App Engine - A managed, scaled, robusted PaaS

Google App Engine

Page 5: Google cloud platform introduction

What is GAE?

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

Page 6: Google cloud platform introduction

Google App Engine

● Managed● Scalability● Reliability● Cost efficient

Page 7: Google cloud platform introduction

Features

● Data storage, retrieval, and search● Communications● Process management● Computation● App configuration and management

Page 8: Google cloud platform introduction

GAE - Quota ManageBilling 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

Page 9: Google cloud platform introduction

Growth and Revolution of GAE (I/O2012)

Page 10: Google cloud platform introduction

PricingResource 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

Page 11: Google cloud platform introduction

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

Cloud Datastore

Page 12: Google cloud platform introduction

● 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.

Features

Page 13: Google cloud platform introduction

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

Page 14: Google cloud platform introduction

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

Page 15: Google cloud platform introduction

PricingResource Free Default Daily Limit Billing Enabled Default Limit

Stored Data (billable) 1 GB Note: Not a daily limit but a total

limit.

1 GB free; no maximum

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

Page 16: Google cloud platform introduction

Google Cloud Storage - Object storage service, without limit and global deployed

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

Page 17: Google cloud platform introduction

What is Cloud Storage?

SDK, API Support

Web Console

GAE Integrate

Oauth2 Integrate

Unlimited

Global Deploy

Page 18: Google cloud platform introduction

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

Page 19: Google cloud platform introduction

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.

Page 20: Google cloud platform introduction

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.

Page 21: Google cloud platform introduction

Regions

● Auto / Manual Region: EU, US● Locations: US-EAST1, US-EAST2, US-

EAST3, US-CENTRAL1, US-CENTRAL2, US-WEST1

● Global replicate

Page 22: Google cloud platform introduction

Developer Support

● Google App Engine Integrated Services○ BlobStore○ Upload URL○ Image API

● CLI - gsutil● XML API● JSON API

Page 23: Google cloud platform introduction

PricingMonthly 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

Monthly UsageNetwork (Egress) - Americas

and EMEA* (per GB)

Network (Egress) - Asia-Pacific

(per GB)Network (Ingress)

Data Transfer to Cloud

services in the same Region

Free Free

Free0 - 1TB $0.12 $0.21

Next 9TB $0.11 $0.18

Next 90TB $0.08 $0.15

Page 24: Google cloud platform introduction

Google BigQuery - Big data with SQL like query feature, but fast...

Google BigQuery

Page 25: Google cloud platform introduction

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

Page 26: Google cloud platform introduction

Support User Interfaces

● Browser tool● CLI - bq command● REST API● SDK (client libraries)● 3’rd party tools

Page 27: Google cloud platform introduction

Google Cloud Platform Integrate

AppEngine Log

Cloud Storage

AppEngine Datastore

BigQuery

Page 28: Google cloud platform introduction

Pricing

Resource Pricing

Storage $80 (per TB/month)

Interactive Queries $35 (per TB processed)12

Batch Queries $20 (per TB processed)

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)

Package pricing table

On-demand pricing table

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

Page 29: Google cloud platform introduction

Google Cloud SQL - Full managed MySQL database instance

Google Cloud SQL

Page 30: Google cloud platform introduction

Features

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

Page 32: Google cloud platform introduction

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()

Page 33: Google cloud platform introduction

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

Page 34: Google cloud platform introduction

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

Page 35: Google cloud platform introduction

Pricing - Network

Resource Charge

External Outbound Traffic $0.12 per GB

Page 36: Google cloud platform introduction

Google Computing Engine - Run virtual machines at Google Scale

Google Compute Engine

Page 37: Google cloud platform introduction

Features

● Scale, performance, and value● Flexibility and an Open Environment● Predictable Performance● Strong Security● Environmental Impact

Page 38: Google cloud platform introduction

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

Page 39: Google cloud platform introduction

Network Detail

Page 40: Google cloud platform introduction

Network Security

Page 41: Google cloud platform introduction

Pricing - Standard & MicroConfiguration 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

Page 42: Google cloud platform introduction

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

Page 43: Google cloud platform introduction

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

Page 44: Google cloud platform introduction

Q&A