using the google cloud -for developers- part four
DESCRIPTION
Part 4 of 6 - YouTube screencast series - 'Intro to the Google Cloud for Developers' - using command line toolsTRANSCRIPT
Using Google’s Cloud – for Developers
Part 4 of 6 Using command line tools with the Google
Cloud
Lynn Langit
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
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
Using the command line with the Google Cloud
Part Four
Using the Google Cloud Command Line Tools
Download the tools
Configure the tools
Select acomman
d
Run a comman
d
Establish OAuth
Run the comman
ds
Getting Started – download the Google Cloud SDK
NOTE: “The Cloud SDK is currently a developer preview, and is under active development.”
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
Authentication
A bit more about OAuth 2.0
via a service accountvia an installed application
Viewing Credentials
DEMO
Using gcloud
DEMO
gcloud command line examples
$ gcloud auth login
$ gcloud config set project <new-project-id>
$ gcloud config unset project
$ gcloud config list
$ gcloud components list
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-instance-name
$ bq query "SELECT name,count FROM mydataset.babynames WHERE gender = 'M' ORDER BY count DESC LIMIT 6"
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
www.TeachingKidsProgramming.org• Free Courseware (Java, Small Basic or C# [on Pluralsight])• Do a Recipe Teach a Kid (Ages 10 ++)
• recipes)
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