gpt4 book ai didi

node.js - 如何通过 CloudFormation 使用 MongoDB 设置 Parse Server?

转载 作者:行者123 更新时间:2023-12-03 07:46:20 25 4
gpt4 key购买 nike

我想通过 AWS 中的 CloudFOrmation 部署带有 MongoDB 的 ParseServer,Amazon post 中的评论表示他们正在使用运行 Node.js 的实例的最新版本。我将“SolutionStackName”更改为最新的,但我在事件日志中得到了这个:

2016-07-29  Status  Type    Logical ID  Status reason
14:02:38 UTC-0500 CREATE_FAILED AWS::ElasticBeanstalk::ConfigurationTemplate DevEBConfigTemplate Resource creation cancelled
14:02:37 UTC-0500 CREATE_FAILED AWS::ElasticBeanstalk::ApplicationVersion ParseAppVersion Resource creation cancelled
14:02:37 UTC-0500 CREATE_FAILED AWS::IAM::Role MongoDBHostRole Resource creation cancelled
14:02:37 UTC-0500 CREATE_FAILED AWS::EC2::InternetGateway InternetGateway Resource creation cancelled
14:02:37 UTC-0500 CREATE_FAILED AWS::IAM::Role WebAppRole Resource creation cancelled
14:02:35 UTC-0500 CREATE_FAILED AWS::ElasticBeanstalk::ConfigurationTemplate NonDevEBConfigTemplate No Solution Stack named '64bit Amazon Linux 2015.09 v2.0.8 running Node.js' found.
14:02:34 UTC-0500 CREATE_IN_PROGRESS AWS::ElasticBeanstalk::ConfigurationTemplate DevEBConfigTemplate
14:02:34 UTC-0500 CREATE_IN_PROGRESS AWS::ElasticBeanstalk::ConfigurationTemplate NonDevEBConfigTemplate
14:02:34 UTC-0500 CREATE_IN_PROGRESS AWS::ElasticBeanstalk::ApplicationVersion ParseAppVersion
14:02:30 UTC-0500 CREATE_COMPLETE AWS::ElasticBeanstalk::Application WebAppElasticBeanstalkApp
14:02:30 UTC-0500 CREATE_IN_PROGRESS AWS::IAM::Role WebAppRole Resource creation Initiated
14:02:29 UTC-0500 CREATE_COMPLETE AWS::CloudFormation::WaitConditionHandle MongoDBWaitHandle01
14:02:29 UTC-0500 CREATE_IN_PROGRESS AWS::EC2::InternetGateway InternetGateway Resource creation Initiated
14:02:29 UTC-0500 CREATE_IN_PROGRESS AWS::IAM::Role MongoDBHostRole Resource creation Initiated
14:02:29 UTC-0500 CREATE_IN_PROGRESS AWS::EC2::VPC MyVPC
14:02:29 UTC-0500 CREATE_IN_PROGRESS AWS::ElasticBeanstalk::Application WebAppElasticBeanstalkApp Resource creation Initiated
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::EC2::InternetGateway InternetGateway
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::CloudFormation::WaitConditionHandle MongoDBWaitHandle01 Resource creation Initiated
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::IAM::Role MongoDBHostRole
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::ElasticBeanstalk::Application WebAppElasticBeanstalkApp
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::IAM::Role WebAppRole
14:02:28 UTC-0500 CREATE_IN_PROGRESS AWS::CloudFormation::WaitConditionHandle MongoDBWaitHandle01
14:02:21 UTC-0500 CREATE_IN_PROGRESS AWS::CloudFormation::Stack ParseBackend User Initiated

我只是不知道该怎么办。还有其他选择,但我认为这是最好的,有什么想法吗?

谢谢!

最佳答案

AWS 不断更新其 Elastic Beanstalk 解决方案堆栈并使其旧堆栈变得过时,因此您需要将解决方案堆栈字符串更改为当前支持的版本。请参阅Supported Platforms (Node.js)最新支持的解决方案堆栈名称页面。目前(截至 2016 年 7 月 30 日)64 位 Amazon Linux 2016.03 v2.1.3 运行 Node.js,并且将来可能会再次更改。

关于node.js - 如何通过 CloudFormation 使用 MongoDB 设置 Parse Server?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38665929/

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