DevOps Project - 2022: CI/CD with Jenkins Ansible Kubernetes [Video]
- FREE Subscription Read for free
- $49.99 Video Buy
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Free ChapterIntroduction to the Course
-
CI/CD Pipeline Using Git, Jenkins, and Maven
-
Integrating Tomcat Server in CI/CD Pipeline
-
Integrating Docker in CI/CD Pipeline
- Set Up Docker Environment
- Create a Tomcat Container
- Fixing Tomcat Container Issue
- Create Your First Docker File
- Create a Customized Dockerfile for Tomcat
- Integrate Docker with Jenkins
- Jenkins Job to Build and Copy Artifacts on to Docker Host
- Update Tomcat Dockerfile to Automate Deployment Process
- Automate Build and Deployment on Docker Container
- Jenkins Job to Automate CI/CD to Deploy Application on Docker Container
-
Integrating Ansible in CI/CD Pipeline
- Section Introduction – Why Ansible?
- Ansible Installation
- Integrate Docker with Ansible
- Integrate Ansible with Jenkins
- Build an Image and Create Container on Ansible
- Ansible Playbook to Create Image and Container
- Copy Image on to DockerHub
- Jenkins Job to Build an Image onto Ansible
- How to Create Container on DockerHost Using Ansible Playbook - DevOps Project
- Continuous Deployment of Docker Container Using Ansible Playbook
- Jenkins CI/CD to Deploy on Container Using Ansible
-
Kubernetes on AWS
-
Integrating Kubernetes in CI/CD Pipeline
- Write a Deployment File
- Use Deployment and Service Files to Create and Access Pod
- Integrate Kubernetes Bootstrap Server with Ansible
- Create Ansible Playbooks for Deploy and Service Files
- Create Jenkins Deployment Job for Kubernetes
- CI Job to Create Image for Kubernetes
- Enable Rolling Update to Create Pod from Latest Docker Image
- Complete CI and CD Job to Build and Deploy Code on Kubernetes
- Clean Up Kubernetes Setup
-
Resources
In this learning journey, you will be introduced to tools such as GitHub, Jenkins, Maven, Docker, Ansible, and Kubernetes and learn how to integrate these tools to run a project in the real world.
You will start with building and deploying it on the Tomcat server. You will set up CI/CD with GitHub, Jenkins, Maven, and Tomcat. Initially, there is no environment; therefore, you start with setting up Jenkins, configuring Maven and Git, Tomcat server, integrating GitHub, Maven, Tomcat server with Jenkins, creating a CI and CD job, and testing the deployment.
Next, we will cover deploying artifacts on a Docker container as well as with the help of Ansible. For that, first set up Docker environment, write Dockerfile, create an image and container on Docker host, integrate Docker host with Jenkins, and create CI/CD job on Jenkins to build and deploy on a container.
Finally, deploy artifacts on Kubernetes. Almost all the environment is ready by now except for Kubernetes, so we will start with setting up the Ansible server, integrating Docker host with Ansible, Ansible playbook to create an image, Ansible playbook to create continuer, integrating Ansible with Jenkins, and CI/CD job to build code on Ansible and deploy it on Docker container.
By the end of this course, you will be able to confidently set up and complete CI/CD pipeline to build and deploy a Java application on AWS.
The resource files are available on the GitHub repository at https://github.com/PacktPublishing/hello-world
- Publication date:
- April 2022
- Publisher
- Packt
- Duration
- 6 hours 14 minutes
- ISBN
- 9781803248196