This repository includes sample app and appmesh config for the aws meetup demo
Pre-requisites
- EKS Cluster
- Latest AWS CLI
- Create the service mesh and its components for all the microservices
cd appmesh-config
./create-mesh.sh
- Deploy Services in Kubernetes Cluster
cd ../k8s-deploy
./deploy_v1.sh
- Deploy Curler to check the output of services
kubectl run -it curler --image=tutum/curl --env="SERVICES_DOMAIN=default.svc.cluster.local" bash
somercurleridbash# watch curl -s http://order.default.svc.cluster.local:5000
This should show the output of all the three services. (Keep it running in different terminal)
- Deploy services of v1.5 in EKS cluster
./deploy_v15.sh
- Deploy appmesh config for canary
cd ../appmesh-config
./deploy-canary-v15.sh
Here you will see the change in output of CustomerSVC
- Deploy services of v2 in EKS cluster
cd ../k8s-deploy
./deploy_v2.sh
- Deploy appmesh config for canary
cd ../appmesh-config
./deploy-canary-v2.sh
- Cleaning up appmesh
cd appmesh-config
./delete-mesh.sh
- Delete K8s Deploys
cd k8s-app
./remove_deploys.sh