From the course: Docker: Continuous Delivery

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy to AWS with Jenkins

Deploy to AWS with Jenkins - Docker Tutorial

From the course: Docker: Continuous Delivery

Start my 1-month free trial

Deploy to AWS with Jenkins

- [Instructor] Now that we've created the application load balancer and have ECS in order, let's have Jenkins build some stacks for us. So heading back to my editor, I've added a couple of files to the project for these purposes, and the first one, run-stack.sh, is our stack definition file. This defines everything about our production in one big, long file written in the YAML format. So it starts off at the top with a description, and then some parameters, these are the parts that change from deployment to deployment. You'll need to set many of these in order to run it in your account. Below the parameters, we get to the meat of it, the resources. Every entity here is one thing that needs to be deployed as part of our environment. So, the security group is defined, the service is defined, the task is defined, and a few helper roles are created below that. The Services job is to ensure that the correct number…

Contents