Free Tier - EC2 MySQL or RDS MySQL

0

Hi,
I have created the following setup:
a. an EC2 instance such that, I'm getting the "Amazon Linux AMI Test Page" via the Public Host Name of the Instance.
b. have configured Route53 to point a test domain to the instance and it is working.

I need to create a MySQL Database that is accessible from the PHP files in my EC2 instance.

https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=categories%2312monthsfree&awsm.page-all-free-tier=1
As per Free Tier Details page, one RDS db.t2.micro database & one EC2 t2.micro instance is allowed.(additionally, in my EC2 dashboard, I also see a volume of 8GB present)

It is unclear whether, I can create & use database directly in my EC2 instance, while staying within Free tier restrictions.

In order to stay within Free Tier, Should I directly create the Database via SSH in EC2 or should I create a RDS MYSQL DB with Public IP.?

Edited by: rohitvedantwar on Jun 16, 2019 10:47 PM

Edited by: rohitvedantwar on Jun 16, 2019 10:55 PM

Edited by: rohitvedantwar on Jun 16, 2019 10:59 PM

已提问 5 年前324 查看次数
2 回答
0
已接受的回答

AWS doesn't care (or even know) what you run on your EC2 instance, so it is perfectly fine to install MySQL on your EC2 t2.micro and have it stay within the free tier. Of course if doing so requires resources beyond the free tier (e.g., more storage) then you'll be charged for those.

BTW, a good place to look for more information about the free tier is https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-free-tier.html

HalTemp
已回答 5 年前
0

Thank-you HalTemp. I'll go ahead and create an EC2 MySQL db.

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则