A tutorial on using EKS with fargate on the AWS Cloud
CC0-1.0 License
A tutorial on using EKS, ECS with fargate, or AWS App Ruuner on the AWS Cloud
make all
python app.py
curl localhost:8080/change/1/34
docker run -p 8080:8080 changemachine
kubectl
and eksctl
. You can follow instructions here.eksctl create cluster --name FargateExploration --region us-east-2 --fargate
(Takes a few minutes)You will see output similar to this
2021-02-17 17:52:07 [ℹ] waiting for CloudFormation stack "eksctl-FargateExploration-cluster"
2021-02-17 17:52:28 [ℹ] creating Fargate profile "fp-default" on EKS cluster "FargateExploration"
Verify the cluster: aws eks describe-cluster --name FargateExploration --query cluster.resourcesVpcConfig.clusterSecurityGroupId
(or leave off the query and get entire description)
Create ECR Repo:
This repository can easily be converted to an AWS Runner Method in Wizard to the following:
pip install -r requirements.txt
python app.py
8080