Cấu hình Security Group
Cấu hình Security Group cho EC2
Ở giao diện quản lý EC2, mục lựa chọn bên trái.
- Chọn Security Groups
- Chọn Create security group

Cấu hình cho Security Group
- Ở phần Basic details
- Security group name
FCJ-Lab-sg-public
- Description
Security group for FCJ Lab
- VPC FCJ-Lab-vpc

- Ở phần Inbound rules chúng ta sẽ thêm những rule như sau:
- Type SSH source Anywhere-IPv4
- Type HTTP source Anywhere-IPv4
- Type HTTPS source Anywhere-IPv4
- Type Custom TCP, port range 3000, source Anywhere-IPv4

- Ở phần Outbound chúng ta sẽ để mặc định
- Nhấn Create security group
Cấu hình Security Group cho database instance
Tưởng tự như bước tạo security group cho EC2
- Chọn Security Groups
- Chọn Create security group

Cấu hình cho Security Group
- Ở phần Basic details
- Security group name
FCJ-Lab-sg-db
- Description
Security group for RDS database instance
- VPC FCJ-Lab-vpc

- Ở phần Inbound
- Chọn Type MYSQL/Aurora
- Source chọn FCJ-Lab-sg

