Skip to content

This repository contains the code for the Platform Engineering Exercise. The exercise is to create a Kubernetes cluster in AWS using Terraform.

License

Notifications You must be signed in to change notification settings

josephgoksu/platform-eng-exercise

Repository files navigation

Platform Engineering Exercise

tfsec

Overview

This repository contains the code for the Platform Engineering Exercise. The exercise is to create a Kubernetes cluster in AWS using Terraform.

Table of Contents

Getting Started

Prerequisites

Architecture

The architecture sequence diagram can be found here.

Components

  • VPC

  • EKS Cluster

    • EKS Addon: EBS CSI Driver | The EBS CSI driver addon is added to the Amazon EKS cluster to allow Kubernetes to use Amazon Elastic Block Store (EBS) volumes as persistent volumes in the cluster.
  • ECR Repository

  • Flux2 with Helm (Optional)

  • nginx with Helm (Optional)

The dependencies can be found here. It has been generated using terraform-docs

Installing

terraform init
terraform apply

Uninstalling

terraform destroy

If you get an error related nodegroups, you can delete the nodegroup and cluster manually.

aws eks list-nodegroups --cluster-name exercise-eks
aws eks delete-nodegroup --cluster-name exercise-eks --nodegroup-name exercise-eks-default-winning-chipmunk
aws eks delete-cluster --name exercise-eks

About

This repository contains the code for the Platform Engineering Exercise. The exercise is to create a Kubernetes cluster in AWS using Terraform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published