토이프로젝트 데이터베이스 선택하기(가성비편)

Bie·2024년 3월 13일

1. 데이터베이스 유형

2. AWS free tier

  • RDS: 12개월 무료
  • DynamoDB(noSql): 기간정함없이 25gb 무료, pay as you go

3. Sql? noSql?

  • 개인 블로그 운영, 댓글기능 예정 없음, 관리자만 쓰기 가능
  • 따라서 관계형이 아니어도 됨

4. MongoDB? DynamoDB?

4-1. MongoDB

1) Deploy anywhere
2) JSON based ocument store
3) Rich query language(single keys, JOINs, etc)
4) No cost to index data
5) Tools to visualize schema
6) All of above could be very biased since it's from their website
7) It's better to run one more ec2 instance soley for mongoDB
   -> non-free tier cost should be considered (best practice is to separate app and db)

4-2. DynamoDB

1) No additional cost for adding another instance 
2) More secure(Auth with AWS user access control)
3) Built-in backup & recovery feature
4) Deploy only on AWS
5) 

1년만 운영하고 중단할 사이트가 아니기 때문에 확장성보다 금액, 가성비가 더 중요하기 때문에 dynamoDB ww

참고
aws db

0개의 댓글