Using a Procfile to configure your .NET Core on Linux environment - 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).

Using a Procfile to configure your .NET Core on Linux environment

To run multiple applications on the same web server, you must include a Procfile in your source bundle that tells Elastic Beanstalk which applications to run.

We recommend that you always provide a Procfile in the source bundle with your application. This way you precisely control which processes Elastic Beanstalk runs for your application and which arguments these processes receive.

The following example uses a Procfile to specify two applications for Elastic Beanstalk to run on the same web server.

Example Procfile
web: dotnet ./dotnet-core-app1/dotnetcoreapp1.dll web2: dotnet ./dotnet-core-app2/dotnetcoreapp2.dll

For details about writing and using a Procfile, expand the Buildfile and Procfile section in Extending Elastic Beanstalk Linux platforms.