简体   繁体   English

使用 CloudFormation 创建 RDS 免费套餐实例?

[英]Create RDS free tier instance using CloudFormation?

Looking at the docs here https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html在这里查看文档https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html

I dont see a way to specify that I want to create an RDS instance within the free tier.我看不到指定要在免费套餐中创建 RDS 实例的方法。 Is there a way to do this?有没有办法做到这一点?

There is no flag or option to create any AWS resources "within the free tier".没有标志或选项可以“在免费套餐内”创建任何 AWS 资源。 The free-tier is simply a list of resources you can use for free.免费层只是您可以免费使用的资源列表。 You would create resources that conform to the free-tier restrictions, and they would show up as free on your monthly bill.您将创建符合免费层限制的资源,并且它们会在您的月度账单上显示为免费。

The AWS Free Tier for RDS currently states:适用于 RDS 的 AWS 免费套餐目前规定:

  • 750 hours of Amazon RDS Single-AZ db.t2.micro Instance usage running MySQL, MariaDB, PostgreSQL, Oracle BYOL or SQL Server (running SQL Server Express Edition) – enough hours to run a DB Instance continuously each month 750 hours of Amazon RDS Single-AZ db.t2.micro Instance usage running MySQL, MariaDB, PostgreSQL, Oracle BYOL or SQL Server (running SQL Server Express Edition) – enough hours to run a DB Instance continuously each month
  • 20 GB of General Purpose (SSD) DB Storage* 20 GB 通用 (SSD) 数据库存储*
  • 20 GB of backup storage for your automated database backups and any user-initiated DB Snapshots* 20 GB 的备份存储空间用于自动数据库备份和任何用户启动的数据库快照*

So you would need to make sure you create a db.t2.micro instance, make sure you don't provision more than 20GB of General Purpose storage, and make sure you don't enable any other things like provisioned IO, or performance insights, to ensure that you are not charged.所以你需要确保你创建了一个db.t2.micro实例,确保你没有配置超过 20GB 的通用存储,并确保你没有启用任何其他的东西,比如配置的 IO 或性能洞察,以确保您不会被收费。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM