SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Google confidential │ Do not distributeGoogle confidential │ Do not distribute
Running Node.js on
Google Compute Engine
Arun Nagarajan
google.com/+ArunNagarajan
@entaq
Intro
Google Cloud Platform
Live demo
Questions
Agenda: May 8th, 2014
2
4
3
1
75
years
1957 2003 2013
500
25
years
10
years
(average age of a company
joining the S&P 500)
The decreasing cost of storage
enables virtually limitless
storage in the cloud. $600 can
buy enough storage for the
world’s music*
.
(Source: McKinsey Global Institute May 2011)
Computing as a utility is now
available for easy purchase,
provided from massively
efficient data centers.
(Source: Nicholas Carr, The Big Switch, 2008)
The internet allows for a
model of real-time access to
new innovation, information
and applications from a wide
range of devices.
Affordable
capacity
On-demand
computing
Instant
access
Big Trends
*more accurately, one could store 3.6 million music tracks at 3.5 MB each, assuming ~$50/TB HDD storage price. Noted by John Wilkes!
Google confidential | Do not distribute
“People tend to overestimate what can
be done in one year and to
underestimate what can be done in
five or ten years.”
Amara's Law
Google confidential | Do not distribute
Cloud Platform is built on the same
infrastructure that powers Google.
For the past 15 years, Google has been
building out the world’s fastest, most
powerful, highest quality infrastructure
on the planet.
Images by Connie Zhou
Wired, 'Google Throws Open Doors To Its Top Secret Data Center', October 2012
Google's Platform
"[Google's] ability to build, organize, and
operate a huge network of servers and
fiber-optic cables with an efficiency and
speed that rocks physics on its heels.
This is what makes Google Google: its
physical network, its thousands of fiber
miles, and those many thousands of servers
that, in aggregate, add up to the mother of
all clouds."
- Wired
72 hours
100 Million Gigabytes
Over 425 Million
1/4 second
Video uploaded to YouTube every minute
Google's "Caffeine" Search index, circa 2010
Number of active Gmail users
How long it takes for Google to respond to a search query
Google and Big Data
$2.9B in additional data center investments worldwide
Investing In Our Infrastructure
Store data with reliability, redundancy
and consistency
Go from data to meaning
At scale
Fast
Google white papers
Google File System (2003)
MapReduce: Simplified Data Processing on Large Clusters (2004)
BigTable: A Distributed Storage System for Structured Data (2006)
Dremel: Interactive Analysis of Web-Scale Datasets (2010)
Machine Translation (2004-2011)
2008
2010
2002
2004
2006
2012
GFS
MapReduce
Big Table
Colossus
Spanner
Dremel
FlumeJava
Pregel
What Did We Learn? To Innovate!
Application Runtimes & Services
● Iterate & deploy fast
● Scale to global demand
● Standards compliant
Data Services
● Data Intelligence
● Designed for Big Data
● High Performance
Data Storage and Distribution
● Global Resilient Architecture
● Global Edge Distribution
● Huge Secure Capacity
Global Data Centre & Networks
● Highly Resilient, Efficient & Performant
● 3rd Largest Server Manufacturer
● 2nd Largest Global Data Network
Google Research Publications referenced are available here: http://research.google.com/pubs/papers.html
Company’s ApplicationsGoogle Products etc...
App Engine,
Cloud Endpoints
BigQuery,
Flume
Cloud Storage,
Cloud SQL,
Cloud DataStore
Compute Engine,
Cloud Networking,
Cloud DNS
GRTE, Stubby,
BorgCron
Sawmill, Dremel,
MapReduce
Colossus, BlobStore,
Spanner, BigTable, F1
Borg, GFE,
GSLB, GTC
IaaS
Infrastructure-as-a-Service
PaaS
Platform-as-a-Service
SaaS
Software-as-a-Service
Cloud Computing
Managed by Companies Managed by Google
Cloud Computing
SaaS
Software-as-a-Service
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
IaaS
Infrastructure-as-a-Service
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
PaaS
Platform-as-a-Service
Packaged
Software
Google confidential │ Do not distribute
Storage
Cloud Storage Cloud SQL
Cloud
Datastore
Compute
Compute
Engine
App Engine
App Services
BigQuery
Cloud
Endpoints
Google Cloud Platform
Compute Engine
● Google’s Infrastructure-as-a-Service
● Create Linux VMs, and connect to them as you
would any other remote machine
● Static + Dynamic Addressing
● Persistent disks and snapshotting
● Live migration
● Network and firewall creation
● Load balancing
● Regional and zonal resources for high availability
Compute Engine Features
Google confidential │ Do not distribute
“Google Compute Engine is not just fast. It’s
Google fast. In fact, it’s a class of fast that
enables new service architectured entirely.”
- Sebastian Stadil, Scalr
Scalr
● Built on Chrome's JavaScript runtime
● Building fast, scalable network applications.
● Uses an event-driven, non-blocking I/O model
● Lightweight and efficient
● Perfect for data-intensive real-time applications
● Run across distributed devices.
Node.js
Google confidential │ Do not distribute
Compute Engine
Images by Connie Zhou
● console.developers.google.com
● create project
● setup billing
● Install gcloud tool -
○ curl https://sdk.cloud.google.com | bash
Compute Engine Setup
● gcloud components update compute
● gcloud auth login
● gcloud config set project eastern-button-574
● gcloud compute instances create arun-hello-world --zone europe-west1-a
● gcloud compute firewalls create allow-http --description "Incoming http allowed." --allow tcp:80
● gcloud compute ssh arun-hello-world --zone europe-west1-a
Alternatives:
● gcutil - still around but gcloud is focus
● REST API - very powerful
● UI - easy to use
Compute Engine Create Instance
Google confidential │ Do not distribute
Cloud Credit $500 Code - “dr-in”
Images by Connie Zhou
● sudo apt-get install python g++ make checkinstall
● mkdir ~/src && cd $_
● wget -N http://nodejs.org/dist/node-latest.tar.gz
● tar xzvf node-latest.tar.gz && cd node-v*
● ./configure
● sudo checkinstall (make sure to fix version)
Compute Engine node.js installation
application: my-application
runtime: go
vm: true


