View a markdown version of this page

Using a Procfile to configure your .NET Core on Linux Elastic Beanstalk environment - AWS Elastic Beanstalk

Using a Procfile to configure your .NET Core on Linux Elastic Beanstalk 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, see Buildfile and Procfile.

Warning Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

AltStyle によって変換されたページ (->オリジナル) /