{"id":645,"date":"2019-05-17T15:58:41","date_gmt":"2019-05-17T13:58:41","guid":{"rendered":"https:\/\/blog.besharp.it\/how-to-create-flexible-ci-cd-pipeline-on-aws-with-fargate-and-sqs\/"},"modified":"2021-03-29T17:17:03","modified_gmt":"2021-03-29T15:17:03","slug":"how-to-create-flexible-ci-cd-pipeline-on-aws-with-fargate-and-sqs","status":"publish","type":"post","link":"https:\/\/blog.besharp.it\/how-to-create-flexible-ci-cd-pipeline-on-aws-with-fargate-and-sqs\/","title":{"rendered":"How to create flexible CI\/CD Pipeline on AWS with Fargate and SQS"},"content":{"rendered":"

The use of Pipeline for automatic code deployment\u00a0<\/strong>is now an almost essential feature of every development project in the Cloud, as the concept of scalable architecture requires that virtual machines (or containers), which are started on the Cloud to manage traffic spikes use the most up-to-date version of the code. Furthermore, the creation of an automated pipeline\u00a0frees the DevOps from the manual management<\/strong>\u00a0of AMIs and Docker images, as well as eliminating the possibility of \u201chuman errors\u201d in the deployment phase.<\/p>\n

AWS provides DevOps with a very powerful tool for creating automatic Pipelines:\u00a0AWS CodePipeline.<\/strong>\u00a0This fully managed service works as an\u00a0orchestrator for a CI\/CD<\/strong>\u00a0pipeline with similar functionalities to those offered by other services such as Jenkins but which must be installed on an EC2 instance and, therefore, in addition to not being highly reliable, require a significant configuration and maintenance effort.<\/p>\n

The most common flow of an AWS CodePipeline consists of three steps:<\/p>\n