manual_scaling:
instances: 1
vm_settings:
machine_type: n1-standard-1
apt_get_install: redis-server vim
Built using Modules
https://developers.google.com/appengine/docs/python/modules/
Limited preview - https://developers.google.com/cloud/managed-vms
Managed VMs (limited preview)
Google confidential │ Do not distribute
Images by Connie Zhou

Weitere Àhnliche Inhalte

Was ist angesagt?

Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Chris Jang
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
rajdeep
 

Was ist angesagt? (20)

Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
 
Journey to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container EngineJourney to Containerized Application / Google Container Engine
Journey to Containerized Application / Google Container Engine
 
#DataUnlimited - Google Big Data Unlimited
#DataUnlimited - Google Big Data Unlimited#DataUnlimited - Google Big Data Unlimited
#DataUnlimited - Google Big Data Unlimited
 
Google I/O 2016 Recap - Google Cloud Platform News Update
Google I/O 2016 Recap - Google Cloud Platform News UpdateGoogle I/O 2016 Recap - Google Cloud Platform News Update
Google I/O 2016 Recap - Google Cloud Platform News Update
 
Introduction to Google's Cloud Technologies
Introduction to Google's Cloud TechnologiesIntroduction to Google's Cloud Technologies
Introduction to Google's Cloud Technologies
 
A Tour of Google Cloud Platform
A Tour of Google Cloud PlatformA Tour of Google Cloud Platform
A Tour of Google Cloud Platform
 
L2 3.fa19
L2 3.fa19L2 3.fa19
L2 3.fa19
 
GCP Gaming 2016 Seoul, Korea Build Game Server in 20min
GCP Gaming 2016 Seoul, Korea Build Game Server in 20minGCP Gaming 2016 Seoul, Korea Build Game Server in 20min
GCP Gaming 2016 Seoul, Korea Build Game Server in 20min
 
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
 
Google Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.comGoogle Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.com
 
StackEngine Demo - Docker Austin
StackEngine Demo - Docker AustinStackEngine Demo - Docker Austin
StackEngine Demo - Docker Austin
 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
 
