This documentation page describes the specific resources available for your use in Cloud Platform Node.js application environments, and the current limitations of the environment types. For information about software resources included with Cloud Platform environments, and resources included with other related features, see Additional stack information.
Application sizes
Node.js applications have three sizes: Small, Medium, and Large. Each application size has a corresponding production environment and a Small development environment. The environment sizes have the following limits:
Feature | Development - Small | Production - Small | Production - Medium | Production - Large |
---|---|---|---|---|
Max number of processes | 4 | 4 | 8 | 12 |
Max RAM per process (GB) | 1.875 (7.5 total) | 1.875 (7.5 total) | 1.875 (15 total) | 1.875 (22.5 total) |
Resources
Each environment in a Node.js application includes the following components:
Component | Version |
---|---|
Web server OS | Ubuntu 16.04 |
Load balancer | Nginx 1.12.1 |
Node.js | 18, 20 (With latest security updates) |
Note
To request a version of Node.js for your environment other than the default, create a Support ticket.
Also included are the following items:
- Pipelines
- A Git repository
- Cloud Platform CDN
Limitations
Node.js environments in Cloud Platform have the following limitations:
- Elastic IP Addresses (EIPs) are not supported on production and non-production environments.
- Non-production environments are shared resources, and are subject to unexpected relaunches.
- The following features are not supported:
- Shield
- SSH access into infrastructure
- Varnish® or custom VCLs
- Memcached
- CD environments
- Node.js applications do not contain a supported database service or file system asset manager, but you can connect to an external file system/ database service, such as a Drupal website.
- Node.js applications can expose only one port, indicated by
process.env.PORT
, which is set by Acquia and cannot be overridden. You can, however, use websockets to handle multiple concurrent connections. - Node.js hosting supports FedRAMP, PCI, and HIPAA compliance only.
- Node.js applications on Cloud Platform do not support custom
nginx.config
files. Redirection from http to https must be done at the WAF level, or through the Node.js environment by usingX-Forwarded-Proto
request header. - Node.js applications can not generate certificate signing requests (CSRs) in the Cloud Platform user interface. For more details, see this known issue.
- You can not activate multiple SSL certificates on the same environment on Node.js applications.
- Acquia does not control the
stdout
andstderr
log formats. The application manages and controls such formats. - Classic Node.js environments in Cloud Platform do not support static site generation.