{"id":618,"date":"2019-04-05T14:28:27","date_gmt":"2019-04-05T12:28:27","guid":{"rendered":"https:\/\/blog.besharp.it\/aws-fargate-services-deployment-with-continuous-delivery-pipeline\/"},"modified":"2021-03-29T17:02:41","modified_gmt":"2021-03-29T15:02:41","slug":"aws-fargate-services-deployment-with-continuous-delivery-pipeline","status":"publish","type":"post","link":"https:\/\/blog.besharp.it\/aws-fargate-services-deployment-with-continuous-delivery-pipeline\/","title":{"rendered":"AWS Fargate Services Deployment with Continuous Delivery Pipeline"},"content":{"rendered":"
\n

In this article, we explain how we have created a Continuous Delivery (CD) pipeline capable of producing a docker image for deployment on AWS ECS Fargate.<\/p>\n

With the emergence of\u00a0AWS Fargate<\/strong>, the realization of container-based services finally takes on a whole new meaning. In fact, before Fargate\u2019s release, the only way to use Amazon ECS was to provide a cluster of EC2 instances managed by Amazon (for software, updates, and configuration). This type of solution requires sustaining the costs of the clusters, plan oversizing to allow for the scaling of tasks, and lastly, configuring and maintaining a valid autoscaling system to avoid lacking adequate container resources.<\/p>\n

AWS Fargate allows for all of this\u00a0management overhead to be handed to AWS<\/strong>, i.e., to launch container-based services by paying only for the actual execution time. No need to worry about the underlying cluster\u200a\u2014\u200athe focus can instead be placed on service development.<\/p>\n

With AWS Fargate, AWS is making the container a top-tier object in computing solutions.<\/p>\n

Automating the deployment of container-based services is fundamental to fully take advantage of AWS Fargate and AWS Cloud potential.<\/p>\n

Here is our solution for implementing a CD pipeline that can put in production every push on the selected repository branch.<\/p>\n

Key infrastructure services include:<\/p>\n