Skip to content

fr3d3rico/devops-capstone

Repository files navigation

CircleCI

Udacity - Devops Capstone Project

This is an capstone project for Udacity Devops course. I choose to create a Jenkins pipeline, because I am already able to deploy using circleci. I already implemented a pipeline at (https://github.com/fr3d3rico/cloud-developer-capstone) repository.

Project

I decided to create an EC2 Ubuntu instance outside the Kubernetes cluster. This instance has installed the following packages and tools:

Candy Link
Docker Docker
Node 13 / 14 Node.js
NPM NPM
Git GIT
AWS cli AWS cli
Kubectl cli kubectl
Jenkins Jenkins
wget sudo apt install wget
gnup sudo apt-get install gnupg
curl + unzip sudo apt-get install curl unzip
Hadlint (ttps://github.com/hadolint/hadolint/releases/download/v2.7.0/hadolint-Linux-x86_64)
Open JDK 11 apt install openjdk-11-jdk

Docker Hadolint Test

The images below show how was the docker file hadolint test.

Hadolint

Hadolint

Hadolint

Hadolint

Hadolint

Hadolint

Hadolint

Hadolint

Hadolint

Successfull deploy!

The images below show a successfull pipeline execution.

  • Pipeline 101 deployed!

Deploy

Deploy

  • Pipeline 102 started and working!

Deploy

Deploy

  • Pipeline 102 deployed and running!

Deploy

  • EC2 Instances

Deploy

Deploy

How to access this app?

Jenkins Jenkins link

This is app is functional using the following url provided by AWS API Gateway:

https://595oh68rv7.execute-api.us-east-1.amazonaws.com

or

https://595oh68rv7.execute-api.us-east-1.amazonaws.com/hello/YOUR_NAME

Jenkins Pipelines

eks-create-cluster (jenkins-create-cluster)

This pipeline creates the cluster and deploy first version of the app. [jenkins-create-cluster]

eks-jenkins-pipeline (jenkins)

This pipeline update the app. [jenkins]

Jenkins Pipeline

Circle CI Pipeline

This project is covered by circleci pipeline to test the app, but it does not deploy. [.circleci/config.yml]

Feel free to send a message!

Fred

About

AWS EKS + AWS CloudFormation + Docker + Jenkins + Node + AWS API Gateway + Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published