Deploy multiple applications to a single EC2 instance using AWS Elastic Beanstalk

amazon-elastic-beanstalk, amazon-web-services

Solution

Update: This is now possible https://aws.amazon.com/about-aws/whats-new/2016/08/aws-elastic-beanstalk-supports-asp-net-core-and-multi-app-net-support/

No. .Net deployment has some limitations on EB compared to the other frameworks. You cannot deploy multiple applications on the same instance.

Problem

I am have deployed a .Net website to AWS Elastic Beanstalk. I want to now deploy another .Net web project (a web service) to the same EC2 instance that was created by AWS Elastic Beanstalk, but the selection to "use and existing environment" in the Environment page of the publishing wizard is greyed out. Is there a way to do this?

Original source