using google's cloud - for developers
DESCRIPTION
Introduction to GoogleTRANSCRIPT
![Page 1: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/1.jpg)
USING GOOGLE’S CLOUD
FOR DEVELOPERS
@LYNNLANGIT
![Page 2: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/2.jpg)
WHAT IS GOOGLE’S CLOUD?
Set of offerings / services for public consumption
Two target audiences
--Consumer--Developer
Many services are in production
Some services are still in public or private beta
Free tier for most services is quite generous
![Page 3: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/3.jpg)
WHICH CLOUD SERVICES ARE AVAILABLE FOR CONSUMERS?
IaaS – infrastructure (or storage) as a service
PaaS – platform as a service
SaaS – storage (or software) as a service
Other cloud services
• Google Drive – cloud storage for Google applications
• Google Fiber – very limited beta in Kansas City, KS only at this time
• N/A
• Google Docs – cloud-based word processing, spreadsheets, presentations and more
• Google Play – application store• YouTube – video hosting
![Page 4: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/4.jpg)
WHICH CLOUD SERVICES ARE AVAILABLE FOR DEVELOPERS?
• Scalable compute via Google Compute EngineIaaS
• Scalable managed compute via Google App EnginePaaS
• Scalable storage via many choices • RDBMS, NoSQL, more…SaaS
• Big Query – query as a service• Prediction API – data mining as a service• Translation API – translation as a service• Google Maps – mapping as a service• Google Hangouts API – collaboration applications
Other
![Page 5: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/5.jpg)
IAAS -- GOOGLE COMPUTE ENGINE
Compute that auto-scales (VMs)• Competes with
AWS EC2 and Windows Azure VMs (beta)
Currently only Linux
VMs
Currently in Invite-only
Beta
Interface via• Web Console
(limited)• Python client• APIs
![Page 6: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/6.jpg)
USING GOOGLE’S PAAS CLOUD SERVICES
AppStorage
OtherServices
![Page 7: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/7.jpg)
WHAT IS GOOGLE APP ENGINE? WHY USE IT?
What• Google’s cloud hosting and
storage environment• Java or Python are supported• NoSQL (High-Replication
Datastore) and/or mySQL supported
Why• Easy and free to try it out• Interesting feature set
• Automatic compute scaling• Flexibility on data storage /
queries• Authentication choices• Access to other Google APIs
![Page 8: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/8.jpg)
SETTING UP YOUR ACCOUNT
Different types of account for different types of
services
Browser-based management consoles• GAE• GCE• BigQuery• Storage• Other APIs
Direct API access Command-line tools
![Page 9: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/9.jpg)
DEMOUNDERSTANDING GOOGLE CLOUD ACCOUNTS
![Page 10: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/10.jpg)
ABOUT BILLING Information about
free usage tier quotas
Scalable storage via many choices
Understanding Sandbox vs. Production
Monitoring Usage Via Service
Dashboards
Via APIs (programmable alerts / alarms)
How Scaling Works
Default is auto-scale
![Page 11: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/11.jpg)
LOTS OF APIS…
![Page 12: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/12.jpg)
WORKING WITH THE WEB CONSOLE(S)
Different Consoles for Different products Console for GCE
Console for GAE
Console for APIs
Console for BigQuery
![Page 13: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/13.jpg)
DEVELOPER WEB CONSOLES
API ConsoleApp Engine ConsoleMore…
![Page 14: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/14.jpg)
GOOGLE CLOUD APIS
![Page 15: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/15.jpg)
OTHER CONSOLES – BIGQUERY EXAMPLE
![Page 16: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/16.jpg)
DEMOWORKING WITH THE WEB CONSOLE TOOLS
![Page 17: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/17.jpg)
START PROGRAMMING
Java or Python
Language SDK and IDE
GAE SDK
GAE tools for IDE
Other Google Web API tools
GWT tools (optional)
Android tools (optional)
![Page 18: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/18.jpg)
DOWNLOAD & CONFIGURE ECLIPSE FOR GAE• Download Eclipse
• Get GAE SDK (access to APIs)
• Get GAE plug-in for Eclipse
![Page 19: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/19.jpg)
CONFIGURE ECLIPSE FOR GAE - OPTIONS
• Enable other available APIs, partial list shown below
• Use the GWT (Google Web Toolkit)
![Page 20: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/20.jpg)
GAE SETUP IN ECLIPSE
• GAE SDK
• GAE Eclipse plug-in
• GAE developer account• 5 GB storage free
![Page 21: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/21.jpg)
DEMOCREATING AND TESTING ‘HELLO GOOGLE CLOUD’ IN ECLIPSE
![Page 22: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/22.jpg)
HELLO (GOOGLE) WORLD APPLICATION
![Page 23: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/23.jpg)
DEMODEPLOYING TO GAE AND USING THE WEB ADMIN CONSOLE
![Page 24: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/24.jpg)
VIEWING DEPLOYED APPLICATIONS
• Create up to 10 applications
• Click application to view detailed information about each instance
![Page 25: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/25.jpg)
MANAGING YOUR APPLICATION
![Page 26: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/26.jpg)
VERSION CONTROL• Updating current versions
• Using appcfg
![Page 27: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/27.jpg)
NEXT STEPS
Data Storage Options• Relational• non-
relational• Google
Drive• more
Other GAE services• Caching• routing
Other Google APIs• Prediction• Translation• Maps
Integrate with Android applications
Integrate with Google Play
![Page 28: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/28.jpg)
DEMOUSING GOOGLE’S DEVELOPER RESOURCES
![Page 29: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/29.jpg)
UNDERSTANDING GOOGLE’S DEV RESOURCES
Each product has API documentation and samples
RSS Google Developer Blog for product updates
Google IO and other community events
GTUGs
YouTube Channel
Google Developer Advocate Hangouts
Google’s Developer Expert Program
![Page 30: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/30.jpg)
WWW.TEACHINGKIDSPROGRAMMING.ORG• Free Courseware
• Do a Recipe Teach a Kid (Ages 10 ++)
• Java or Microsoft SmallBasic
• recipes)
![Page 31: Using Google's Cloud - for Developers](https://reader035.vdocument.in/reader035/viewer/2022062419/557e8004d8b42acf658b47a3/html5/thumbnails/31.jpg)
TOWARD DATA CRAFTSMANSHIP…
Follow me @LynnLangitRSS my blog www.LynnLangit.com
Subscribe to PluralSight for my GAE series
Hire me• To help build your BI/Big Data solution• To teach your team next gen BI• To learn more about using NoSQL solutions