SlideShare a Scribd company logo
PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL
[name] Patriek van Dorp
[role] Cloud Solution Architect
[twitter] @pvandorp
~/code$ az account get presenter
{
“title”: “Provisioning,
Deploying and Debugging
Node.js Applications on
Azure”
}
~/code$ node javascript_everywhere.js
Developers are already familiar with JavaScript on the client-
side. Why not have them develop JavaScript on the server-side
as well?
Business logic and data structures all in one format (both in-
process, on-the-wire and on-disk).
Node.js runs on every operating system.
~/code$ cat synchronous & cat asynchronous & cat evented-io
(s) ---> /---->
-------->-------->-------->-------->-------->/
(a) ---> /---->
----> /----> /--->/
-------->-------->/ ---->/
(e) --->  /-> /-> /-----> /----/--->----->
--->/ ---->/ -/-->------>/ /
-------->-------->/ ---->/
~/code$ node ../history.js
[2009] Node.js introduced at JSConf.eu – async I/O
[2010] npm package manager sharing components through OSS
[2011] Node.js ported to lubuv and Windows
[2011] Node.js supported on Azure Web Apps – PaaS for Node
[2013] “MEAN” stack – Node.js and NoSQL
[2014] Functions and Serverless – Node.js as universal lang
[2014] io.js – tension between rapid innovation and
stability
[2015] Node.js Foundation founded & merged with io.js
[2015] First LTS release – addressing stability needs
[2016] Node-ChakraCore – Bringing Node.js everywhere
[2016] VS Code 1.0 – Debugger for Node.js
[2016] Diagnostics WG – new diagnostics capabilities
Azure App Service
Let us take care of infrastructure matters
Azure App Service Flavors
Mobile Apps
Functions
Logic Apps
API Apps
Web Apps
Azure App Service
App Service Plans
 … is a Virtual Machine
 … can be scaled up
 … can be scaled out
 … is used to host Web Apps
An App Service Plan …
…
Azure App Service
Web Apps
 … is a ‘container’ for configuration
 … is an execution environment for your code
 … offers multiple deployment slots
 … supports Blue/Green deployments
 … supports A/B Testing
 … has advanced monitoring built in
 … supports a lot of OSS runtimes
A Web App …
Azure App Service
DEMO
The Never-Ending Cycle of DevOps
Plan
It starts with and idea – and a plan to make it a reality…
Manage work
Develop + Test 1
Project starts
PlanTrack progress
Develop, Build, Test
Developers turn great
ideas into features
Write Code
Unit Testing
2
Build
Version Control
Build Verification
Release
Release
When unit tests pass, the build is deployed and tested for each
stage in the release process
Cloud
Load Testing
Automated
functional testing
environment
Integration testing
environment
3
Pre-production
environment
Staging
environment
Monitor + Learn
Monitor & Learn
Learn and understand how users use your app, how it reacts and
quickly fix issues and bugs
4
Monitor
Feedback
Plan the next iteration
Visual Studio
Team Services
DEMO
~/code$ sudo az
/
/  _____ _ _ __ ___
/ /  |_ / | | | '__/ _ 
/ ____  / /| |_| | | | __/
/_/ _/___|__,_|_| ___|
Welcome to the cool new Azure CLI!
Here are the base commands:
account : Manage subscriptions.
acr : Manage Azure container registries.
acs : Manage Azure Container Services.
ad : Synchronize on-premises directories and
manage Azure Active Directory…
…
~/code$ node ./next.js
* https://www.microsoftazurepass.com/
* https://azure.microsoft.com/en-us/free/
* https://azure.microsoft.com/en-us/develop/nodejs
* https://code.visualstudio.com/
* https://github.com/pvandorp/node-samples
* https://docs.microsoft.com/en-us/azure/app-service-
mobile/app-service-mobile-node-backend-how-to-use-server-sdk
---------------------------------------------------
! https://aka.ms/posteventfeedback

More Related Content

