简体   繁体   English

Amazon RDS定价

[英]Amazon RDS pricing

I want to understand how amazon RDS pricing works. 我想了解亚马逊RDS定价的工作原理。 I have already sent an email for amazon sales team, but I didn't get any response. 我已经发送了一封电子邮件给亚马逊销售团队,但没有得到任何回应。

My specs are: 我的规格是:

  • 1 Instance of db.t2.micro ($0.017 per hour) 1个db.t2.micro实例(每小时$ 0.017)
  • Region us-east-1 地区us-east-1
  • Usage 744 hours per month (31 days x 24 hours) 每月使用744小时(31天x 24小时)
  • Availability Standard Single AZ 可用性标准单区
  • Storage General Purpose SSD 5GB 存储通用SSD 5GB
  • Inter-Region Data Transfer Out ??? 区域间数据传输???
  • Data Transfer Out ??? 数据转出???
  • Data Transfer In ??? 数据传输
  • Intra-Region Data Transfer ??? 区域内数据传输

My scenario is one Heroku application communicating with Amazon RDS. 我的场景是一个与Amazon RDS通信的Heroku应用程序。

My questions are: 我的问题是:

  • Inter-Region Data Transfer Out: I won't have traffic here as heroku runs in the same region as Amazon RDS which is us-east-1, correct ? 区域间数据传输:因为Heroku与us-east-1的Amazon RDS在同一地区运行,所以我在这里不会有流量,对吗?
  • Data Transfer Out: is the data that comes out from Amazon RDS and goes to the internet (so here I won't have any traffic, because only my Heroku App will access my database). 数据传输:是从Amazon RDS发出并传输到互联网的数据(因此,这里没有任何流量,因为只有我的Heroku App可以访问我的数据库)。 But I can see here that if I connect in my database through MySQL Workbench I will have some traffic in this item, correct ? 但是我可以在这里看到,如果我通过My​​SQL Workbench连接到数据库,则该项目中会有一些流量,对吗?
  • Data Transfer In: is the data that comes from the Internet and goes to Amazon RDS (so here I won't have any traffic, because only my Heroku App will access my database). 数据传输入:是来自Internet并进入Amazon RDS的数据(因此在这里我不会有任何流量,因为只有Heroku App可以访问我的数据库)。 But I can see here that if I connect in my database through MySQL Workbench I will have some traffic in this item, correct ? 但是我可以在这里看到,如果我通过My​​SQL Workbench连接到数据库,则该项目中会有一些流量,对吗?
  • Intra-Region Data Transfer: is the data sent/received between Heroku App and Amazon RDS, as they are in the same region which is us-east-1, correct ? 区域内数据传输:Heroku App和Amazon RDS在us-east-1所在的同一区域中发送/接收的数据正确吗?
  • Storage General Purpose SSD: I will be billed only for the data that I save in my database per month, correct ? 存储通用SSD:我将仅按每月存储在数据库中的数据计费,对吗? For example, if I save 5GB per month in my database I will be billed in $0.575 ($0.115 x 5) ? 例如,如果我每月在数据库中节省5GB,则需要支付$ 0.575($ 0.115 x 5)?

Thanks. 谢谢。

Not really a question appropriate for StackOverflow, but... 这并不是一个真正适合StackOverflow的问题,但是...

There are no guarantees about traffic costs between Heroku and AWS within the same region. 无法保证同一地区内Heroku和AWS之间的流量成本。 You'd have to experiment to be sure, or ask the Heroku folks (not the AWS folks). 您必须进行实验才能确定,或询问Heroku人员(而非AWS人员)。

If Heroku and RDS are in the same region, there shouldn't be any Data Transfer charges. 如果Heroku和RDS在同一地区,则不应收取任何数据传输费用。 However, it will incur the 1c/GB charge for Using a public or Elastic IPv4 address . 但是, 使用公共或弹性IPv4地址会产生1c / GB的费用。 Basically, this means traffic is exiting the VPC but not hitting the public Internet. 基本上,这意味着流量正在离开VPC,但没有到达公共Internet。

The disk storage for your Amazon RDS database is based on the provisioned size of storage. Amazon RDS数据库的磁盘存储基于所配置的存储大小。 So, if you create a 5GB storage volume, you will be charged each month of 5GB regardless of how much it is used. 因此,如果您创建了5GB的存储空间,则无论使用多少存储空间,每月都会向您收取5GB的费用。 There might be other charges based upon your chosen volume type (eg Provisioned IOPS has a charge based upon the speed, Magnetic has a charge based upon the IOs). 根据您选择的音量类型,可能还会有其他费用(例如,Provisioned IOPS的费用是基于速度的,Magnetic的费用是基于IO的)。

Also, the db.t2.micro database you have chosen has limits around CPU. 另外,您选择的db.t2.micro数据库在CPU方面有限制。 It has burstable capacity but if it runs out of burst credits, it will only have limited CPU. 它具有可突发容量,但是如果用尽了突发信用,它将仅具有有限的CPU。 See: T2 instances documentation 请参阅: T2实例文档

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

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