- RDS로 이동 → Databases
- [Create database]
- Choose a database creation method: Standard create
- Engine options: MySQL
- Engine Version: MySQL 8.0.35
- Templates: Free tier
- Settings: DB instance identifier / Master username / Master password 설정
- Instance configuration: Burstable classes (includes t classes) - 제일 작은걸로
- Storage 설정
- General Purpose SSD (gp2) - 제일 낮은 사양
- Allocated storage: 20GiB
- Storage autoscaling(자동 확장) 여부 설정 및 최대 저장 용량 설정 필요!!
- Connectivity 설정
- Compute resource: Don't connect to an EC2 compute resource
- Public access: Yes
- VPC security group (firewall)
- [Create new]
- New VPC security group name 설정
- Availability Zone: No preference
- Additional configuration 설정
- Initial database name: 접근할 때 사용할 DB명 지정
- Backup retention period: 며칠동안 백업을 가지고 있을지 지정
- Backup replication: 다른 Region으로 복제할지 여부(가용성을 높이고 싶다면 활성화)
- 월별 예상 비용 체크 후 [Create database]
생성된 DB에 접속하기
- 생성된 DB의 Connectivity & security 탭에서 Endpoint를 복사
- 복사한 Endpoint를 Host로 입력
- DB를 생성할 때 설정한 User / Password 입력 - Master
- Database에 Initial database name에서 설정한 이름 입력
- 연결 테스트
💡사용이 끝난 RDS는 꼭 삭제하기!!
'AWS' 카테고리의 다른 글
[AWS] Simple Storage Service (S3) (0) | 2024.06.25 |
---|---|
[AWS] Elastic Load Balancer (ELB) (0) | 2024.06.25 |
[AWS] Elastic Compute Cloud (0) | 2024.06.24 |
[AWS] Identity and Access Management (0) | 2024.06.18 |