Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Cloud Native Development for Node.js and Docker [Video]

DZone's Guide to

Cloud Native Development for Node.js and Docker [Video]

Developing an application in a native environment has many benefits, but you can't always be sure of scalability. Learn how to develop Node.js natively in the cloud.

· Web Dev Zone
Free Resource

Get deep insight into Node.js applications with real-time metrics, CPU profiling, and heap snapshots with N|Solid from NodeSource. Learn more.

The full lifecycle for developing, staging, and shipping a Node.js application to production is composed of various parts - at the core, you write an application in Node.js, yes. But how do you make sure it's going to work in production like it does in your development environment? Further, how are you going to ensure that once in production your application can scale up and down as needed?

This week, we talked with Jonathan Carter of Microsoft, discussing what the modern development lifecycle for the cloud native world we live in would look like. What are the takeaways? What are the tools, platforms, and resources you should be using? Jonathan gave us a fantastic overview of the full process, from building in dev to production at scale - check out the details:

Top 5 Takeaways

  • Having a reliable workflow, from dev to prod, is key to success with Node.js at scale.
  • Node.js, Docker, and Kubernetes allow quick and scalable deployments.
  • VS Code is a developer-first tool that can help smooth out the full workflow.
  • Knowing your tools enables you to know your process, making them repeatable.
  • N|Solid is an easy win with this exact stack, enabling further security and reliability.

Video

Recap

Containers are a deployment artifact that allow you to have all the dependencies of your application or service - not just dependencies like Node.js modules from a registry, but going even deeper into things like the OS, the specific version of Node.js, and other native tooling and dependencies.

Containers allow you to deploy your application in a cloud-agnostic way - enabling universal deployment, squashing "it works on my machine," and allowing unification across a team to learn and understand the deployment-to-production environment to streamline team communication and process.

Orchestration allows you to scale deployments of containers quickly and easily, again in a standardized way. This enables quick scaling up and scaling down, ensuring efficient use of both server resources and spend on those resources.

VS Code is a text editor that allows you to tie everything together - from making the development process with Node.js buttery smooth to simplifying the process of containerization with Docker, enabling you to go and deploy to production at scale directly from within your text editor. Huge productivity wins all around.

Node.js application metrics sent directly to any statsd-compliant system. Get N|Solid

Topics:
web dev ,node.js ,web application development ,cloud native development

Published at DZone with permission of Tierney Cyren, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}