Skip to content

UltraViolentLight/deployment_nginx_kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy a nginx webserver to kubernetes

Final Project of the Udacity DevOps Nanodegree Program

Shell, DevOps, AWS, k8s


Table of Contents

Intruduction

Following skillset will be showcased

  • 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

Requirements

  • Jenkins on EC2 with docker installed
  • Jenkins user added to docker gorup
  • AWS and Docker Hub Credentials configured for Jenkins
sudo usermod -a -G docker jenkins
  • AWS subscription in order to deploy to AWS EKS

Example

$ chmod +x scripts/cluster_worker_eksctl.sh 
$ ./scripts/cluster_worker_eksctl.sh

Installation

Clone

  • Clone this repo to your local machine using git clone https://github.com/UltraViolentLight/deployment_nginx_kubernetes

Setup

Setup and configure your own AWS subscription in order to deploy the infrastrcuture yourself.

Setup and configure AWS CLI to run the aws command as shown here.

Setup and configure AWS EKSCTL to run the aws command as shown here.

WebAppUrl

Check the on a k8s cluster runnning webapp yourself here.


Credits

  • All Data was provided by the Udacity Data Analyst Nanodegree Program

About

CI/CD of a containerised Nginx Application to kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published