From the course: Complete Guide to AWS Software Deployment

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

AWS CodeDeploy: AppSpec and deployment

AWS CodeDeploy: AppSpec and deployment

- [Instructor] All right, it's almost time to perform our first application deployment with CodeDeploy. But before we do, let's see how it all works by taking a look at the appspec.yml file. This file's in the root of the application repo that you've checked out. So let's look at appspec.yml. Now, you can see these first two lines. These are kind of boilerplate, they never really change. And then I've got two major sections, files and hooks. Here under files, we move two different things. We've got a source and destination for each. You'll notice that the sources are relative paths that refer to places within this application repo. So again, if you've checked out the code, you've got this. There's a codedeploy folder and underneath it, a config folder. So you'll find that the first one is an NGINX config file related to Ruby. Let's take a look at that one real quick and I'll show you what's going on inside. Now, if you're familiar with NGINX, you'll recognize some things going on…

Contents