Skip to content

techreturners/lm-lab-eks-gitops-devopsupskill

Repository files navigation

EKS and Terraform

This repository shows examples and guides for using Terraform to provision a EKS (Elastic Kubernetes Service) Cluster on AWS

As well as the instructions below we've also created a suite of FAQ's that are worth reviewing if you experience any interesting challenges.

Instructions

Leading on from session 3, this repository extends the provisioning aspects with pushing docker images to your own container registry and adopting a GitOps workflow using ArgoCD.

Step 1 - Review the differences

The main difference between this repository and the repository you have previously worked with is that we now also provision a container registry.

Specifically, you'll provision your own Elastic Container Registry (ECR)

You can see the new terraform code within the ecr.tf file. This will provision a container registry called "devops-bookstore-api".

Step 2 - Provision your cluster

You have probably destroyed your Kubernetes cluster following the previous session.

Follow through the Provisioning guide to re-provision your Kubernetes cluster.

Step 3 - Build and push your docker image

The next step is to build the docker image locally and push it up to your newly created container registry.

Follow through the Pushing Image Guide for instructions on how to do this.

Step 4 - Deploy and navigate to ArgoCD

Now you can move on to getting the backend API Python app deployed via Argo.

Follow through the Argo setup and configuration steps

Step 5 - Setting up your DevOps workflow in Argo

Great work! If you've got to here you should now be able to see the Argo Dashboard.

All your infrastructure is setup ready to go! Now you can head over to the GitOps repository to setup your workflow.

https://github.com/techreturners/lm-lab-gitops-approach

FAQs

You can find the FAQs here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages