Git Product home page Git Product logo

devopscapstoneproject2's Introduction

Devopscapstoneproject2

Devopsproject2

architecture

Implemented a DevOps lifecycle such that all the requirements are implemented without any change in the Docker containers in the testing environment. CodeBuild is triggered once the commits are made in the master branch. The code is containerized with the help of the Dockerfile. The Dockerfile is built every time there is a push to GitHub. Used Kubernetes cluster and the containerized code from Docker Hub is deployed with 2 replicas. Created a NodePort service and configure port 30008. Created a Jenkins pipeline script to accomplish the above task.

 Create an Ec2 instance for master-server

image

 Download terraform  Make main.tf file for creating 3 t2.medium instance

image

image

image

 Install docker and kubeadm, kubelet, and kubectl in kuberenetes master as well as worker nodes and install java in kubernetes master.

image

image

 Run “kubeadm init” command in master node and join the workers node to paste join commands

image

image

 In Kuberenetes master run the following command to check nodes

image

 In Master-server install Jenkins and java

image

 Setup Jenkins

image

 Set the Kubernetes master node in Jenkins

image

image

image

 Set the credentials for docker-hub account

image

image

 Create a pipeline

image

 Write the script

image

 And build

image

 Docker-Hub

image

 The Webpage

image

Note: Please excuse if something missed.

devopscapstoneproject2's People

Contributors

intellipaat2 avatar tripti-td avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.