Skip to Content
AWS Administration - The Definitive Guide - Second Edition
book

AWS Administration - The Definitive Guide - Second Edition

by Yohan Wadia
March 2018
Intermediate to advanced content levelIntermediate to advanced
358 pages
8h 12m
English
Packt Publishing
Content preview from AWS Administration - The Definitive Guide - Second Edition

Setting up the AppSpec file

As mentioned earlier, the AppSpec, or the application specifications file, is basically a YAML or JSON backed file used to define life cycle hooks for a particular deployment. In this case, with our EC2 instance prepped and ready with the CodeDeploy agent, we still need the AppSpec file to define a set of dependencies that will essentially install the necessary packages on the EC2 instance, start or stop the services, change permissions, and much more.

The AppSpec file comprises the following sections:

  • Version: The version of the AppSpec file. Currently, the version number supported with CodeDeploy is 0.0. Do not change this value.
  • OS: Specifies the operating system of the underlying EC2/on-premise instance.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS System Administration

AWS System Administration

Mike Ryan, Federico Lucifredi
AWS SysOps Cookbook - Second Edition

AWS SysOps Cookbook - Second Edition

Eric Z. Beard, Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781788478793Other