Share
Embed
About Google Cloud Platform and LEGO® sets
Google Cloud Platform is formed by independent, interchangeable components. This is a view into combinations outside the typical well-known examples, presented during the Spanish GDG Summit 2014 in Santiago de Compostela.
Nacho Coloma
September 19, 2014
Transcript
32 slides
-
About the Google Cloud Platform and LEGO® sets Nacho Coloma
— CTO at Extrema Sistemas Google Developer Expert @nachocoloma http://gplus.to/icoloma * LEGO®is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this presentation. -
Consider this The Google Cloud Platform logo is formed by
interchangeable parts. Just like a LEGO® set -
LEGO® sets are awesome There are 11,397 items in the
LEGO Brickset database that can be combined to build AWESOME THINGS. -
There is no “right” way to assemble LEGO® pieces Just
some suggestions on the box cover -
We are used to see some classic combinations Storage Cloud
Storage Cloud SQL Cloud Datastore Compute Compute Engine (IaaS) App Engine (PaaS) Services BigQuery Cloud Endpoints Consider App Engine, for example -
Storage options on App Engine Google Cloud Datastore Managed noSQL
storage Unlimited scale Limited query capabilities Entities < 1MB Google Cloud Storage Store big files in the cloud Reliable storage Encrypted at rest Resumable uploads / downloads using HTTP -
More storage options on App Engine Google Cloud SQL Managed
plain ol’ MySQL Max database size is 500GB BigQuery Blazing fast analytics and reporting Scales indefinitely (though you may want to break data in chunks for cost) Can be used via API, command line or web interface Cloud Storage Cloud Datastore -
Even more storage options on App Engine Google Compute Engine
· Deploy your own storage solution using persistent disks: PostgreSQL, Redis, MongoDB, etc. · Some of these are available using a preconfigured stack that can be deployed with a single click. · Choose the type of storage: Standard Persistent Disks, SSD Persistent Disks, Local SSD Disks (upcoming). · Choose size: bigger is faster. Cloud Storage Cloud Datastore Cloud SQL BigQuery -
Yet Even more storage options on App Engine Google Drive
API · Store your data in rows using Google Spreadsheets · Store files in Google Drive Cloud Storage Cloud Datastore Cloud SQL BigQuery Compute Engine For Android · Cloud Save: Save and load a small amount of data for each user (4 x 256KB) · Saved Games: Like Cloud Save for games (since Jul 2014). Includes a default UI, and counts against the Drive quota of the user. -
Storage options on App Engine Cloud Storage Cloud Datastore Cloud
SQL BigQuery Compute Engine Drive Android -
Storage options on App Engine Compute Engine Cloud Storage Cloud
Datastore Cloud SQL BigQuery Compute Engine Drive Android -
Also works for hybrid applications Cloud Storage Cloud Datastore Cloud
SQL BigQuery Compute Engine Drive Android + -
but we are so focused in THE BLOCK that we
miss the global picture -
Interacting with the user Your own HTML / JSON API
Your app on App Engine -
Interacting with the user Cloud endpoints Your own HTML /
JSON API Your app on App Engine (Java, Python, SSL) -
Interacting with the user Cloud endpoints Your own HTML /
JSON API Push notifications Your app on App Engine (Java, Python, SSL) -
Interacting with the user Cloud endpoints Your own HTML /
JSON API Push notifications Your app on App Engine Web Sockets (GCE or custom VMs) (Java, Python, SSL) -
Let’s say your web app is slow... ...so you start
caching to make it FAST -
Caching options on App Engine Memcache Shared or dedicated Maximum
size of an entity is approx. 1MB Up to 20GB (dedicated) Roll your own cache service (e.g. Redis) Cached entities can be up to 512MB in size More features: sorted sets, queries, pub/sub, etc. Flexible configuration: persist to disk, max. memory, eviction policy, etc. -
Caching options on App Engine (2) Edge cache A CDN
distributed around the world No configuration needed Will try to honor Cache-Control headers Available for App Engine and Google Cloud Storage PageSpeed Create sprites, inline JS, concatenate CSS, minify, resize/recompress images… Available as an App Engine Service and a Nginx / Apache module. -
HTTP 2.0 (based on SPDY) Enabled out-of-the-box on App Engine
You don’t have to do anything Supported in other environments Included with the latest Nginx Adding mod_spdy with Apache · Up to 50% reduction in Page Load Time by reducing network latency · Requires SSL (in practice) and is backwards-compatible · Supported in all browsers (even Explorer) · Learn if you are already supporting it: http://spdycheck.org/ -
The Google Cloud Platform is a set of interchangeable modules
Storage Cloud Storage Cloud SQL Cloud Datastore Compute Compute Engine (IaaS) App Engine (PaaS) Services BigQuery Cloud Endpoints Storage, Cache, Performance and REST API are just examples. There is so much more to discover. -
Keep reading The Google Cloud Platform documentation is pretty slick:
http://cloud.google.com If you prefer to learn by doing, check out their impressive Github repository: https://github.com/GoogleCloudPlatform Don’t forget to drop by our DevFests and GDG meetups: http://www.gdgspain.org/ And the Iberian Cloud Platform Tour is coming back soon(ish)! https://www.koliseo.com/google/iberian-cloud-platform -
• The Official Google Cloud Platform Course is coming to
Spain! • 5 days of the best training: · App Engine, Compute Engine, Cloud Storage, Cloud SQL and BigQuery • Upcoming: · Madrid: Nov 3-7, Dec 9-12 · Barcelona: Dec 1-5 · Other cities coming soon! • Register here. CP300 IS HERE! -
Nacho Coloma — CTO at Extrema Sistemas Google Developer Expert
@nachocoloma http://gplus.to/icoloma Thanks! (any questions?) Images provided by -
Let me be clear on this LEGO®is a trademark of
the LEGO Group of companies. This presentation has been prepared following their Fair Play guidelines. LEGO does not sponsor, authorize or endorse this presentation. This presentation reflects my views and not those of my employer. I have enjoyed playing with LEGO® sets since I was three. Please don’t sue me.