Google BigQuery
Google BigQueryGoogle BigQuery
Google BigQuery
 
SEC302 Twitter's GCP Architecture for its petabyte scale data storage in gcs...
SEC302  Twitter's GCP Architecture for its petabyte scale data storage in gcs...SEC302  Twitter's GCP Architecture for its petabyte scale data storage in gcs...
SEC302 Twitter's GCP Architecture for its petabyte scale data storage in gcs...
 
äœżç”š Raspberry pi + fluentd + gcp cloud logging, big query 恚iot èł‡æ–™æœé›†èˆ‡ćˆ†æž
äœżç”š Raspberry pi + fluentd + gcp cloud logging, big query 恚iot èł‡æ–™æœé›†èˆ‡ćˆ†æžäœżç”š Raspberry pi + fluentd + gcp cloud logging, big query 恚iot èł‡æ–™æœé›†èˆ‡ćˆ†æž
äœżç”š Raspberry pi + fluentd + gcp cloud logging, big query 恚iot èł‡æ–™æœé›†èˆ‡ćˆ†æž
 
Google Cloud Connect Korea - Sep 2017
Google Cloud Connect Korea - Sep 2017Google Cloud Connect Korea - Sep 2017
Google Cloud Connect Korea - Sep 2017
 
Big query the first step - (MOSG)
Big query the first step - (MOSG)Big query the first step - (MOSG)
Big query the first step - (MOSG)
 
code lab live Google Cloud Endpoints [DevFest 2015 Bari]
code lab live Google Cloud Endpoints [DevFest 2015 Bari]code lab live Google Cloud Endpoints [DevFest 2015 Bari]
code lab live Google Cloud Endpoints [DevFest 2015 Bari]
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
 
Introduction to Google Cloud
Introduction to Google CloudIntroduction to Google Cloud
Introduction to Google Cloud
 

Andere mochten auch

How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014
James Chittenden
 

Andere mochten auch (15)

How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014
 
Google Cloud Platform
Google Cloud Platform Google Cloud Platform
Google Cloud Platform
 
Understanding cloud with Google Cloud Platform
Understanding cloud with Google Cloud PlatformUnderstanding cloud with Google Cloud Platform
Understanding cloud with Google Cloud Platform
 
Infinite Scale - Introduction to Google App Engine
Infinite Scale - Introduction to Google App EngineInfinite Scale - Introduction to Google App Engine
Infinite Scale - Introduction to Google App Engine
 
Ferramentas e programas do Google para startups e apps
Ferramentas e programas do Google para startups e appsFerramentas e programas do Google para startups e apps
Ferramentas e programas do Google para startups e apps
 
Serverless: Um novo paradigma de arquitetura de aplicaçÔes - Exemplos com Fir...
Serverless: Um novo paradigma de arquitetura de aplicaçÔes - Exemplos com Fir...Serverless: Um novo paradigma de arquitetura de aplicaçÔes - Exemplos com Fir...
Serverless: Um novo paradigma de arquitetura de aplicaçÔes - Exemplos com Fir...
 
Mobile, UX e Micro-momentos
Mobile, UX e Micro-momentosMobile, UX e Micro-momentos
Mobile, UX e Micro-momentos
 
Cloud Computing: De tendencia a realidade
Cloud Computing: De tendencia a realidadeCloud Computing: De tendencia a realidade
Cloud Computing: De tendencia a realidade
 
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision APIUsing Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
 
The Hyper Connected Era: Mobile First, Cloud First and Multi Screen
The Hyper Connected Era: Mobile First, Cloud First and Multi Screen The Hyper Connected Era: Mobile First, Cloud First and Multi Screen
The Hyper Connected Era: Mobile First, Cloud First and Multi Screen
 
Introdução ao Firebase
Introdução ao FirebaseIntrodução ao Firebase
Introdução ao Firebase
 
As 8 caracterĂ­sticas de um gestor e lĂ­der no "Estilo Google"
As 8 caracterĂ­sticas de um gestor e lĂ­der no "Estilo Google"As 8 caracterĂ­sticas de um gestor e lĂ­der no "Estilo Google"
As 8 caracterĂ­sticas de um gestor e lĂ­der no "Estilo Google"
 
