Project instructions: https://1drv.ms/x/s!AjmFbdbExp7UhZx-dwOrL14mD8sOgw?e=rCoZKk
terraform init terraform apply -auto-approve
cd webapp-terraform
aws eks --region
# 1. edit .env
AWS_ACCESS_KEY_ID= < your AWS access key id > AWS_SECRET_ACCESS_KEY= < your AWS secret key > AWS_REGION=ap- < your AWS region >
# 2. build your image
- cd ~/webapp-helm-terraform/webapp-python
- docker build -t < dockerhub_user/webapp > .
- docker push < dockerhub_user/webapp >
# 1. Create "webapp" namespace
-> kubectl create namespace webapp # 2. modifiy value.yaml -> repository: to your repo on docker hub -> tag: your tag image # 2. Install helm chart
- cd ~/webapp-helm-terraform
- helm install webapp ./webapp-helm