使用Elastic Beanstalk .ebextensions指定RDS数据库 [英] Using Elastic Beanstalk .ebextensions to specify an RDS database

查看:91
本文介绍了使用Elastic Beanstalk .ebextensions指定RDS数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Elastic Beanstalk,您可以指定是否要使用.ebextensions创建RDS数据库吗?

With Elastic Beanstalk, can you specify whether you want to create an RDS database using .ebextensions?

推荐答案

否,.ebextensions是根据部署而不是根据环境创建进行评估的.当您自动创建Environmnet的CLI或API时,可以选择是否创建RDS.另外,您可以在.ebextensions中使用带有AWSEBRDSDatabase名称的Resources键来获取对该数据库的引用.

No, .ebextensions are evaluated per deployment, not per environment creation. You can choose to create or not the RDS when you create the Environmnet automatically the CLI or the API. Also, you can use a Resources key with the AWSEBRDSDatabase name in you .ebextensions to get a reference to that database.

请参阅: http://docs.aws.amazon. com/elasticbeanstalk/latest/dg/environment-resources.html

这篇关于使用Elastic Beanstalk .ebextensions指定RDS数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