Skip to content

timurbabs/grid-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone project

TODO list:

  • Promotion job
  • Docker proxy
  • Job to generate other jobs
  • Multibranch pipeline
  • Bring the project structure and code to beauty using Ansible best practices

Improvement list:

  • ApacheBench(JMeter) - load test functional behavior and measure performance
  • Terraform - AWS infrastructure as code
  • Molecule - write tests, must have skill and tool
  • Kubernetes - deploy using it, not Docker
  • Prometheus - monitoring and alerting, must have skill and tool

PetClinic

Installation

Requires Terraform v0.12+, Ansible v2.11+ to run.

Clonning repository

git clone https://github.com/timurbabs/grid-project.git
cd grid-project

Generate AWS key in your AWS account. Download your Access and Secret keys to grid-project/creds.csv

Change owner of AWS property in grid-project/vars.tf

variable "owner" {
  type    = string
  default = "YOUR_NAME_HERE"
}

Run terraform

terraform init
terraform plan
terraform apply

Run Ansible Playbook

Default Ansible Vault password: "25447"

 ansible-playbook playbook.yml --ask-vault-pass

Connect to Nexus

At first: add certificate ~/Documents/NexusSSL.pem to truststore. Use Nexus public DNS name from inventory.yml and port 8443 to access Nexus.

Connect to Jenkins

At first: add certificate ~/Documents/JenkinsSSL.pem to truststore. Use Jenins public DNS name from inventory.yml and port 8443 to access Jenkins.

Connect to Petclinic

Use DevProd public ip address from inventory.yml and port 8080 to access PetClinic.

About

Grid Dynamics Intern Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published