Intro to the Google Cloud for Developers

  • 3,668 views
Uploaded on

presentation from Techorama -- Google Cloud, Google Compute Engine, Google App Engine, Big Query

presentation from Techorama -- Google Cloud, Google Compute Engine, Google App Engine, Big Query

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,668
On Slideshare
0
From Embeds
0
Number of Embeds
14

Actions

Shares
Downloads
18
Comments
0
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • https://www.youtube.com/watch?v=gGglWrxKYrU
  • https://cloud.google.com/products/
  • Best practices for configuring projects -- https://cloud.google.com/developers/articles/best-practices-for-configuring-permissions-on-gcp
  • http://developers.google.com
  • Getting started documentation -- https://developers.google.com/compute/docs/api/prereqs

    Billing - http://code.google.com/appengine/kb/billing.html

    Features - http://code.google.com/appengine/docs/features.html

    Why App Engine - http://code.google.com/appengine/whyappengine.html

    Videos - http://code.google.com/appengine/docs/videoresources.html

    Sample Apps - http://code.google.com/p/google-app-engine-samples/

    Good list of which APIs are implemented on which languages, Python or Java or both
    http://code.google.com/appengine/tools_tips.html

  • http://developers.google.com
  • https://cloud.google.com/developers/articles/real-time-gaming-with-node-js-websocket-on-gcp
    https://cloud.google.com/developers/articles/dedicated-server-gaming-solution
  • https://www.youtube.com/watch?v=uy0tP6_kWJ4
    https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/write_api
    https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java
  • https://cloud.google.com/files/BigQueryTechnicalWP.pdf or http://www.slideshare.net/marsty5/googles-dremel
  • https://bigquery.sandbox.google.com/
  • https://cloud.google.com/developers/articles/apache-hadoop-hive-and-pig-on-google-compute-engine
  • https://developers.google.com/cloud/sdk/
  • https://developers.google.com/cloud/sdk/gcloud
    https://developers.google.com/cloud/sdk/cloudplatform
    https://developers.google.com/appengine/docs/appcfg
  • https://developers.google.com/cloud/sdk/
    https://developers.google.com/compute/docs/gcutil/
  • https://developers.google.com/compute/docs/gcutil/
  • https://developers.google.com/storage/docs/gsutil_install
  • https://developers.google.com/bigquery/bq-command-line-tool
  • https://developers.google.com/cloud/sdk/
    https://developers.google.com/compute/docs/gcutil/
  • ©2011 DevelopMentor
  • https://appengine.google.com/
  • https://developers.google.com/appengine/docs/java/webtoolsplatform
  • https://appengine.google.com/ - sample https://developers.google.com/eclipse/docs/creating_new_webapp
    Getting started in Java for GAE -- https://developers.google.com/appengine/docs/java/gettingstarted/introduction
    Java documentation for GAE -- https://developers.google.com/appengine/docs/java/
  • http://appengine.google.com
  • http://code.google.com/appengine/docs/java/tools/uploadinganapp.html
  • https://cloud.google.com/developers/articles/storage-overview
  • https://developers.google.com/cloud/
  • https://github.com/GoogleCloudPlatform
  • Lynn

