เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

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

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง

เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา

เริ่มแบบฝึกหัด