13
votes

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?

5
Asked this quite a few years back now. Have since moved on to use Azure Web Sites, which give me the flexibility and ease of use I wanted when I asked this. - Sean Kearon

5 Answers

11
votes

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.

3
votes

You can use Multicontainer docker environment to deploy multiple applications http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html

0
votes

You cannot deploy a "Web Site" and a "Web Application" on the same instance (or set of instances, such as that formed by ElasticBeastalk) because they run different resources and policies. This is accordingly to the tutorial i came across on their site.

0
votes

Maybe this package can help you running multiple apps/websites on a single Elastic Beanstalk instance (Apache): https://github.com/tscheiki/ElasticDeploy

0
votes

You can also do a multiple-app deployment using the Visual Studio AWS Toolkit:

docs.aws.com/toolkit-for-visual-studio