Which is cheaper,using ec2 alone or ec2 connected to a database

0

Hi Is using ec2 alone cheap or using ec2 with a database is cheap?? Any idea??

TIA

2개 답변
0

Hi,

A couple of points,

  • if you use ec2 to store your db, you will have to perform database management tasks on your side (also including patching, monitoring, etc.). You have to include this cost in your equation
  • EC2 alone may get cheaper if you have a very constant workload loading your machine above 70% all the time
  • If you have varying workloads, I would suggest to consider Aurora serverless. Read "Variable workloads" and "Unpredictable workloads" of https://aws.amazon.com/rds/aurora/serverless/ to understand why.

All in all, for very variable workloads, I 'd suggest to go full serverless (Lambda on Compute + Aurora Serverless on db) to obtain the cost efficiency that you are after.

Best,

Didier

profile pictureAWS
전문가
답변함 7달 전
0

Hello.

Although it depends on the instance size etc., it is cheaper to run EC2 on one machine.
However, for systems that require high availability, it will be easier to operate if you use RDS instead of installing the database on EC2.
The following document describes MS SQL Server, but I think it will be helpful as there are parts that apply to other relational databases as well.
https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-sql-server/comparison.html

The following documents describe the features of RDS.
https://aws.amazon.com/rds/features/?nc1=h_ls

profile picture
전문가
답변함 7달 전
profile pictureAWS
전문가
검토됨 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