【发布时间】:2020-11-27 08:37:06
【问题描述】:
我已将我的 web api 应用程序从 Visual Studio 发布到 AWS Beanstalk,但是我无法访问我的应用程序,并且出现如下图所示的错误。
AWS Beanstalk 配置如下:
{
"comment" : "This file is used to help set default values when using the dotnet CLI extension
Amazon.ElasticBeanstalk.Tools. For more information run \"dotnet eb --help\" from the project
root.",
"profile" : "default",
"region" : "ca-central-1",
"application" : "eBookCatalog",
"environment" : "eBookCatalog-dev",
"cname" : "ebookcatalog-dev",
"solution-stack" : "64bit Windows Server Core 2016 v2.6.0 running IIS 10.0",
"environment-type" : "SingleInstance",
"instance-profile" : "aws-elasticbeanstalk-ec2-role",
"service-role" : "aws-elasticbeanstalk-service-role",
"health-check-url" : "/",
"instance-type" : "t2.micro",
"key-pair" : "eBookCatalog",
"iis-website" : "Default Web Site",
"app-path" : "/",
"enable-xray" : false
}
环境状态如下图:
【问题讨论】:
标签: amazon-web-services asp.net-web-api amazon-elastic-beanstalk