Slide 1

Slide 1 text

Sharif Salah, University of Portsmouth Google Developer Expert 2014 Google+ profile @sharif_salah about.me/sharif.salah Google Cloud Platform Building cost-effective, flexible and scalable education resources

Slide 2

Slide 2 text

Image courtesy of Google/Connie Zhou

Slide 3

Slide 3 text

Agenda Cloud Platform overview Existing usage in education Potential future usage Resources Q&A

Slide 4

Slide 4 text

Cloud Platform overview

Slide 5

Slide 5 text

Why Google Cloud Platform? Tight integration with Google Apps Rich variety of cutting edge PaaS & IaaS services Build on the same infrastructure that powers Google! Hands-off operation and monitoring including auto-scaling

Slide 6

Slide 6 text

Compute Compute Engine App Engine

Slide 7

Slide 7 text

Storage Cloud Datastore Cloud Storage Cloud SQL

Slide 8

Slide 8 text

Services Cloud Endpoints BigQuery

Slide 9

Slide 9 text

Cloud Console Cloud SDK REST APIs

Slide 10

Slide 10 text

IaaS PaaS SaaS Gmail, Google Drive and Google Calendar App Engine Compute Engine Cloud Storage

Slide 11

Slide 11 text

The story so far

Slide 12

Slide 12 text

App Engine PaaS Java, Python, PHP & Go Free quota Auto scaling Massively scalable Traffic splitting

Slide 13

Slide 13 text

Cloud Storage IaaS Multi-petabyte Globally replicated Tightly integrated into GCP Flexible security model

Slide 14

Slide 14 text

myport.ac.uk (students & alumni) port.ac.uk (staff) Google Apps domains

Slide 15

Slide 15 text

App Engine & Datastore Middleware Web traffic Student records Assessments (read only)

Slide 16

Slide 16 text

Cloud Storage Middleware Web traffic Document Store Documents / Static Web Content

Slide 17

Slide 17 text

Lessons learnt Billing / support is really important to address early on User authentication is super-simple for Google Apps domains Web apps require a small amount of ongoing development The platform is growing very rapidly In practise App Engine is super-reliable

Slide 18

Slide 18 text

Support Choice of Silver, Gold or Platinum Can then apply for Premier status including offline billing Architecture Support Google Enterprise Support Center Optional 24x7 and Phone support

Slide 19

Slide 19 text

myport.ac.uk (students & alumni) port.ac.uk (staff) Google Apps domains gcp.port.ac.uk (GCP admins) Used to manage all Google Cloud Platform projects with billing enabled under a single contract

Slide 20

Slide 20 text

Where to next?

Slide 21

Slide 21 text

Compute Engine IaaS Compute, Storage & Network Sub-hour billing Hugely scalable Consistent performance Linux (& Windows preview)

Slide 22

Slide 22 text

Usage outline Micro (shared CPU) instances ideal for mass education use One virtual machine per student One hour lab usage for 30 students and instances less than $0.50 One year hosting approx $90.00 per (micro) instance Use App Engine and APIs to orchestrate

Slide 23

Slide 23 text

App Engine Compute Engine Orchestration (or use Ansible, Chef, Puppet or Salt) Virtual machine running Node.js, PHP, Python ...etc. Student / User 1 1 1…*

Slide 24

Slide 24 text

Lightweight containers Multiple containers per instance Transfer workloads between local infrastructure and cloud!

Slide 25

Slide 25 text

“Kubernetes builds on top of Docker to construct a clustered container scheduling service. Kubernetes enables users to ask a cluster to run a set of containers. The system will automatically pick worker nodes to run those containers on, which we think of more as "scheduling" than "orchestration". Kubernetes also provides ways for containers to find and communicate with each other and ways to manage both tightly coupled and loosely coupled sets of cooperating containers.” Source: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/DESIGN.md Kubernetes

Slide 26

Slide 26 text

App Engine Orchestration (or use Ansible, Chef, Puppet or Salt) Compute Engine Instance + Docker containers Student / User C1 C2 Cn ..

Slide 27

Slide 27 text

Caveats Port 25 blocked for outgoing mail (use Sendgrid or similar) TCP, UDP or ICMP traffic only By default only port 22 (SSH) is open By default SSH password authentication is disabled Check for default quota limits in all services

Slide 28

Slide 28 text

Summary We use Cloud Storage to expose highly-reliable, user-facing static web content Use App Engine to host auto-scaling, dynamic & high-availability web services Future use of Compute Engine for education resources and web services Access to cutting edge technology that frees us up to focus on core business

Slide 29

Slide 29 text

Resources

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

Case studies Compliance information Pricing calculator Research Support packages Further reading See also Compute Engine Management with Puppet, Chef, Salt, and Ansible Containers on Google Cloud Platform Docker Integrating Google Compute Engine and Ansible

Slide 32

Slide 32 text

Google Cloud Platform would like to offer all participants of IWMW 2014 $500 of credit to build your web or mobile app! To get started, follow the three steps below: 1. http://g.co/cloudstarterpack 2. Click "apply now" 3. Use the code: gde-in

Slide 33

Slide 33 text

These slides: http://goo.gl/No9gFM Thank you! Any questions?