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
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.
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
Kiến thức
4 phần học, đọc theo thứ tự- Phần 1/4Part 1/4 · 5 phút Đã đọc ✓ Đang đọc CloudFormation template, stack và change setCloudFormation templates, stacks and change sets
- Phần 2/4Part 2/4 · 3 phút Đã đọc ✓ Đang đọc CloudFormation StackSets triển khai trên nhiều account và Regiondeploying across multiple accounts and Regions
- Phần 3/4Part 3/4 · 3 phút Đã đọc ✓ Đang đọc Elastic Beanstalk rút ngắn thời gian khởi động instance bằng custom AMIshortening instance startup time with a custom AMI
- Phần 4/4Part 4/4 · 7 phút Đã đọc ✓ Đang đọc AWS Service Catalog và các dịch vụ liên quan tới IaCAWS Service Catalog and related IaC services
Bài kiểm tra
tự đánh giá trước khi sang bài sauCác bài tiếp theo trong lộ trình học
Bài học tiếp theo
Tài liệu AWS
Xem thêm 18 tài liệu
- What is AWS Elastic Beanstalk?
- Choosing an IaC tool: CloudFormation (AWS Prescriptive Guidance)
- Choose how to handle failures when provisioning resources
- Enable or disable automatic deployments for StackSets in AWS Organizations
- AWS::EC2::Volume
- Amazon EBS General Purpose SSD volumes
- Security group rules
- What is AWS RAM?
- Using a custom Amazon machine image (AMI) in Elastic Beanstalk
- What is AWS Service Catalog?
- AWS Service Catalog concepts
- AWS Service Catalog template constraints
- AWS Service Catalog launch constraints
- What is CodeDeploy?
- Global Accelerator traffic dials
- Configuring budget actions
- What is AWS Control Tower?
- Share your VPC subnets with other accounts
Xem thêm 18 tài liệu
- What is AWS Elastic Beanstalk?
- Choosing an IaC tool: CloudFormation (AWS Prescriptive Guidance)
- Choose how to handle failures when provisioning resources
- Enable or disable automatic deployments for StackSets in AWS Organizations
- AWS::EC2::Volume
- Amazon EBS General Purpose SSD volumes
- Security group rules
- What is AWS RAM?
- Using a custom Amazon machine image (AMI) in Elastic Beanstalk
- What is AWS Service Catalog?
- AWS Service Catalog concepts
- AWS Service Catalog template constraints
- AWS Service Catalog launch constraints
- What is CodeDeploy?
- Global Accelerator traffic dials
- Configuring budget actions
- What is AWS Control Tower?
- Share your VPC subnets with other accounts