Configuring custom start commands with a Procfile on Elastic Beanstalk - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Configuring custom start commands with a Procfile on Elastic Beanstalk

You can include a file that's called Procfile at the root of your source bundle to specify the command that starts your application.

Example Procfile
web: node index.js

For information about Procfile usage see Buildfile and Procfile.

Note

This feature replaces the legacy NodeCommand option in the aws:elasticbeanstalk:container:nodejs namespace.