take the fastest path to node.js application development with bitnami & aws lightsail
TRANSCRIPT
Take the Fastest Path to Node.js Application DevelopmentWith Bitnami & Amazon Lightsail
Host
Mavian RuizPartner Marketing Manager,
Bitnami
Speaker
Mark HinkleExecutive Director of The Node.js
Foundation
Emily KrugerSenior Product Manager of Amazon
Lightsail
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Agenda• Node.js Overview• Node.js Survey Results:
• Who is using Node.js?
• What is Node.js being used for?
• How does Node.js solve developer pain points?
• The benefits of Amazon Lightsail• How to launch Node.js on Amazon Lightsail• The benefits of using Bitnami• Using Bitnami packaged Node.js• Bitnami on Amazon Lightsail• Live Q&A
Node.js Overview
Last updated 7-28-2017
Node.js is emerging as a universal development framework for digital
transformation with a broad diversity of applications.
With over 8 million Node.js instances online, three in four users are planning to
increase their use of Node.js in the next 12 months. Many are learning Node.js
in a foreign language with China being the second largest population outside of
the U.S. using Node.
6
OVERVIEW
Node.js®
7
• Developed by Ryan Dahl of Joyent and now governed by the Node.js Foundation
• Node.js is an asynchronous event driven JavaScript runtime, designed to build
scalable network applications.
• Node.js allows JavaScript to be executed on via server side for end-to-end client
server javascript applications.
• It was developed in 2009 and now boasts over 8 million installations world-wide
• More information at https://nodejs.org
PERVASIVE ADOPTION
Node.js users span a variety of industries
8
Node.js Momentum
8 MillionNumber of Node Instances
400
Number of Node Packages Published Every
Day
36kStars on Github
1100+
Contributors to Node.js
100%User growth YoY
2015 to 2016
1,000,000,000+ Node package downloads per week
MARKET POSITION OF NODE.JS
Node.js scales for the Internet’s biggest web properties
Market position of Node.js in terms
of popularity and traffic compared
to the most popular web servers
acoording to W3Techs, Technology
Surveys.
Source: https://w3techs.com/technologies/details/ws-
nodejs/all/all - June 7, 2017
NODE.JS IS ELITE AMONG OPEN SOURCE PROJECTS
Battery Open Source Software (Index)
12
The Battery Open Source Software (BOSS) Index is a detailed index to track popular open-source software projects, and gain some insights into the new companies powered by these technologies. Software was ranked based on public interest, user activity, jobs impact, and open source community.
Rank Open Source Software
1 Linux
2 Git
3 MySQL
4 Node.js
5 Docker
6 Hadoop
7 Elastic Search
8 SparkSource: https://www.battery.com/powered/boss-index-tracking-explosive-growth-open-
source-software/
USAGE APPLICATION
Most popular languages per 2017 Stack Overflow survey
13 Source: https://stackoverflow.com/insights/survey/2017#technology
PROGRAMMING LANGUAGES percent of this category
This year represents the
largest group of respondents
in Stack Overflow’s history:
64,000 developers took the
annual survey in January 2017.
USAGE APPLICATION
Future use of development languages
14 Source: Q24, Q25; among those who use respective brand and who provided an answer
EXPECTED CHANGE IN USE OVER NEXT 12 MONTHS among users of each language
The majority of Node.js users plan to increase
their use over the next 12 months.
Developers and users in Latin America are
most likely to up their usage.
USER DEMOGRAPHICS
Node.js increasing global footprint
15 Source: Q25; among Node.js users who provided an answer
Node.js helps you succeed
in the things that matter the most.
68% 65% 58% 50%Increased Developer
Productivity
Improved Developer
Satisfaction
Reduced Development
Costs
Increased Application
Performance
16 Source: Q75
USAGE APPLICATION
How organizations use Node.js
17 Source: Q21, Q22 – 2016 Node.js Survey
DEVELOPMENT NET FOCUS DEVELOPMENT PRIMARY FOCUS
Node.js is the primary focus for
the majority of developers.
Node.js is being used
with many types of tools
and technologies.
Databases, front-end
frameworks and
Node.js frameworks are
chief among them.
TYPES OF TOOLS/TECHNOLOGIES USED WITH NODE.JS in past 12 months
USAGE APPLICATION
Node.js technology affinity
18 Source: Q26
NODE.JS TECHNOLOGY AFFINITY
Tools/technologies used with Node.js in 2016
19
Express is by far the lead Node.js Frameworks tool and Nginx leads for Load Balancing.
Databases JSON file(67%) MongoDB (62%) Redis (45%) MySQL (41%)
Node.js Frameworks Express (72%) Hapi (14%) Koa (12%) GraphQL (11%)
Frontend Frameworks React (49%) JQuery (48%) Angular (35%) Angular 2 (23%)
Load Balancing Nginx (55%) Apache (18%) HAProxy (11%)
Containers/Cloud Docker (43%) Serverless (15%) Kubernetes (9%) Triton (1%)
CI Jenkins (25%) Travis (24%) Circle (10%) Codeship (6%)
Messaging RabbitMQ (15%) ZeroMQ (4%) Active MQ (1%) NSQ (1%)
NODE.JS FOR CLOUD NATIVE
Digital transformation framework
20
Bring legacy systems to the cloud
Build Microservices
Serverless Framework
Mobile application delivery
API Toolkit
Integration with non-web systems
Internet-of-Things (IoT) platform
Cross-platform application delivery
NODE.JS FOR
Web application services
21
• Node.js makes building frameworks for complex, interactive websites easy.
• Module and framework options provide developers extensive choice.
• Node.js is the perfect platform to standardize applications across environments.
WEB APPLICATION SERVICES LAYER
Lowes
22
Lowe’s inserted Node.js on top
of the services layer that
supported their legacy apps
and was quickly and easily
able to completely redesign the
two most highly trafficked
pages on the site.
NODE.JS FOR
API Middleware/Proxy/Gateway
23
• Node.js is an outstanding platform for the front-end side of this equation because of the natural JavaScript language synergy; it excels in the back-end side because of its ability to perform at scale.
• Node.js is a natural fit for exposing date from object DBs such as MongoDB
• Easy consumes and process JSON objects from via REST Apis
• Numerous modules to facilitate inbound messages from API
NODE.JS FOR CONSOLIDATION
Capital One
24
Capital One uses Node.js in its aggregation tier, or what it refers to as its “orchestration layer.” Node allows Capital One to share code across multiple web applications, regardless of the front-end technology. JavaScript.
NODE.JS FOR
Cross-platform application delivery
25
• Node.js is a natural fit for exposing date from object DBs such as MongoDB
• Easy consumes and process JSON objects from via REST Apis
• Numerous modules to facilitate inbound messages from API
CROSSPLATFORM DELIVERY
Slack
26
Slack’s success is driven by being available wherever users are, on any variety of mobile or desktop device. Slack built its desktop client using Electron and Node.js, enabling it to use the underlying operating system capabilities while leveraging web platform development skills.
NODE.JS FOR
SPAs (Single Page Applications)
27
• SPAs provides fast load time with small amounts of JSON data via WebSockets to/from servers as needed
• HTTP and JSON are first class citizens in Node.js
• Developers get to write JavaScript for both client and server, one language to rule them all
• Node.js includes a web server in it’s HTTP library, develoeprs have more control over handling low level requests and response
• Node.js supports streaming natively which is perfect for WebRTC, which is becoming a standard for Video based messaging platforms
SINGLE PAGE APPLICATIONS FOR MOBILE
Airbnb
28
Airbnb serves fully-formed HTML
from the server for performance and
SEO, while benefiting from the speed
and flexibility of client-side
application logic thanks to Node.js —
the definition of isomorphic
JavaScript.
The Node.js Foundation's mission is to enable widespread adoption and help
accelerate development of Node.js and other related modules through an open
governance model that encourages participation, technical contribution, and a
framework for long term stewardship by an ecosystem invested in Node.js' success.
29
THE LINUX FOUNDATION’S OPEN SOURCE LEADERSHIP
Node.js in good company
30
We are helping global privacy and security through a program to encrypt the entire internet.
We are creating ecosystems around
networking to improve agility in the evolving
software-defined datacenter.
We are creating a portability layer for the cloud, driving de facto
standards and developing the
orchestration layer for all clouds.
We are creating the platform for infotainment in the auto industry that can be expanded into
instrument clusters and telematics systems.
We are creating a permanent, secure
distributed ledger that makes it easier to create
cost-efficient, decentralized business
networks.
We are providing the application
development framework for next
generation web, mobile, serverless, and
IoT applications.
OPEN SOURCE SUSTAINABILITY
Why Organizations should join the Node.js Foundation
31
• Neutral home increases contributions
• Endorsement by Node.js Technical
Steering Committee
• Increased engagement with end-users
• Full-time press relation and analyst
relation teams
• Support ecosystem of developers and
contributors to continue Node.js
development
• Promotion of members through
extensive social and media channels
• Maintain your committers; just commit to
unbiased process
• Full-time staff eager to assist and help you
succede with Node.js
• World-class events team for Node
interactive
• Worldwide meetup groups and other
exhibition opportunities
• Ability to showcase your products and
organization in front of the fastest growing
developer communiy on the web
• Join other industry leaders to collaborate on
important foundational web technology
Platinum
INDUSTRY SUPPORT FOR NODE.JS
Node foundation members
32
Gold
Silver
October 4-6
Vancouver Convention Center
Vancouver, BC Canada
http://events.linuxfoundation.org/events/node-interactive
Launching Node.Jswith AWS Lightsail
Lightsail: the easiest way to get started on AWS
Bundled compute, storage, networking
Fully configured server
Low, predictable price
Intuitive, global Lightsail console
Access to AWS services
Tailored API & CLI
Lightsail and Node.js
• Launch with a few clicks
• Fully-configured and ready to run
• Secure:
• Up-to-date and optimized for security
• Integrated firewall and port management
• Virtual machine isolates sites from abuse or attacks
• Simple to manage
• Intuitive console makes running a VPS easy
• Scalable
• Use larger plans and add additional AWS services
as your website grows
Creating your Node.js instance
1. Choose your region
2. Select Node.js
3. Pick a plan size
4. Name your instance
5. Create!
Scale your Node.js application on Lightsail
• Increase your plan size
• Get more resources and power for your site
• Connect multiple Lightsail instances
• Build website with distributed workloads
• Create redundancy
• Run instances across multiple availability zones
• Add features and capabilities
• Access AWS services using VPC peering and
the AWS console
Demo
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Who is Bitnami?Bitnami is the leader in packaged applications for any platform.
End-to-end automated build & release
140+ Apps and language runtimes
1 million+ App instances deployed monthly
Multi-cloud; configuration & deployment for every major cloud provider
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
What do we do?
Build Deploy Maintain
Components Packages Platforms Updates
Automatically build, deploy and maintain applications for containers, cloud, VMs, or bare metal.
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Optimized, Secure & Ready-to-Run
Build• Bitnami packaged
applications come pre-configured with all components, dependencies, libraries etc. so they are ready-to-run
Maintain• Publish updates of
core applications and dependencies as they become available
• Patch security vulnerabilities within hours
Deploy• Choose your format:
• VMs• Container images• Kubernetes
templates• Win/Mac/Linux
Installers
• Optimized for world’s leading cloud providers
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Why Node.js from Bitnami?
• Complete Stack - latest versions of Node.js, Apache, Python and Redis
• Cloud Optimized - Packaged for AWS, Microsoft Azure, Google, Oracle +
• Run Anywhere - VMs (ova + vmdk), Local Installers (Mac, Win, Linux)
and Docker Container images
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Bitnami on AWSAmazon Lightsail AWS• All 10 App+OS options on Lightsail are packaged by Bitnami
• Bitnami complements Lightsail:• Click-to-deploy• Dependencies are pre-configured• Makes using applications in the cloud easier
• Over 140 Bitnami packaged applications for you to choose from
• Including the most popular open source applications
LOVED BY DEVS | TRUSTED BY OPSLOVED BY DEVS | TRUSTED BY OPS
Get Started with Bitnami Node.js & Lightsail
1
2
3
4
5
Launch Bitnami Node.js: https://bitnami.com/stack/nodejsGet started on Lightsail: https://docs.bitnami.com/aws/get-started-lightsail/Learn more about Lightsail: https://amazonlightsail.com/Learn more about the Node.js Foundation: https://nodejs.org/
On-demand recording to come!
Live Q&A
Thank You