{"id":1294,"date":"2020-04-03T11:53:30","date_gmt":"2020-04-03T09:53:30","guid":{"rendered":"https:\/\/blog.besharp.it\/?p=1294"},"modified":"2021-03-24T12:32:49","modified_gmt":"2021-03-24T11:32:49","slug":"how-to-make-a-fully-automated-cd-pipeline-for-an-angular-frontend-application","status":"publish","type":"post","link":"https:\/\/blog.besharp.it\/how-to-make-a-fully-automated-cd-pipeline-for-an-angular-frontend-application\/","title":{"rendered":"How to make a fully automated CD pipeline for an Angular frontend application"},"content":{"rendered":"

We have already written about Continuous Delivery\/Continuous Integration<\/strong> several times, most of them mainly focused on the backend part of an application. Of course, web applications also require a front-end<\/strong>, thus, making the deployment process of the front-end agile and fast<\/strong> is crucial for the success of a project.\u00a0<\/span><\/p>\n

In this article, we want to bring you the complete project<\/strong> for an AWS infrastructure to host an Angular application<\/strong>, complete with a CDN, a custom function to invalidate the cache and a fully automated CD pipeline<\/strong>.<\/span><\/p>\n

This project aims to fulfill the best practices and will provide a robust, highly scalable and fully managed solution for the hosting of front-end applications on AWS. This is also the most cost-optimized<\/strong> solution we have found so far, allowing you to serve your static content in a very reliable, performant and cheap way.<\/span><\/p>\n

Our architecture is logically partitioned in 2 parts, the customer-facing hosting, and the developer-facing Continuous Delivery infrastructure.<\/span><\/p>\n

The services<\/span><\/h2>\n

For the hosting, we will use the following AWS services:<\/span><\/p>\n