AppSpec file

AWS CodeDeploy uses a configuration file called appspec.yml that defines the deployment process, hooks, and how is the software artifact managed. In your local file system create a directory named myApp using the following command and cd into the directory:

    mkdir myApp && cd myApp

Create the appspec.yml on the root of the myApp directory. For you reference, you can find the complete file at

Create a directory inside myApp called deploy/ here we will create two files; before_install and restart_server (for non Unix systems, ...

Get AWS Certified Solutions Architect - Associate Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.