Transcript

  • 1. Introduction to the Google Cloud for Developers @LynnLangit
  • 2. Run your application on Google’s Infrastructure
  • 3. Understanding Google’s Cloud Services
  • 4. Finding the Google Cloud DEMO
  • 5. Working with the Web console – navigating & projects DEMO
  • 6. About Billing  Information about free usage tier quotas  Scalable storage via many choices  Monitoring Usage  Via Service Dashboards  Via APIs (programmable alerts / alarms)  How Scaling Works  Default is auto-scale
  • 7. Google Cloud Starter Pack Use code “gde-in”
  • 8. Working with the Web Console for GCE – Creating an instance DEMO
  • 9. Core Cloud Services
  • 10. GCE Architecture
  • 11. Console – GCE Instance Settings
  • 12. Getting started with GAE Use the API Console (browser tool) Setup a NEW Google Cloud Project Create a GAE project using the GAE console Generates a REST request Add other Google Cloud services •Google Cloud Storage •Google App Engine •BigQuery •Other APIs
  • 13. Working with the Web Console for GAE – Creating an instance DEMO
  • 14. Core Cloud Services
  • 15. Sample GAE & CGE Architecture
  • 16. About Data and GAE
  • 17. About Cloud Endpoints for GAE Services  Allows clients (such as iOS, Android, Chrome) to access your GAE services  Easy to add (via attribute decorations or method annotations)  Makes internal Google API common services libraries for endpoints available  Create RESTful services from your GAE & make them accessible to iOS, Android and JavaScript clients  Integrated with tooling (admin console API Explorer)  Built-in critical infrastructure includes denial-of-service protection, OAuth 2.0 support and client key management
  • 18. Another Service Example – Big Query • Queries massive amounts of data • No indexes needed • Upload source data to Google Cloud storage • SQL-like query language Query as a Service • REST API • Tip: use LIMIT keyword when testing Web-console for testing • Log analysis • Sensor output streams • Mobile game instrumentation & optimization Use cases
  • 19. Looking at the BigQuery console
  • 20. Working with the Web Console for BigQuery – Running a Query DEMO
  • 21. Sample Google Cloud Solution Architecture - Services
  • 22. Sample Google Cloud Solution Architecture - Hadoop
  • 23. Programming– download the Google Cloud SDK NOTE: “The Cloud SDK is currently a developer preview, and is under active development.”
  • 24. Installing the Google Cloud SDK on Windows
  • 25. What are the command line tools?  gcloud - provides authentication, configuration, and component management (future) “more cloud developer workflow utilities” for various Google Cloud Services, also has an interactive mode (Python scripting)  gcd – to manage the Google Cloud datastore  gcloud sql – to manage Google Cloud SQL instances  gcutil – to manage Google Compute Engine  gsutil – to manage Google Cloud storage  appcfg – to deploy to Google App Engine  bq – to manage Google BigQuery
  • 26. Authentication
  • 27. Using gcloud DEMO
  • 28. gcloud command line examples $ gcloud auth login $ gcloud config set project <new-project-id> $ gcloud config unset project $ gcloud config list $ gcloud components list
  • 29. Using gcutil with GCE DEMO
  • 30. Using gcutil with GCE
  • 31. Using gsutil with Google Cloud Storage DEMO
  • 32. Using gsutil with Google Cloud Storage
  • 33. Using bq with Google BigQuery DEMO
  • 34. Using bq with Google Big Query
  • 35. Command line examples $ gcutil addinstance my-first-instance -- wait_until_running $ gcloud sql instances create your-instance- name $ bq query "SELECT name,count FROM mydataset.babynames WHERE gender = 'M' ORDER BY count DESC LIMIT 6"
  • 36. 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
  • 37. Configure Eclipse for Google Cloud • Get Cloud SDK • Get Eclipse Plug-in
  • 38. Start Programming  Create a new web app project  Add Google APIs  Write Code  Run locally  Deploy (ex. push to GAE)
  • 39. Adding the service SDK tools via Eclipse
  • 40. Running Locally
  • 41. Using the Java API with GCE DEMO
  • 42. Using the Java API with Big Query DEMO
  • 43. DEMO Creating and Testing ‘Hello Google Cloud’ on GAE in Eclipse
  • 44. Hello (Google) World application
  • 45. DEMODeploying to GAE and Using the Web Admin Console
  • 46. Viewing Deployed Applications • Create up to 10 applications • Click application to view detailed information about each instance • Can try out ‘push-to-deploy’
  • 47. Version Control  Updating current versions  Using appcfg
  • 48. Considering Data: Storage Options
  • 49. Keep Coding – More Samples googlecloudplatform.github.io
  • 50. Learn More – YouTube Google Cloud 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
  • 51. www.TeachingKidsProgramming.org • Free Courseware (Java, Small Basic or C# [on Pluralsight]) • Do a Recipe  Teach a Kid (Ages 10 ++) • recipes)
  • 52. 53 A big thank you to our sponsors Gold Partners Silver & Track Partners Platinum Partners