Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 674
Sean Kearon Avatar asked Jun 11 '12 02:06

Sean Kearon


People also ask

Can we deploy multiple applications in EC2 instance?

You cannot deploy multiple applications on the same instance.

How many applications and environments can I run with AWS Elastic Beanstalk?

Each environment runs only one application version at a time, however, you can run the same application version or different application versions in many environments simultaneously.

When you use AWS Elastic Beanstalk console to deploy a new application?

When you use the AWS Elastic Beanstalk console to deploy a new application or an application version, you'll need to upload a source bundle. Your source bundle must meet the following requirements: Consist of a single ZIP file or WAR file (you can include multiple WAR files inside your ZIP file) Not exceed 512 MB.


Video Answer


1 Answers

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.

like image 68
Josh C Avatar answered Sep 20 '22 13:09

Josh C