Tải template fcj-storage-performance.yaml về máy.
Mở AWS CloudFormation console và chọn Region bạn dùng cho bài lab. Chọn Create stack → With new resources (standard).
Tại trang Create stack:
fcj-storage-performance.yaml.
Tại trang Specify stack details:
FCJ-StoragePerf.c7g.large.
Tại trang Configure stack options, giữ mặc định. Ở cuối trang, (1) tick I acknowledge that AWS CloudFormation might create IAM resources with custom names, rồi (2) chọn Next.

Tại trang Review and create, chọn Submit.

Chờ stack chuyển sang CREATE_COMPLETE, khoảng 3 phút. Instance tạo xong các file mẫu trên EBS và mount EFS rồi mới báo thành công cho CloudFormation.

Mở tab (1) Outputs. (2) Ghi lại tên bucket, file system ID và instance ID.

Template tạo các tài nguyên sau:
| Tài nguyên | Tên | Ghi chú |
|---|---|---|
| VPC, public subnet, internet gateway | FCJ-StoragePerf-* |
10.40.0.0/16, một subnet ở Availability Zone đầu tiên |
| S3 gateway endpoint | Lưu lượng S3 từ instance đi trong mạng AWS | |
| Security group | FCJ-StoragePerf-Instance-SG, FCJ-StoragePerf-EFS-SG |
Instance không có rule inbound; EFS chỉ nhận NFS (2049) từ instance |
| EC2 instance | FCJ-StoragePerf-Instance |
Amazon Linux 2023 arm64, ổ root 30 GB, ổ dữ liệu 20 GB mount tại /ebs chứa 2.000 file 1 MB |
| EFS file system | FCJ-StoragePerf-EFS |
General Purpose, Bursting, mount tại /efs |
| S3 bucket | fcj-storageperf-labbucket-... |
Bật Block Public Access |
| IAM role | FCJ-StoragePerf-EC2-Role-<region> |
Session Manager, và quyền đọc/ghi chỉ trên bucket của bài lab |