How can you tell AWS-EB the desired AppPool identity for an ASP.NET web app running in IIS? In the AWS Beanstalk Deploy wizard I don't see this option like you would if deploying straight to IIS or when changing it manually in IIS. Obviously once deployed you can change it in the EC2 instance, but that doesn't help the "xcopy deploy" story of using EB.
You want to use Elastic Beanstalk ebextensions for this. Ebextensions allow you to run custom scripts when deploying code.
The process is pretty simple:
This article has an example configuration file to change the application pool identity and more details on how to add ebextensions in your project.
Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.