Understanding AWS pricing for MySQL RDS - amazon-web-services

I am looking into AWS RDS for MySQL pricing.
When I create a database using their EasyCreate option, one of the options is the following for $2.078/hour (about $1,500 / month).
db.r5.xlarge
4 vCPUs
32 GiB RAM
500 GiB
However, when I look on the pricing chart https://aws.amazon.com/rds/mysql/pricing/, it tells me that the db.r5.xlarge costs $0.48/hour on demand (about $345/month) and even less if paid up front.
The 500 GiB storage is $115 per month even with multi-AZ deployment.
I realize there can be some differences based on the chosen region, but not anywhere near that much.
What costs am I missing?

I reported this a UI bug and it has now been fixed in the Amazon RDS console:

I have had a go at creating this in the console and can confirm that the configuration matches below
It also comes with 7 days of backup retention. Considering that some options do not even have a price for them with (Oracle and SQL Server) at this point in time, I am inclined to believe there is not any additional pricing.
Saying that I would recommend creating outside of the "Easy Create" view for a production DB.

Related

GCP - Cluster and database are turned off, but I am still charged

Please, I have a problem, that I have turned off my database and cluster, but I am still charged with only small price difference.
Commnand for turning off Cluster:
gcloud container clusters resize dev-cluster --num-nodes=0
--zone=europe-west3
For database:
gcloud sql instances patch app-dataase-dev --activation-policy NEVER
The one cluster and Sql database is only one and one. Yesterday 7th Jan., it was whole day turned off and I am still charged for almost same price, like it was not. I am sure that pool was empty and database was turned off. Also check the days before. At 3 - 5. Jan it was running like 5 hours per day and price difference is almost nothing.
I am not able to reach GCP support, because I am not on paid program.
Please could anyone help me find solution for this?
From Pricing:
GKE clusters accrue a management fee of $0.10 per cluster per hour, irrespective of cluster size or topology
This is probably the cause of the continued charges you are seeing for your cluster. Although one zonal cluster per billing account should be free according to the same documentation.
I would suggest contacting Billing Support, which is available for all Google Cloud accounts irrespective of any Technical Support plan you may or may not have.
If you are not using your Cluster you can delete it to avoid future charges:
gcloud container clusters delete
gcloud container clusters delete NAME [NAME …] [--async] [--region=REGION | --zone=ZONE, -z ZONE] [GCLOUD_WIDE_FLAG …]
Same thing for your sql instance, you can delete your instance:
gcloud sql instances delete [INSTANCE_NAME]
Even though your Cluster has 0 nodes and your instance is not receiving data, they are still using resources that is why you see that charge.
Additionally, Keep in mind that your Billing report is associated with your Billing Account, and if this Billing Account is linked to other projects that are generating costs, those costs will be reflected in the Billing Report.
To confirm if billing is enabled on a project you could consult the following documentation
Its long responses. I will add only results:
Its true, that you are billed $0.10 per cluster hour. #Nahuel.
To disable all paid features you need to disable billing for a project:
disable billing
then
enable billing, but After 30 days with disabled billing, all resources will be destroyed.
Also they said, that if you want to keep your project running, and fully turn off, you need to destroy it all.
I will go with turning off whole project, which is ok now for me. I have there only dev things. I hope this could be helpful for others, who would like to save some money.
Thanks to responders for help! :)

Is it possible to use ON_DEMAND pricing for Cloud SQL any longer?

I keep finding old posts about an on demand pricing option for Cloud SQL, but I see no more references in Google's documentation on how to enable it? Did this feature go away?
If so, can someone provide me a recommendation on an alternative for hosting a MySQL DB? Cloud SQL is just too much if I have to always be running the instance.
As per the GCP doc Cloud SQL for MySQL pricing is charged for every second. This means that each second of usage counts towards a full billable minute. For example, If you use an instance for 1.5 seconds or 2.49 seconds, in both cases you are billed for 2 seconds.

AWS database operations and hour price

I need to host Accounting desktop application on Windows server. SQL database of this application will be used as a source for ecommerce website, so there will be quite often read/write operations to this database (from different linux server). Is using AWS a good idea here? Does the read/write database operations count for usage? Meaning, if I have a cron that reads DB every 5 minutes, does it mean I will be billed for 24/7 usage?
Thanks.
In databases PaaS = RDS (like in EC2, so with VMs) you're paying per hour of instance that you have available, it doesn't matter if you use it or not.
Answering your question - it doesn't matter if you will be querying the DB every 5 minutes, 1 second or 1 hour. You will pay for the database the same amount (transfer costs are in most cases negligible when compared to EC2/RDS costs) = for the availability you need. If you need it to be available 24x7, you will pay for 24x7. If you need your database to run only during specific hours during the day (or only Mon-Fri) you can automate starting/stopping it (e.g. with CloudWatch Events + AWS Lambda) to lower your cost.
But then I guess if it's ecommerce, you anyway need the database to be available 24x7 :)
Depends. If you want to setup your own SQL server on an EC2 instance or use AWS RDS.
In case of former you SQL server is like any other application running on an EC2 instance and the costs are simply a factor of EC2 pricing
In case of latter refer AWS RDS pricing for SQL Server

