karammm / DevOps-Project

CI-CD pipeline through Jenkins, Docker and Ansible complete setup on AWS for Automation Deployment and monitoring with Nagios.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevOps Project

Objective is to learn Devops tools like Git, Jenkins, Docker, Nagios, Selenium, Ansible, Puppet, Linux and Kubernetes. For Complete Automation Deployment process.

About Git:

Git is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data integrity, and support for distributed, non-linear workflows.

About Jenkins:

Jenkins is a free and open source automation server. It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery. It is a server-based system that runs in servlet containers such as Apache Tomcat.

About Docker:

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.

About Nagios:

Nagios Core, formerly known as Nagios, is a free and open-source computer-software application that monitors systems, networks and infrastructure. Nagios offers monitoring and alerting services for servers, switches, applications and services.

About Selenium:

Selenium is a portable framework for testing web applications. Selenium provides a playback tool for authoring functional tests without the need to learn a test scripting language.

About Ansible:

Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.

About Puppet:

In computing, Puppet is a software configuration management tool which includes its own declarative language to describe system configuration. It is a model-driven solution that requires limited programming knowledge to use.

About Kubernetes:

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation.

1.Made 3 instance 1 for jenkins master and other for slaves How to install

Setting op jenkins on master How to install

Adding jenkins keys
How to install

Logging into my jenkins dashboard How to install

Now it’s the time for setting op slaves: Setting slave 1: How to install

Installing agent jar on slave machine How to install

Used Mobaxtreme software instead of putty because I can manage my terminals easily: How to install

Finally done with the master and slave architecture: How to install

Slave1 is testing server. Slave2 is production server. Creating a project website with title karam website as shown below: How to install

Creating git repository for version control How to install

Creating git repository for version control Initially pushed my files from the local system to the git hub How to install

How to install

How to install

This is the docker file: How to install

How to install

Till here I have completed the 3 tasks of project 4.Once the website is built, you have to design a test-case, which will basically check if the website can be opened or not. If yes, the test should pass. This test has to run in headless mode, on the testserver. Code for selenium: How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

How to install

About

CI-CD pipeline through Jenkins, Docker and Ansible complete setup on AWS for Automation Deployment and monitoring with Nagios.