using google's cloud - for developers- part five
DESCRIPTION
Part 5 of 6 - YouTube screencast series - 'Intro to the Google Cloud for Developers' - programming the Cloud APIs with JavaTRANSCRIPT
![Page 1: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/1.jpg)
Using Google’s Cloud – for Developers
Part 5 of 6 Programming the Google Cloud with Java
APIs
Lynn Langit
![Page 2: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/2.jpg)
About Lynn Langit
Practicing Architect
• Cloud Deployments• Azure• AWS• Google• Rackspac
e
• Google Cloud Developer Expert
AWS & Others
• AWS Insider• MongoDB
Master• Cloudera
certified trainer
Microsoft
• FTE for 4 years
• SQL Server MVP
![Page 3: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/3.jpg)
About This Series
Is a series of screencasts including demos and code samples• Designed for Java
developers• Shows how to
work with Google Cloud Services
Delivered in Six Parts• Part One – What is
the Google Cloud?• Part Two – Using
the web consoles• Part Three –
Understanding billing
• Part Four – Using command line
• Part Five – Programming APIs with Java
• Part Six – Learning More / Next steps
![Page 4: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/4.jpg)
Taking a look at Google Cloud APIsProgramming with Java
Part Five
![Page 5: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/5.jpg)
Keeping Track – List of APIs
![Page 6: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/6.jpg)
Some of the GCE OAuth Playground APIs
![Page 7: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/7.jpg)
Understand OAuth 2.0 – what are scopes?
Specific levels of service access
Available scope options vary by service type
Google Cloud Storage has
read-only write_only read-write full-control
Google Compute Engine has
compute compute.readonly
![Page 8: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/8.jpg)
Trying out the OAuth Playground
DEMO
![Page 9: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/9.jpg)
Prepare to Program on the Google Cloud
• GAE, GCE, etc…• Download & Install
Google Cloud SDK
• Java (Eclipse)
Google Cloud
plug-in for IDE
• GWT tools (optional)• Android tools (optional)
Other Google
Web API tools
• MySQL ClientOther Tools
![Page 10: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/10.jpg)
Download SDK
![Page 11: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/11.jpg)
Configure Eclipse for Google Cloud
Get Cloud SDK Get Eclipse Plug-in
![Page 12: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/12.jpg)
Start Programming
Create a new web app project Add Google APIs Write Code Run locally Deploy (ex. push to GAE)
![Page 13: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/13.jpg)
Adding the service SDK tools via Eclipse
![Page 14: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/14.jpg)
Running Locally
![Page 15: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/15.jpg)
Using the Java API with GCE
DEMO
![Page 16: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/16.jpg)
How does Authentication work? – GCE example
• This is token-based authentication
GCE uses ONLY OAuth 2.0
• Scope means ‘level of access’
• For GCE methods scope is either • Compute with read
and write –or-• Compute with read-
only• You may also need to
scope for Google Cloud Storage• This is called
‘devstorage’
OAuth requests have a
particular scope
• Can vary scope for these accounts• Compute
Engine• Console
ServiceGCE supports
creation of service
accounts
![Page 17: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/17.jpg)
Using the Java API with Big Query
DEMO
![Page 18: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/18.jpg)
DEMO
Creating and Testing ‘Hello Google Cloud’ on GAE in Eclipse
![Page 19: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/19.jpg)
Hello (Google) World application
![Page 20: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/20.jpg)
DEMO
Deploying to GAE and Using the Web Admin Console
![Page 21: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/21.jpg)
About Data and GAE
![Page 22: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/22.jpg)
Data Access Patterns for GAECloud Datastore
![Page 23: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/23.jpg)
Data Access Patterns for GAECloud SQL
![Page 24: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/24.jpg)
Data Access Patterns for GAECloud Storage
![Page 25: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/25.jpg)
Data Access Patterns for GAEMemcache
![Page 26: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/26.jpg)
Viewing Deployed Applications
Create up to 10 applications Click application to view detailed information
about each instance Can try out ‘push-to-deploy’
![Page 27: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/27.jpg)
Managing your application
![Page 28: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/28.jpg)
Version Control
Updating current versions Using appcfg
![Page 29: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/29.jpg)
Using Codenvy with GAE
DEMO
![Page 30: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/30.jpg)
Keep Coding – More Samples
![Page 31: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/31.jpg)
![Page 32: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/32.jpg)
About This Series
Is a series of screencasts including demos and code samples• Designed for Java developers
• Shows how to work with Google Cloud Services
Delivered in Six Parts• Part One – What is the Google Cloud?
• Part Two – Using the web consoles
• Part Three – Understanding billing
• Part Four – Using command line
• Part Five – Programming APIs with Java
• Part Six – Learning More / Next steps
![Page 33: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/33.jpg)
www.TeachingKidsProgramming.org• Free Courseware (Java, Small Basic or C# [on Pluralsight])• Do a Recipe Teach a Kid (Ages 10 ++)
• recipes)
![Page 34: Using Google's Cloud - for Developers- part five](https://reader035.vdocuments.mx/reader035/viewer/2022081519/5554be5fb4c90559398b4cce/html5/thumbnails/34.jpg)
Keep Learning
Twitter: @LynnLangit YouTube:
http://www.youtube.com/user/SoCalDevGal
Hire me To help build your BI/Big Data solution To teach your team next gen BI To learn more about using NoSQL
solutions