GithubHelp home page GithubHelp logo

capstonedevops's Introduction

Cloud DevOps Engineer Capstone Project

Overview

In this project I applied the skills and knowledge which were developed throughout the Cloud DevOps Nanodegree program. These included:

  • Working in AWS
  • Using Jenkins to implement Continuous Integration and Continuous Deployment
  • Building pipelines
  • Working with Ansible and CloudFormation to deploy clusters
  • Building Kubernetes clusters
  • Building Docker containers in pipelines

Propose and Scope the Project

  • For the Docker application I used an Nginx “Hello World, my name is Luka.” application.
  • As a deployment type, I applied a blue/green deployment.
  • I used Jenkins to manage Continuous Integration phases.

Project walkthrough Steps

Create on EC2 an Ubuntu Server (Screenshot 1 till Screenshot 9)

I used an Ubuntu v20, and referenced this tutorial for Jenkins installation: https://www.journaldev.com/33965/install-jenkins-on-ubuntu

Step1: Install Prerequisites

sudo apt update sudo apt install openjdk-8-jdk

Step 2: Retrieve and add the GPG Public Keys

wget https://pkg.jenkins.io/debian/jenkins.io.key sudo apt-key add jenkins.io.key

Step 3: Add the Jenkins Repository to the Sources List

Insert "deb https://pkg.jenkins.io/debian-stable binary/" in /etc/apt/sources.list

Step 4: Install Jenkins on Ubuntu

sudo apt update sudo apt install jenkins

Step 5: Verify Jenkins Installation

sudo systemctl status jenkins

Step 6: Allow incoming connections into Jenkins and install tidy

sudo ufw allow 8080 sudo apt install tidy

Created Jenkins pipeline

I created a Jenkinse pipeline. The result of the pipeline: Screenshot 11 - Jenkis pipeline I pushed the created docker image on Docker Hub: Screenshot 10 - DockerHub Repository

Code is checked against a linter as part of a Continuous Integration step (demonstrated w/ two screenshots)

Screenshot 11b - Lint

The project performs the correct steps to do a blue/green or a rolling deployment into the environment selected. Student demonstrates the successful completion of chosen deployment methodology with screenshots.

Screenshot 12b - blue/green

Check Screenshot

Test the website

I took the ip address from the Loadbalancer: Screenshot 12 - Load Balancer I tested the Web App: Screenshot 13 - Test Web App

You can also test the app using this link: http://a190749029db54eea98afcfbeb9c8974-1535868717.us-east-2.elb.amazonaws.com:8000

capstonedevops's People

Contributors

lukamu avatar

Watchers

 avatar  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.