Using CodePipeline for CD

So, we have our three services set up, and they would be running once we upload a Docker image. You learned in the last chapter, Chapter 14, Docker and the Cloud, how to do that through your command line; however this time, we want to get AWS to do it from our source directly. The process to be automatically deployed is called CD.

Let's quickly talk about how CodePipeline operates. CodePipeline works in stages. At every stage, it is doing something with our code and sending it to the next stage (through the pipe). The stages, however, are often composed of other services such as CodeBuild. CodeBuild is a tool that essentially uses EC2 units to compile code for us. Both CodeBuild and CodePipeline are incredibly flexible ...

Get Hands-On Swift 5 Microservices Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.