Running Map Reduce on a data set of around 10 GB on AWS

I want to store around 10 GB of data on AWS services and use map reduce to process the data.
Is using EC2 the best option ? I want to use free tier service, it says maximum of 613 MB for free services on EC2 and that does not satisfy my requirement. I am doing a hobby project and my expenses are limited.
The free tier FAQ also talks about using AWS EBS with free 30 GB of data. Can I use Map Reduce services on EBS too, since AFAIK EMR is only available on EC2 ?
Does anyone know of any other alternatives that I can use for the same ?
Try the AWS Simply Monthly Calculator, located at http://calculator.s3.amazonaws.com/calc5.html#s=EMR, to get a feel for how much your project will cost using AWS.
The recommended workflow for EMR is to store data in an S3 bucket. So in the calculator, click S3 on the left. In the form enter 10G. The price for S3 storage is about $0.10 per gb/mo, so 10G costs about $1.00/mo.
Then, click on Amazon Elastic Map Reduce on the left. The form allows you to select predicted number of instances, hours/week or hours/mo expected usage, and expected instance type needed for your project. For example, for a project that requires 20 hrs/week using 1 Small EC2 is estimated to cost around $6.00. Micro instances do not seem to be offered with EMR.
Therefore, if you think you can get by with a Small Instance, and you plan to use it infrequently, your expenses might be under $10 per mo.
To reduce expenses even further, you could use spot instances rather than standard instances, as explained here: http://aws.amazon.com/ec2/spot-instances/#7.

Free Amazon AWS/RDS Instance

I have hosted a server app on AWS and RDS for relational DB. Though I opted for free account, RDS is being charged at $0.0025 per hour amounting to $18 a month.
I read some documentation but still not able to figure this out. Is this the way it is or is there a way to get free RDS account for testing purpose?
Thanks
OpenTube
I've just started setting this up and I realized quickly that it was allowing me to make selections that couldn't possibly be free. When setting up your free teir instance, look on the left hand side of the screen for
Your current selection is eligible for the free tier.
Once you select something like "Multi-AZ Deployment" or use any DB Instance Class other than "db.t2.micro" it will slyly change the left column display:
The following selections disqualify the instance from being eligible for the free tier:
Multi-AZ Deployment
Just be careful in your selections and usage to maintain the free teir.
What type of database are you running ? The free tier only applies to SQL Server Micro DB Instance:
750 hours of Amazon RDS for SQL Server Micro DB Instance usage
(running SQL Server Express Edition in a single Availability Zone)
See http://aws.amazon.com/free/
There is also a 60 day free trial for MySQL and Oracle:
See http://aws.amazon.com/rds/free-trial/
Your simplest option is to install the database on your instance.
Alternatively you could look at using a hosted MySQL service provided like http://xeround.com/, or http://www.cleardb.com/, both have limited but free options.
As of October 1st 2012, AWS free usage tier now includes Amazon RDS.
The free tier applies to Single-AZ deployments of MySQL, Oracle “Bring-Your-Own-License (BYOL)” licensing model and SQL Server Express Edition.
See this link from Amazon for more details:
https://aws.amazon.com/about-aws/whats-new/2012/10/01/amazon-rds-aws-free-tier/
you should use t1.micro. It is at the bottom of the options.
The important thing is not to choose RDS Aurora.
If you choose MySql or Postgres, the webpage will show template Free Tier.
When select it, all default configs will be good for free tier.
Some screenshots:
https://www.golery.com/pencil/zr
I recently provisioned an AWS RDS instance. I thought I was within my free tier limit and I kept being charged for "Amazon Relational Database Service Provisioned Storage". It was always a few cents.
I had taken between 15 and 20 GB of storage when I set it up.
I contacted support and they told me that, in order to be within the RDS free tier, I have to take no more than 9Gb storage when provisioning the instance. But after the backup is made, it will use up an additional 9Gb, so the total storage should be no more than 20Gb.
So now, when I provisioned a new instance of 9 GB, I am within the limits of the free tier.
Also always check if in the region of choice they have free tier resources.