Machine learning and TensorFlow
Machine learning and TensorFlowMachine learning and TensorFlow
Machine learning and TensorFlow
 
Google Cloud Platform
Google Cloud PlatformGoogle Cloud Platform
Google Cloud Platform
 
4Ms: a framework to assess early-stage startups
4Ms: a framework to assess early-stage startups4Ms: a framework to assess early-stage startups
4Ms: a framework to assess early-stage startups
 

Ähnlich wie node.js on Google Compute Engine

Critical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsCritical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and Analytics
Data Driven Innovation
 

Ähnlich wie node.js on Google Compute Engine (20)

Google Cloud Platform
Google Cloud PlatformGoogle Cloud Platform
Google Cloud Platform
 
Big data in action
Big data in actionBig data in action
Big data in action
 
Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)
 
Google Developers Summit Tokyo - Google Cloud Platform ă§çŸ„ă‚‹ Google ă‚Żăƒ©ă‚Šăƒ‰ăźă€ŒGoogl...
Google Developers Summit Tokyo - Google Cloud Platform ă§çŸ„ă‚‹ Google ă‚Żăƒ©ă‚Šăƒ‰ăźă€ŒGoogl...Google Developers Summit Tokyo - Google Cloud Platform ă§çŸ„ă‚‹ Google ă‚Żăƒ©ă‚Šăƒ‰ăźă€ŒGoogl...
Google Developers Summit Tokyo - Google Cloud Platform ă§çŸ„ă‚‹ Google ă‚Żăƒ©ă‚Šăƒ‰ăźă€ŒGoogl...
 
Top Advantages of Using Google Cloud Platform
Top Advantages of Using Google Cloud PlatformTop Advantages of Using Google Cloud Platform
Top Advantages of Using Google Cloud Platform
 
Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)
Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)
Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)
 
Webinar | From Zero to 1 Million with Google Cloud Platform and DataStax
Webinar | From Zero to 1 Million with Google Cloud Platform and DataStaxWebinar | From Zero to 1 Million with Google Cloud Platform and DataStax
Webinar | From Zero to 1 Million with Google Cloud Platform and DataStax
 
Eric Andersen Keynote
Eric Andersen KeynoteEric Andersen Keynote
Eric Andersen Keynote
 
Keynote: Faster, Better, Cheaper: Pick all Three! By Miles Ward of Google
Keynote: Faster, Better, Cheaper: Pick all Three! By Miles Ward of GoogleKeynote: Faster, Better, Cheaper: Pick all Three! By Miles Ward of Google
Keynote: Faster, Better, Cheaper: Pick all Three! By Miles Ward of Google
 
Critical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsCritical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and Analytics
 
Deep dive into Google Cloud for Big Data
Deep dive into Google Cloud for Big DataDeep dive into Google Cloud for Big Data
Deep dive into Google Cloud for Big Data
 
Big data on google cloud
Big data on google cloudBig data on google cloud
Big data on google cloud
 
Executive Intro to BigQuery
Executive Intro to BigQueryExecutive Intro to BigQuery
Executive Intro to BigQuery
 
Building what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructure
 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
 
Accelerating workloads and bursting data with Google Dataproc & Alluxio
Accelerating workloads and bursting data with Google Dataproc & AlluxioAccelerating workloads and bursting data with Google Dataproc & Alluxio
Accelerating workloads and bursting data with Google Dataproc & Alluxio
 
Google Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scaleGoogle Cloud Platform: Prototype ->Production-> Planet scale
Google Cloud Platform: Prototype ->Production-> Planet scale
 
Get Your Head in the Cloud - Lessons in GPU Computing with Schlumberger
Get Your Head in the Cloud - Lessons in GPU Computing with SchlumbergerGet Your Head in the Cloud - Lessons in GPU Computing with Schlumberger
Get Your Head in the Cloud - Lessons in GPU Computing with Schlumberger
 
Introduction to GCP
Introduction to GCPIntroduction to GCP
Introduction to GCP
 
