JesusPaz / sf-rampup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commands

Packer

    packer build packer/jenkins_image.json

Terraform

    terraform plan -var-file="variables.tfvars"
    terraform apply -var-file="variables.tfvars"
    terraform destroy -var-file="variables.tfvars"

sf-rampup

The idea of this rampup is to learn the basic tools needed to start working in the SF project

Pre-requisit

Exercise 1

  • Create an ansible script using packer capable of creating a Jenkins instance VM
  • Create a terraform deploy capable of deploying Jenkins instance

Exercise 2

  • Create a github repository
  • Upload the test app https://github.com/acalder88/springboot into it
  • Create a jenkins multi-branch pipeline which will be triggered by a webhook
  • Create a Jenkins file which will build the test app, run the tests, package it into a docker image and publish it into a docker repository (ECR recommended)

Exercise 3

  • Create a terraform deploy capable of creating an EKS cluster in aws
  • Install eksclt
  • Complete this tutorial eks/beginner

Exercise 4

  • Add an step to the pipeline created in Exercise 2, which will deploy the docker image into the EKS cluster using helm in high availability
  • Enable the test app to be accesed from the internet

About


Languages

Language:HCL 100.0%