开始使用免费开始使用

Build an appspec.yml

At NovaTech, you're setting up CodeDeploy for a Python web application on EC2. Use the appspec.yml builder to explore how the file is structured.

The builder lets you toggle sections on and off and see how the resulting appspec.yml changes. Experiment with different file mappings and lifecycle hooks to understand the relationship between the YAML structure and what CodeDeploy executes.

Pay attention to which lifecycle events are available for EC2 vs. Lambda deployments, and how the files section maps source paths to destinations.

Question: What are the four required sections in an EC2 appspec.yml file?

本练习是课程的一部分

Automating Deployments on AWS

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习