PPTX
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
PPTX
TechDays NL 2017: The Hybrid Docker Swarm
PDF
Lessons Learned Building a Container App Library
PPTX
SQL Sever on Docker: Database Containers 3 Ways
PPTX
Modernizing Traditional Apps with Docker Enterprise Edition
PPTX
Cloud+Data Next: Mashing Linux and Windows Containers
PDF
Build automated Machine Images using Packer
PPTX
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
TechDays NL 2017: The Hybrid Docker Swarm
Lessons Learned Building a Container App Library
SQL Sever on Docker: Database Containers 3 Ways
Modernizing Traditional Apps with Docker Enterprise Edition
Cloud+Data Next: Mashing Linux and Windows Containers
Build automated Machine Images using Packer
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...

What's hot (20)

PDF
Docker Tooling for Eclipse
PPTX
#SDD2017 - Modernizing .NET Apps with Docker
KEY
How To Make A Framework Plugin That Does Not Suck
PPTX
#dddsw - Modernizing .NET Apps with Docker
PPTX
IP EXPO London 2017: Modernizing Traditional Apps with Docker
PDF
"Workstation Up" - Docker Development at Flow by Mike Roth
PPTX
Docker on Windows: From 101 to Modernizing .NET Apps
PPTX
Kubernetes your tests! automation with docker on google cloud platform
PDF
Testing as a container
PPTX
Docker on Windows and Linux - Red Shirt Dev Tour
PDF
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
PPTX
Elixir/Phoenix releases and research about common deployment strategies.
PDF
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
PDF
DevOps Workflow: A Tutorial on Linux Containers
PPTX
End-to-end CI/CD deployments of containerized applications using AWS services
PPTX
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
PDF
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
PDF
CI/CD Using Ansible and Jenkins for Infrastructure
PDF
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
PDF
Serverless Containers
Docker Tooling for Eclipse
#SDD2017 - Modernizing .NET Apps with Docker
How To Make A Framework Plugin That Does Not Suck
#dddsw - Modernizing .NET Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker on Windows: From 101 to Modernizing .NET Apps
Kubernetes your tests! automation with docker on google cloud platform
Testing as a container
Docker on Windows and Linux - Red Shirt Dev Tour
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Elixir/Phoenix releases and research about common deployment strategies.
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
DevOps Workflow: A Tutorial on Linux Containers
End-to-end CI/CD deployments of containerized applications using AWS services
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
CI/CD Using Ansible and Jenkins for Infrastructure
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Serverless Containers
Ad

Similar to Provisioning, deploying and debugging node.js applications on azure (20)