Google Cloud - Scale With A Smile (Dec 2014)
Google Cloud - Scale With A Smile (Dec 2014)Google Cloud - Scale With A Smile (Dec 2014)
Google Cloud - Scale With A Smile (Dec 2014)
 

Mehr von Arun Nagarajan (8)

Google Maps on iOS with Swift
Google Maps on iOS with SwiftGoogle Maps on iOS with Swift
Google Maps on iOS with Swift
 
Animations & swift
Animations & swiftAnimations & swift
Animations & swift
 
Battery Efficient Location Services
Battery Efficient Location ServicesBattery Efficient Location Services
Battery Efficient Location Services
 
CheckMark - Code the Deal hackathon
CheckMark - Code the Deal hackathonCheckMark - Code the Deal hackathon
CheckMark - Code the Deal hackathon
 
Mongo DB Hackday Apr 28 2012
Mongo DB Hackday Apr 28 2012Mongo DB Hackday Apr 28 2012
Mongo DB Hackday Apr 28 2012
 
Integrate Google Drive with Google Apps Script
Integrate Google Drive with Google Apps ScriptIntegrate Google Drive with Google Apps Script
Integrate Google Drive with Google Apps Script
 
Android L Preview - Recents Screen + API
Android L Preview  - Recents Screen + APIAndroid L Preview  - Recents Screen + API
Android L Preview - Recents Screen + API
 
CloudKit
CloudKitCloudKit
CloudKit
 

KĂŒrzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

