Giter Site home page Giter Site logo

udacity-cloud-devops-engineer-nd-capstone-project's Introduction

udacity-cloud-devops-engineer-nd-capstone-project

CardoEggert

Summary

This project is for the Udacity Cloud Devops Engineer nanodegree course. It is meant to be submission for the capstone project. This project contains a simple spring boot java app. The goal of this project is to show off what was learned during the nanodegree course. I am making use of Dockerfile, CloudFormation script, Kubernetes, and CircleCI.

Files

  • Dockerfile - file used for creating docker image
  • app/ - app related files
  • .circleci/files/configure-k8.yml - cloudformation script for setting up AWS EKS Cluster
  • .circleci/files/k8/ - kubernetes related files for deployment and load balancing
  • .circleci/config.yml - CircleCI configuration

Instructions

For building the docker image

  1. Run gradle bootJar for creating the jar
  2. Run docker build --tag=<name> .
  3. Run docker run -p 8080:8080 <name>

CircleCI

After commiting a new change the following will happen.

  1. Does linting, compiling, and testing.
  2. Builds jar file
  3. Builds docker image with the created jar file
  4. Pushes docker image to AWS ECR
  5. Deploys K8 using CloudFormation
  6. Deploys app to K8 (applies deployment and service yaml files, afterwards updates docker image)
  7. Runs smoke tests (does curl command to newly deployed app)

After applying service.yaml to K8, AWS EKS creates Elastic Load Balancer which can be used to make requests. The same is done inside using smoke tests.

udacity-cloud-devops-engineer-nd-capstone-project's People

Contributors

cardoeggert avatar

Watchers

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