Node JS

Overview

Cloud Platform users develop, deliver, and manage applications in Drupal, Node.js, and decoupled Drupal environments. Node.js is an open-source, server-side environment for JavaScript network applications. It offers a wide range of server-side capabilities. Cloud Platform Enterprise subscribers can combine Acquia platform services and Node.js to create diverse digital experiences leveraging robust JavaScript functionalities.

In Cloud Platform, Node.js provides you a robust set of tools to elevate your decoupled or headless Drupal applications. It also helps you to create decoupled or headless Node.js applications to fetch data from Drupal or create standalone static sites.

Front End Hosting offerings in Cloud Platform

Acquia provides Front End Hosting - Basic to help you effortlessly build and host your fully static sites on Cloud Platform.

Front End Hosting - Basic applications in Cloud Platform provide:

  • Ease of building and hosting your static sites in Cloud Platform
  • Suitable solution for static content such as events, landing pages, and product launch sites
  • Integrated content delivery network provided by Cloud Platform CDN
  • Simplified build and deployment processes
  • Advanced CI/CD operations when using Code Studio
Important
  • Cloud IDEs cannot be created for Front End Hosting - Basic applications.
  • Acquia Search cannot be used in Front End Hosting - Basic applications.
  • Node.js runtime is not available in Front End Hosting - Basic applications.

Node.js in Cloud Classic

Node.js applications in Cloud Classic provide:

  • Server-side rendering for front-end templates using frameworks such as AngularJS, React, and Ember
  • Complete support for Incremental Static Regeneration (ISR) applications developed in Next.js with a cache shared across all environment instances
  • Strong and adaptable proxy layers that enhance security and performance between clients and Drupal
  • WebSocket support designed for high-performance, low-latency, bi-directional communication with clients
  • Ability to operate standalone Node.js applications for chat services and real-time data analysis
  • Access to a broad array of Node.js modules through npm for extended functionality
  • Integration with Cloud Platform CDN services for effective content delivery
Important
  • Cloud IDEs cannot be created for Node.js applications.
  • On Acquia Cloud Classic hosting, Acquia does not provide a database with Front End Hosting - Basic or Node.js. However, you can integrate your database. 
  • Node.js in Cloud Classic does not support Code Studio integration or an external CI/CD.

Decoupled Drupal-supported Node.js applications offer significant improvements to a decoupled Drupal architecture that runs standalone or paired with Drupal as the CMS or business layer. This setup uses Drupal's content and logic capabilities exposed through APIs, and also complements them with dynamic user interfaces built through Node.js frameworks. 

Note

Acquia recommends you to consider potential drawbacks, such as initial page load speeds, SEO challenges, and security concerns.

Caching options 

Front End Hosting - Basic 

  • Cloud Platform CDN can be implemented with the static site, if caching is required.

Node.js

  • Drupal caching or adding Cloud Platform CDN in front of the Node.js infrastructure for enhanced performance.

Getting started with Node.js applications

  1. Use Next.js boilerplates, such as https://next-drupal.org/ or https://github.com/chapter-three/next-drupal, for a quick start.
  2. Add a Front End Hosting - Basic or Node.js application to a Cloud Platform Enterprise subscription at an additional cost.
  3. Contact your account manager for subscription details and refer to respective documentation for each application type.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Acquia Help

Filter by product:

Node JS common questions