admin管理员组文章数量:1336181
I am deploying my .NET 8 application using AWS Elastic Beanstalk to a Windows IIS server. The deployment works fine when targeting the default IIS website. However, I want to deploy it to a custom website with a specific path, e.g., C:\App\TestMyApp.
To achieve this, I created a custom aws-windows-deployment-manifest.json file. Unfortunately, I encountered the following error during deployment:
Exception during build: Command hooks failed
Here is the aws-windows-deployment-manifest.json file I wrote:
{
"manifestVersion": 1,
"iisConfig": {
"appPools": [
{
"name": "mytestapp",
"recycling": {
"regularTimeInterval": 60
}
}
]
},
"deployments": {
"aspNetCoreWeb": [
{
"name": "app",
"parameters": {
"appBundle": ".",
"appPool": "mytestapp",
"iisPath": "App/TestMyApp",
"iisWebSite": "mytestappweb"
}
}
]
}
}
What I’ve Tried
- Deploying to the default IIS website works without issues.
- Checked the permissions of the Windows users running the deployment.
Notice issue
- The custom path (C:\App\TestMyApp) is not being created on the server, which might be causing the issue.
Questions
- Why is the custom path not being created on the server during deployment?
- What additional steps or configurations are required to deploy the application to a -custom IIS website using AWS Elastic Beanstalk?
- Are there logs or specific debug tools in AWS Elastic Beanstalk that can provide more details on the "Command hooks failed" error?
本文标签:
版权声明:本文标题:iis - Custom aws-windows-deployment-manifest.json Fails with "Exception During Build: Command Hooks Failed" fo 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742402155a2468101.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论