Skip to content

VinhPham26/udacity-aws-cdo-capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Udacity Cloud DevOps Engineer: Project 05 - Capstone

This is final project of Udacity Cloud DevOps Engineer Nanodegree Program. In this project we'll apply the skills and knowledge that I've learn from the nanodegree, including:

  • Working with AWS
  • Using CircleCI to implement CI/CD
  • Building pipelines
  • Building Kubernetes clusters
  • Building Docker containers in pipelines

Github Link

https://github.com/VinhPham26/udacity-aws-cdo-capstone

Application

This is a simple "Hello, World!" site

Extra things done in this project

  • Integrate Slack to send notification describe the result of the jobs
  • Check to see whether the app is successfully running and rolled out

Steps & Screenshots

  1. Creating config file for CircleCI

The pipeline: CircleCI pipeline

Some messages when CircleCI notify to Slack: Slack notify

  1. Deploy our app
  • Setup the EKS cluster: I've used ekscli to setup the cluster automatically through the pipeline create-cluster job

  • EKS

  • Try some Hello, World

Test sending Slack message Test sending Slack message

  • Linting the Dockerfile

Lint failed: Lint failed

Lint succeed: Lint succeed

  • Build and push the image to dockerhub Docker Link to the dockerhub: Link

  • Create and deploy k8s resources

In the k8s.yml file, contains all the resources needed for the project. The LoadBalancer get deployed as service with an external IP, running on port 80.

Deployment result: Deployment result

EC2 nodes: EC2 nodes

  • For post-deployment step, I've using curl to check if the app is up and running at port 80

curl LB DNS

  • Finally, I check if the app successfully rolled out or not

Rollout status 3. Check to see if the app is up and live

Access the app through both the LoadBalancer DNS

POC

How to access to the app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published