google cloud platform introduction
DESCRIPTION
Brief the Google Cloud Platform family, include function, develop support and pricing information...TRANSCRIPT
Google Cloud PlatformSimon Su @ MiCloud
Google Cloud Platform Start Already
Cloud Platform Family
Cloud Datastore CloudSQL App Engine
Compute Engine Cloud Storage BigQuery
Google App Engine - A managed, scaled, robusted PaaS
Google App Engine
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 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
Growth and Revolution of GAE (I/O2012)
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
Cloud Datastore - Schemaless object datastore with robust, scalable storage...
Cloud Datastore
● 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
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
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
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
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, US-
EAST3, 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
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
Google BigQuery - Big data with SQL like query feature, but fast...
Google BigQuery
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
AppEngine Log
Cloud Storage
AppEngine Datastore
BigQuery
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
Google Cloud SQL - Full managed MySQL database instance
Google Cloud SQL
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 Computing Engine - Run virtual machines at Google Scale
Google Compute Engine
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 & 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
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