Triển khai CloudFormation Stack

Triển khai CloudFormation Stack

  1. Truy cập vào EC2 và chọn Keypair, sau đó chọn Create key pair.

AWS CloudFormation

  1. Thực hiện tạo keypair. Đặt tên cho keypair chúng ta sẽ dùng để tạo CloudFormation stack.

AWS CloudFormation

  1. Tạo keypair thành công.

AWS CloudFormation

  1. Chúng ta truy cập vào CloudFormation
  • Chọn Create stack.
  • Chọn With new resources (standard)

AWS CloudFormation

  1. Thực hiện tạo stack
  • Chọn Template is ready
  • Chọn Upload a template file
  • Tải file template về tại đây
  • Chọn Choose file và chọn file vừa tải về.

AWS CloudFormation

  1. Đặt tên cho Stack name. Ví dụ: cfn-aws-three-tier-demo

AWS CloudFormation

  1. Thực hiện hoàn thành các thông tin trong phần Parameters

AWS CloudFormation

  1. Sau khi hoàn thành thông tin, chọn Next

AWS CloudFormation

  1. Chọn Next

AWS CloudFormation

  1. Kiểm tra lại và chọn Submit

AWS CloudFormation

  1. Sau khi tạo thành công, chúng ta chọn Output. Sao chép giá trị WebTierLoadBalancerURL vào trình duyệt.

AWS CloudFormation