Truy cập vào AWS Management Console
Trong giao diện Create DB subnet group
FCJ-Management-Subnet-Group
Subnet Group for FCJ Management
Cấu hình subnet
Chọn các AZ
Chọn các Private subnet
Chọn Create
Hoàn thành tạo DB Subnet Group với 2 AZ
Truy cập vào RDS AWS Management Console
Chọn Databases
Chọn Create database
Chọn phương thức tạo Databases như sau:
Chọn Standard create
Engine database chọn MySQL
Template
Chọn Production
Chọn Mutil-AZ DB instance
Thực hiện cài đặt chi tiết
DB instance identifier, nhập fcj-management-db-instance
Master username, nhập admin
Chọn sang Self managed
Master password, nhập tùy ý của bạn (nhập 06022003Min*
) - Confirm password, nhập lại password 1 lần nữa
Cấu hình chi tiết cho instace
Chọn db.m5d.large
Chọn General Purpose SSD (gp3)
Allocated storage nhập vào 20
Connectivity cho db instance
Chọn Don’t connect to an EC2 compute resouce
VPC, chọn WorkShop
đã tạo
Subnet group, chọn subnet group đã tạo.
VPC security group, Chọn Choose existing
Security Group, chọn FCJ-Management-DB-SG
Khởi tạo Initial Database với tên awsfcjuser
, còn lại để mặc định.
Chọn Create database
Chờ một vài phút để Database instance được khởi tạo
Chúng ta có được Endpoint và Port như dưới đây.