Bỏ qua tới nội dung
CloudDojo
SAA-C03 Lớp 6 · Integration, Monitoring & Operations CloudFormation + Elastic Beanstalk

CloudFormation và Elastic Beanstalk: Infrastructure as CodeCloudFormation and Elastic Beanstalk: Infrastructure as Code

Số lượng nhân sự mới và số account của MFTECH tăng lên, và các thao tác thủ công trên console bắt đầu gây sự cố. Bài học trình bày ba nội dung: mô tả hạ tầng bằng CloudFormation template và quản lý việc tạo, cập nhật, rollback thông qua stack; áp dụng cùng một tiêu chuẩn cho mọi account và Region bằng StackSets; và rút ngắn thời gian khởi động instance mới của Elastic Beanstalk xuống 2 phút.MFTECH's headcount and number of accounts have grown, and manual actions in the console have started to cause incidents. This lesson covers three topics: describing infrastructure with CloudFormation templates and managing creation, updates and rollback through stacks; applying one standard to every account and Region with StackSets; and cutting the startup time of new Elastic Beanstalk instances down to 2 minutes.

Mức độ
Bổ trợ Áp dụng cho các yêu cầu chuyên biệt
Kiến thức tiên quyết
EC2VPC + VPN + Direct Connect + Transit GatewayRDS + Aurora
Thời lượng
~19 phút, 4 phần học có mô phỏng
Bối cảnh hệ thống

Tuần trước, một nhân sự mới của MFTECH tạo database bằng console nhưng không bật Multi-AZ và backup. Khi database gặp sự cố, dữ liệu đơn hàng của nửa ngày bị mất. Từ sự cố này, hạ tầng cần được định nghĩa bằng mã nguồn, được review như mã nguồn và có thể tái tạo chính xác với số lần bất kỳ. CloudFormation đáp ứng yêu cầu này cho mọi loại tài nguyên; Elastic Beanstalk đảm nhiệm việc vận hành ứng dụng web cho các nhóm không muốn tự kết hợp từng thành phần hạ tầng.

Bối cảnh hệ thống

Last week, a new MFTECH employee created a database in the console without enabling Multi-AZ or backups. When the database failed, half a day of order data was lost. After this incident, infrastructure needs to be defined as code, reviewed like code and reproducible exactly any number of times. CloudFormation meets this requirement for every type of resource; Elastic Beanstalk handles running web applications for teams that do not want to assemble each infrastructure component themselves.

Các phần của bài học

Tiếp theo

Các bài tiếp theo trong lộ trình học

Bài học tiếp theo

Luyện tập

Tài liệu AWS

Xem thêm 18 tài liệu
Xem thêm 18 tài liệu