RDS Aurora MySQL 생성 가이드 (일반 용도)
2024. 1. 19. 14:30ㆍAWS/Amazon Relational Database Service
728x90
SMALL
- 개요
AWS RDS Aurora MySQL을 생성하는 과정에서 선택해야할 옵션과 결정해야 할 사항들이 많다. 아래는 일반적인 용도로 사용가능한 Aurora MySQL를 만들 때 사용가능 한 옵션과 준비 사항이다.
- 사전 준비 사항
VPC
Least 2 private subnets
Security Group for RDS
RDS Subnet Group
RDS Custom Paramater group
- 옵션과 선택 사항
Choose a database creation method : Standard create
Engine options
Engine type : Aurora (MySQL Compatible)
Engine version : 3.05.1 (latest)
Templates : "Production"
Settings
DB cluster identifier : rds-<project>-<env>
Master username : <random-number>rds-<project>-<env><random-number>
Master password : <random-number><project>-root-<env><random-number>
Cluster storage configuration
Configuration options : "Aurora Standard"
Instance configuration
DB instance class : "Serverless v2"
Minumum ACUs : 2 // Maximum ACUs : 8
Availability & durability
Multi-AZ deployment : "Create an Aurora Replica or Reader node in a different AZ (recommended for scaled availability)"
Connectivity
Compute resource : "Don’t connect to an EC2 compute resource"
Network type : "IPv4"
Virtual private cloud (VPC)
DB subnet group : subgrp-<project>-<env>
Public access : No
VPC security group (firewall) : "Create new"
New VPC security group name : securitygroup-rds-<project>-<env>
Certificate authority : rds-ca-rsa2048-g1
Additional configuration : Database port : custom-port
Monitoring
Performance Insights
Turn on Performance Insights : Uncheck for Dev, check for Production
Additional configuration
Enable Enhanced Monitoring : Uncheck for Dev, check for Production
Additional configuration
Database options
DB cluster parameter group : paramgrp-<project>-<env>-mysql<version>
Backup
Backup retention preiod
3 days for Dev, 7 or 14 days for Production
Check "Copy tags to snapshots"
Encryption : Uncheck "Enable encryption"
Maintenance
Enable auto minor version upgrade" : Check for Dev, uncheck for Production
Maintenance window : "Choose a window" : UTC and night time
Deletion protection : Check "Enable deletion protection"
728x90
LIST
'AWS > Amazon Relational Database Service' 카테고리의 다른 글
AWS RDS Performance Insights for performance_schema (0) | 2024.03.29 |
---|---|
Aurora MySQL8에서 database 생성 및 user 생성하는 간단한 쿼리 (0) | 2024.01.19 |
Aurora MySQL 파라미터와 적용 시 리부팅 필요 여부 (0) | 2024.01.19 |
Aurora MySQL 8 파라미터 추천 (0) | 2024.01.17 |
AWS RDS Proxy max_connections (0) | 2023.12.29 |