lundi 2 février 2015

AWS Elastic Beanstalk - Unable to publish MVC application with custom AMI

I am trying to use the AWS toolkit for Visual Studio to publish my application to AWS Elastic Beanstalk.


I am able to successfully publish to my VPC using the built in publish option in the AWS Toolkit if I use one of the default options (Windows Server 2012 running IIS). However this obviously won't work because the default instance doesn't have MVC installed.


I have created an AMI with all of the IIS features enabled that I need, but when I try to publish using this AMI I get the following error:


Stack named 'awseb-e-umsdsqwvcf-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: AWSEBInstanceLaunchWaitCondition.


I can't find anything in the error logs to try to track down the issue. There are no Windows error logs and nothing appears in the Visual Studio error logs.


Any suggestions or guidance in the right direction would be much appreciated.


I found this article (http://ift.tt/1yvHUok) which makes it sounds like it should be automatically installing MVC with the default ami. Just want to note that this is not working for me. If I publish with the custom Windows VM and try to run the application, I get errors that the MVC dlls are missing. Also as a note, I would like to be able to use my own AMI even if this could work because there are some extra IIS features I need to enable.


Aucun commentaire:

Enregistrer un commentaire