8000 GitHub - ThomasPortwood/eks-express-react-ts: Terraform infrastructure definition, Docker image definition, GitHub actions, and configuration to run a typescript React app served by Node Express on an AWS Elastic Kubernetes Service cluster
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Terraform infrastructure definition, Docker image definition, GitHub actions, and configuration to run a typescript React app served by Node Express on an AWS Elastic Kubernetes Service cluster

Notifications You must be signed in to change notification settings

ThomasPortwood/eks-express-react-ts

Repository files navigation

This repository is for my own educational purposes.

It contains Terraform infrastructure definition, Docker image definition, GitHub action definition, and configuration to serve a typescript React app with Node Express on AWS Elastic Kubernetes Service.

Terraform Cloud manages infrastructure state.

GitHub Actions builds the Docker image, and GitHub Packages stores it.

Steps:

  1. Get set up on AWS Elastic Kubernetes Service

  2. Set up authorization to access your Docker registry from Kubernetes

    • kubectl create secret docker-registry regcred --namespace= --docker-server= --docker-username= --docker-password=
  3. Create version control repository

  4. Get set up on Terraform Cloud:

    • create account
    • create workspace
    • link the workspace to version control system repository
    • define variables
  5. Push code to the version control repository to trigger a Terraform run which will:

    • create Kubernetes resources
      • namespace
      • node deployment and service
      • ingress

About

Terraform infrastructure definition, Docker image definition, GitHub actions, and configuration to run a typescript React app served by Node Express on an AWS Elastic Kubernetes Service cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
0