Member-only story

Angular Application CI/CD with Gitlab , Docker and Ansible

How to automate, build & deployment to your AWS ec2 instance

Mohamed wael Ben ismail
10 min readMay 1, 2020

Repo link : https://gitlab.com/mohamedwaelbenismail/angular-project

The goal of this tutorial is to give a high-level introduction of GitLab CI/CD that helps people get started in 30 minutes without having to read all of GitLab‘s documentation. This tutorial is geared toward who wish to tinker with CI/CD tools like GitLab CI/CD.
We will take an angular project as an example and guide you step by step to help you automate the process of the build and deployment of our application.To reach out our goal, we will be using :

  • Gitlab
  • Docker
  • Ansible
  • A host server (for me it’s an Amazon Linux 2 AMI)

Note: for those who don’t know what is Ansible for, her’s some explanations:

Ansible is an automating tool, with it you can automate anything
Infrastructure, Application-deployment, networks, Containers, Security-and-compliance and cloud.

For our case, we our going to use Ansible to automate the application-deployment

What is and why Gitlab at first ?

--

--

Responses (3)