KEY
An Introduction to Node.js Development with Windows Azure
PPTX
Node.js on Azure
PPTX
Node.js on Windows Azure
PDF
Node.js for .NET Developers
PPTX
Debugging in Node.js and Azure
PPTX
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
PDF
Adobe nondisclosure-agreement-automation-solution-sb.pd
PPTX
Azure DevOps for JavaScript Developers
PDF
Create your first application node.js and windows azure
PDF
Azure App Services
PDF
Develop & Deploy Node.js app on Windows Azure
PDF
Azure web apps
PDF
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
PPTX
Node js plus azure equals true
PDF
Intro to Node.js (for .NET Developers)
PPTX
Power of Azure Devops
PDF
Node.js on microsoft azure april 2014
PPT
Node and Azure
PPTX
Getting started with development in azure
PPTX
Build 2015 – Azure overview
An Introduction to Node.js Development with Windows Azure
Node.js on Azure
Node.js on Windows Azure
Node.js for .NET Developers
Debugging in Node.js and Azure
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
Adobe nondisclosure-agreement-automation-solution-sb.pd
Azure DevOps for JavaScript Developers
Create your first application node.js and windows azure
Azure App Services
Develop & Deploy Node.js app on Windows Azure
Azure web apps
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
Node js plus azure equals true
Intro to Node.js (for .NET Developers)
Power of Azure Devops
Node.js on microsoft azure april 2014
Node and Azure
Getting started with development in azure
Build 2015 – Azure overview
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Cloud computing and distributed systems.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MIND Revenue Release Quarter 2 2025 Press Release
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
sap open course for s4hana steps from ECC to s4
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Cloud computing and distributed systems.
Spectral efficient network and resource selection model in 5G networks
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Programs and apps: productivity, graphics, security and other tools
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Provisioning, deploying and debugging node.js applications on azure

  • 1. PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL [name] Patriek van Dorp [role] Cloud Solution Architect [twitter] @pvandorp ~/code$ az account get presenter { “title”: “Provisioning, Deploying and Debugging Node.js Applications on Azure” }
  • 2. ~/code$ node javascript_everywhere.js Developers are already familiar with JavaScript on the client- side. Why not have them develop JavaScript on the server-side as well? Business logic and data structures all in one format (both in- process, on-the-wire and on-disk). Node.js runs on every operating system.
  • 3. ~/code$ cat synchronous & cat asynchronous & cat evented-io (s) ---> /----> -------->-------->-------->-------->-------->/ (a) ---> /----> ----> /----> /--->/ -------->-------->/ ---->/ (e) ---> /-> /-> /-----> /----/--->-----> --->/ ---->/ -/-->------>/ / -------->-------->/ ---->/
  • 4. ~/code$ node ../history.js [2009] Node.js introduced at JSConf.eu – async I/O [2010] npm package manager sharing components through OSS [2011] Node.js ported to lubuv and Windows [2011] Node.js supported on Azure Web Apps – PaaS for Node [2013] “MEAN” stack – Node.js and NoSQL [2014] Functions and Serverless – Node.js as universal lang [2014] io.js – tension between rapid innovation and stability [2015] Node.js Foundation founded & merged with io.js [2015] First LTS release – addressing stability needs [2016] Node-ChakraCore – Bringing Node.js everywhere [2016] VS Code 1.0 – Debugger for Node.js [2016] Diagnostics WG – new diagnostics capabilities
  • 5. Azure App Service Let us take care of infrastructure matters
  • 6. Azure App Service Flavors Mobile Apps Functions Logic Apps API Apps Web Apps
  • 7. Azure App Service App Service Plans  … is a Virtual Machine  … can be scaled up  … can be scaled out  … is used to host Web Apps An App Service Plan … …
  • 8. Azure App Service Web Apps  … is a ‘container’ for configuration  … is an execution environment for your code  … offers multiple deployment slots  … supports Blue/Green deployments  … supports A/B Testing  … has advanced monitoring built in  … supports a lot of OSS runtimes A Web App …
  • 11. Plan It starts with and idea – and a plan to make it a reality… Manage work Develop + Test 1 Project starts PlanTrack progress
  • 12. Develop, Build, Test Developers turn great ideas into features Write Code Unit Testing 2 Build Version Control Build Verification Release
  • 13. Release When unit tests pass, the build is deployed and tested for each stage in the release process Cloud Load Testing Automated functional testing environment Integration testing environment 3 Pre-production environment Staging environment Monitor + Learn
  • 14. Monitor & Learn Learn and understand how users use your app, how it reacts and quickly fix issues and bugs 4 Monitor Feedback Plan the next iteration
  • 16. ~/code$ sudo az / / _____ _ _ __ ___ / / |_ / | | | '__/ _ / ____ / /| |_| | | | __/ /_/ _/___|__,_|_| ___| Welcome to the cool new Azure CLI! Here are the base commands: account : Manage subscriptions. acr : Manage Azure container registries. acs : Manage Azure Container Services. ad : Synchronize on-premises directories and manage Azure Active Directory… …
  • 17. ~/code$ node ./next.js * https://www.microsoftazurepass.com/ * https://azure.microsoft.com/en-us/free/ * https://azure.microsoft.com/en-us/develop/nodejs * https://code.visualstudio.com/ * https://github.com/pvandorp/node-samples * https://docs.microsoft.com/en-us/azure/app-service- mobile/app-service-mobile-node-backend-how-to-use-server-sdk --------------------------------------------------- ! https://aka.ms/posteventfeedback

Editor's Notes

  • #5: https://code.visualstudio.com/docs/nodejs/nodejs-debugging