KĂŒrzlich hochgeladen (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

node.js on Google Compute Engine

  • 1. Google confidential │ Do not distributeGoogle confidential │ Do not distribute Running Node.js on Google Compute Engine Arun Nagarajan google.com/+ArunNagarajan @entaq
  • 2. Intro Google Cloud Platform Live demo Questions Agenda: May 8th, 2014 2 4 3 1
  • 3. 75 years 1957 2003 2013 500 25 years 10 years (average age of a company joining the S&P 500)
  • 4. The decreasing cost of storage enables virtually limitless storage in the cloud. $600 can buy enough storage for the world’s music* . (Source: McKinsey Global Institute May 2011) Computing as a utility is now available for easy purchase, provided from massively efficient data centers. (Source: Nicholas Carr, The Big Switch, 2008) The internet allows for a model of real-time access to new innovation, information and applications from a wide range of devices. Affordable capacity On-demand computing Instant access Big Trends *more accurately, one could store 3.6 million music tracks at 3.5 MB each, assuming ~$50/TB HDD storage price. Noted by John Wilkes!
  • 5. Google confidential | Do not distribute “People tend to overestimate what can be done in one year and to underestimate what can be done in five or ten years.” Amara's Law
  • 6. Google confidential | Do not distribute Cloud Platform is built on the same infrastructure that powers Google. For the past 15 years, Google has been building out the world’s fastest, most powerful, highest quality infrastructure on the planet.
  • 7. Images by Connie Zhou Wired, 'Google Throws Open Doors To Its Top Secret Data Center', October 2012 Google's Platform "[Google's] ability to build, organize, and operate a huge network of servers and fiber-optic cables with an efficiency and speed that rocks physics on its heels. This is what makes Google Google: its physical network, its thousands of fiber miles, and those many thousands of servers that, in aggregate, add up to the mother of all clouds." - Wired
  • 8. 72 hours 100 Million Gigabytes Over 425 Million 1/4 second Video uploaded to YouTube every minute Google's "Caffeine" Search index, circa 2010 Number of active Gmail users How long it takes for Google to respond to a search query Google and Big Data
  • 9. $2.9B in additional data center investments worldwide Investing In Our Infrastructure
  • 10. Store data with reliability, redundancy and consistency Go from data to meaning At scale Fast Google white papers Google File System (2003) MapReduce: Simplified Data Processing on Large Clusters (2004) BigTable: A Distributed Storage System for Structured Data (2006) Dremel: Interactive Analysis of Web-Scale Datasets (2010) Machine Translation (2004-2011) 2008 2010 2002 2004 2006 2012 GFS MapReduce Big Table Colossus Spanner Dremel FlumeJava Pregel What Did We Learn? To Innovate!
  • 11. Application Runtimes & Services ● Iterate & deploy fast ● Scale to global demand ● Standards compliant Data Services ● Data Intelligence ● Designed for Big Data ● High Performance Data Storage and Distribution ● Global Resilient Architecture ● Global Edge Distribution ● Huge Secure Capacity Global Data Centre & Networks ● Highly Resilient, Efficient & Performant ● 3rd Largest Server Manufacturer ● 2nd Largest Global Data Network Google Research Publications referenced are available here: http://research.google.com/pubs/papers.html Company’s ApplicationsGoogle Products etc... App Engine, Cloud Endpoints BigQuery, Flume Cloud Storage, Cloud SQL, Cloud DataStore Compute Engine, Cloud Networking, Cloud DNS GRTE, Stubby, BorgCron Sawmill, Dremel, MapReduce Colossus, BlobStore, Spanner, BigTable, F1 Borg, GFE, GSLB, GTC
  • 13. Managed by Companies Managed by Google Cloud Computing SaaS Software-as-a-Service Applications Data Runtime Middleware OS Virtualization Servers Storage Networking Applications Data Runtime Middleware OS Virtualization Servers Storage Networking Applications Data Runtime Middleware OS Virtualization Servers Storage Networking IaaS Infrastructure-as-a-Service Applications Data Runtime Middleware OS Virtualization Servers Storage Networking PaaS Platform-as-a-Service Packaged Software
  • 14. Google confidential │ Do not distribute Storage Cloud Storage Cloud SQL Cloud Datastore Compute Compute Engine App Engine App Services BigQuery Cloud Endpoints Google Cloud Platform
  • 16. ● Google’s Infrastructure-as-a-Service ● Create Linux VMs, and connect to them as you would any other remote machine ● Static + Dynamic Addressing ● Persistent disks and snapshotting ● Live migration ● Network and firewall creation ● Load balancing ● Regional and zonal resources for high availability Compute Engine Features
  • 17. Google confidential │ Do not distribute “Google Compute Engine is not just fast. It’s Google fast. In fact, it’s a class of fast that enables new service architectured entirely.” - Sebastian Stadil, Scalr Scalr
  • 18. ● Built on Chrome's JavaScript runtime ● Building fast, scalable network applications. ● Uses an event-driven, non-blocking I/O model ● Lightweight and efficient ● Perfect for data-intensive real-time applications ● Run across distributed devices. Node.js
  • 19. Google confidential │ Do not distribute Compute Engine Images by Connie Zhou
  • 20. ● console.developers.google.com ● create project ● setup billing ● Install gcloud tool - ○ curl https://sdk.cloud.google.com | bash Compute Engine Setup
  • 21. ● gcloud components update compute ● gcloud auth login ● gcloud config set project eastern-button-574 ● gcloud compute instances create arun-hello-world --zone europe-west1-a ● gcloud compute firewalls create allow-http --description "Incoming http allowed." --allow tcp:80 ● gcloud compute ssh arun-hello-world --zone europe-west1-a Alternatives: ● gcutil - still around but gcloud is focus ● REST API - very powerful ● UI - easy to use Compute Engine Create Instance
  • 22. Google confidential │ Do not distribute Cloud Credit $500 Code - “dr-in” Images by Connie Zhou
  • 23. ● sudo apt-get install python g++ make checkinstall ● mkdir ~/src && cd $_ ● wget -N http://nodejs.org/dist/node-latest.tar.gz ● tar xzvf node-latest.tar.gz && cd node-v* ● ./configure ● sudo checkinstall (make sure to fix version) Compute Engine node.js installation
  • 24. application: my-application runtime: go vm: true 
 manual_scaling: instances: 1 vm_settings: machine_type: n1-standard-1 apt_get_install: redis-server vim Built using Modules https://developers.google.com/appengine/docs/python/modules/ Limited preview - https://developers.google.com/cloud/managed-vms Managed VMs (limited preview)
  • 25. Google confidential │ Do not distribute Images by Connie Zhou