Deploying Node.js Applications to AWS Elastic Beanstalk
- Getting Started with Node.js on Elastic Beanstalk
- Setting Up your Node.js Development Environment
- Configuring Your AWS Elastic Beanstalk Node.js Environment
- Develop, Test, and Deploy
- Deploying an Express Application to Elastic Beanstalk
- Deploying a Geddy Application with Clustering to Elastic Beanstalk
- Using Amazon RDS with Node.js
Elastic Beanstalk for Node.js makes it easy to deploy, manage, and scale your Node.js web applications using Amazon Web Services. Elastic Beanstalk for Node.js is available to anyone developing or hosting a web application using Node.js. This section provides step-by-step instructions for deploying your Node.js web application to Elastic Beanstalk using EB Command Line Interface (CLI). This chapter also provides walkthroughs for common frameworks such as Express and Geddy.
After you deploy your Elastic Beanstalk application, you can continue to use EB CLI to manage your application and environment, or you can use the Elastic Beanstalk console, AWS CLI, or the APIs. You can also use the Elastic Beanstalk console to upload your Node.js files using a .zip file. For more information, see Managing and Configuring Applications and Environments Using the Console, CLI, and APIs.
When support for the version of Node.js that you are using is removed from the platform configuration, you must change or remove the version setting prior to doing a platform upgrade. This may occur when a security vulnerability is identified for one or more versions of Node.js
When this occurs, attempting to upgrade to a new version of the platform that does not support the configured NodeVersion will fail. To avoid needing to create a new environment, change the NodeVersion configuration option to a version that is supported by both the old configuration version and the new one, or remove the option setting, and then perform the platform upgrade.