gpt4 book ai didi

amazon-web-services - 无法创建可公开访问的数据库实例,因为客户 VPC 没有 - AWS

转载 作者:行者123 更新时间:2023-12-04 18:05:32 25 4
gpt4 key购买 nike

当我在云结构中运行 .json 文件时,出现以下错误“无法创建可公开访问的 DBInstance,因为客户 VPC 没有附加 Internet 网关。”

我删除了 AWS 中的默认 VPC,然后客户支持团队为我重新创建了它,但我仍然收到错误。

这些是解决错误的步骤

13:25:31 UTC+0000   ROLLBACK_IN_PROGRESS    AWS::CloudFormation::Stack  pipindex    The following resource(s) failed to create: MyDB, InternetGateway, VPC. . Rollback requested by user.
13:25:30 UTC+0000 CREATE_FAILED AWS::EC2::InternetGateway InternetGateway Resource creation cancelled
13:25:30 UTC+0000 CREATE_FAILED AWS::EC2::VPC VPC Resource creation cancelled
13:25:30 UTC+0000 CREATE_COMPLETE AWS::IAM::User IMAUser
13:25:29 UTC+0000 CREATE_IN_PROGRESS AWS::IAM::User IMAUser Resource creation Initiated
13:25:29 UTC+0000 CREATE_FAILED AWS::RDS::DBInstance MyDB Cannot create a publicly accessible DBInstance because customer VPC has no internet gateway attached.
13:25:29 UTC+0000 CREATE_COMPLETE AWS::CloudFormation::WaitConditionHandle WaitHandle
13:25:29 UTC+0000 CREATE_IN_PROGRESS AWS::EC2::VPC VPC Resource creation Initiated

最佳答案

我发现删除默认 VPC 会导致无数问题。我会确保他们在 us-east-1 中重新创建了它这似乎对这件事有很大帮助。希望有帮助!

关于amazon-web-services - 无法创建可公开访问的数据库实例,因为客户 VPC 没有 - AWS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27635030/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com