Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deployment package did not contain an iisApp

I'm trying to upload a zip of files of a published .net project to Amazon elastic beanstalk but it keeps throwing an error in the logs saying iisApp is not there. How to fix?

like image 212
fractal Avatar asked Jul 18 '13 11:07

fractal


People also ask

What is the maximum size for a source bundle?

The source bundle's file size limit is 512 MB.

When you use the AWS Elastic Beanstalk console to deploy a new application you'll need to upload a source bundle and it should?

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.

Where does Elastic Beanstalk store application files?

In Elastic Beanstalk, where does it store the application files and server log files? Application files are stored in S3. The server log files can only be stored in the attached EBS volumes of the EC2 instances, which were launched by AWS Elastic Beanstalk. Application files are stored in S3.


1 Answers

Elastic Beanstalk expects a WebDeploy package, not just a zipped web application. You'll probably want to run:

msbuild <web.csproj> /t:Package /p:Configuration=Release /p:PackageLocation=<outputdirectory>

to create a WebDeploy package.

like image 127
Sam Avatar answered Sep 27 '22 22:09

Sam