0
Introduction to the Google Cloud
for Developers
@LynnLangit
Run your application on Google’s
Infrastructure
Understanding Google’s Cloud Services
Finding the Google Cloud
DEMO
Working with the Web console – navigating & projects
DEMO
About Billing
 Information about free
usage tier quotas
 Scalable storage via
many choices
 Monitoring Usage
 Via Serv...
Google Cloud Starter Pack
Use code
“gde-in”
Working with the Web Console for GCE –
Creating an instance
DEMO
Core Cloud Services
GCE Architecture
Console – GCE Instance Settings
Getting started with GAE
Use the API
Console
(browser
tool)
Setup a NEW
Google
Cloud
Project
Create a GAE
project using
th...
Working with the Web Console for GAE –
Creating an instance
DEMO
Core Cloud Services
Sample GAE & CGE Architecture
About Data and GAE
About Cloud Endpoints for GAE Services
 Allows clients (such as iOS, Android, Chrome) to access your GAE services
 Easy ...
Another Service Example – Big Query
• Queries massive amounts
of data
• No indexes needed
• Upload source data to
Google C...
Looking at the BigQuery console
Working with the Web Console for BigQuery – Running a Query
DEMO
Sample Google Cloud Solution Architecture -
Services
Sample Google Cloud Solution Architecture -
Hadoop
Programming– download the Google Cloud
SDK
NOTE: “The Cloud SDK is
currently a developer preview,
and is under active
deve...
Installing the Google Cloud SDK on Windows
What are the command line tools?
 gcloud - provides authentication, configuration, and component
management (future) “mor...
Authentication
Using gcloud
DEMO
gcloud command line examples
$ gcloud auth login
$ gcloud config set project <new-project-id>
$ gcloud config unset projec...
Using gcutil with GCE
DEMO
Using gcutil with GCE
Using gsutil with Google Cloud Storage
DEMO
Using gsutil with Google Cloud Storage
Using bq with Google BigQuery
DEMO
Using bq with Google Big Query
Command line examples
$ gcutil addinstance my-first-instance --
wait_until_running
$ gcloud sql instances create your-inst...
Prepare to Program on the Google Cloud
• GAE, GCE, etc…
• Download & Install
Google Cloud SDK
• Java (Eclipse)
Google Clou...
Configure Eclipse for Google Cloud
• Get Cloud SDK
• Get Eclipse Plug-in
Start Programming
 Create a new web app project
 Add Google APIs
 Write Code
 Run locally
 Deploy (ex. push to GAE)
Adding the service SDK tools via Eclipse
Running Locally
Using the Java API with GCE
DEMO
Using the Java API with Big Query
DEMO
DEMO
Creating and Testing ‘Hello Google Cloud’ on GAE in Eclipse
Hello (Google) World application
DEMODeploying to GAE and Using the Web Admin Console
Viewing Deployed Applications
• Create up to 10 applications
• Click application to view detailed information about each
i...
Version Control
 Updating current versions
 Using appcfg
Considering Data: Storage Options
Keep Coding – More Samples
googlecloudplatform.github.io
Learn More – YouTube Google Cloud Series
Is a series of screencasts
including demos and code
samples
• Designed for Java d...
www.TeachingKidsProgramming.org
• Free Courseware (Java, Small Basic or C# [on Pluralsight])
• Do a Recipe  Teach a Kid (...
53
A big thank you to our sponsors
Gold Partners
Silver & Track Partners
Platinum Partners
Intro to the Google Cloud for Developers
Upcoming SlideShare
Loading in...5
×

Intro to the Google Cloud for Developers

4,814

Published on

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

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,814
On Slideshare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
22
Comments
0
Likes
4
Embeds 0
No embeds

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 of "Intro to the Google Cloud for Developers"

    1. 1. Introduction to the Google Cloud for Developers @LynnLangit
    2. 2. Run your application on Google’s Infrastructure
    3. 3. Understanding Google’s Cloud Services
    4. 4. Finding the Google Cloud DEMO
    5. 5. Working with the Web console – navigating & projects DEMO
    6. 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. 7. Google Cloud Starter Pack Use code “gde-in”
    8. 8. Working with the Web Console for GCE – Creating an instance DEMO
    9. 9. Core Cloud Services
    10. 10. GCE Architecture
    11. 11. Console – GCE Instance Settings
    12. 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. 13. Working with the Web Console for GAE – Creating an instance DEMO
    14. 14. Core Cloud Services
    15. 15. Sample GAE & CGE Architecture
    16. 16. About Data and GAE
    17. 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. 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. 19. Looking at the BigQuery console
    20. 20. Working with the Web Console for BigQuery – Running a Query DEMO
    21. 21. Sample Google Cloud Solution Architecture - Services
    22. 22. Sample Google Cloud Solution Architecture - Hadoop
    23. 23. Programming– download the Google Cloud SDK NOTE: “The Cloud SDK is currently a developer preview, and is under active development.”
    24. 24. Installing the Google Cloud SDK on Windows
    25. 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. 26. Authentication
    27. 27. Using gcloud DEMO
    28. 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. 29. Using gcutil with GCE DEMO
    30. 30. Using gcutil with GCE
    31. 31. Using gsutil with Google Cloud Storage DEMO
    32. 32. Using gsutil with Google Cloud Storage
    33. 33. Using bq with Google BigQuery DEMO
    34. 34. Using bq with Google Big Query
    35. 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. 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. 37. Configure Eclipse for Google Cloud • Get Cloud SDK • Get Eclipse Plug-in
    38. 38. Start Programming  Create a new web app project  Add Google APIs  Write Code  Run locally  Deploy (ex. push to GAE)
    39. 39. Adding the service SDK tools via Eclipse
    40. 40. Running Locally
    41. 41. Using the Java API with GCE DEMO
    42. 42. Using the Java API with Big Query DEMO
    43. 43. DEMO Creating and Testing ‘Hello Google Cloud’ on GAE in Eclipse
    44. 44. Hello (Google) World application
    45. 45. DEMODeploying to GAE and Using the Web Admin Console
    46. 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. 47. Version Control  Updating current versions  Using appcfg
    48. 48. Considering Data: Storage Options
    49. 49. Keep Coding – More Samples googlecloudplatform.github.io
    50. 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. 51. www.TeachingKidsProgramming.org • Free Courseware (Java, Small Basic or C# [on Pluralsight]) • Do a Recipe  Teach a Kid (Ages 10 ++) • recipes)
    52. 52. 53 A big thank you to our sponsors Gold Partners Silver & Track Partners Platinum Partners
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×