There are three groups of components to remove when we’re done:
To remove the App Mesh components, copy and paste this code into your terminal:
aws appmesh delete-route --mesh-name APP_MESH_DEMO --route-name colorteller-route --virtual-router-name colorteller-vr
aws appmesh delete-route --mesh-name APP_MESH_DEMO --route-name colorgateway-route --virtual-router-name colorgateway-vr
aws appmesh delete-virtual-router --mesh-name APP_MESH_DEMO --virtual-router-name colorteller-vr
aws appmesh delete-virtual-router --mesh-name APP_MESH_DEMO --virtual-router-name colorgateway-vr
aws appmesh delete-virtual-node --mesh-name APP_MESH_DEMO --virtual-node-name colorgateway-vn
aws appmesh delete-virtual-node --mesh-name APP_MESH_DEMO --virtual-node-name colorteller-vn
aws appmesh delete-virtual-node --mesh-name APP_MESH_DEMO --virtual-node-name colorteller-red-vn
aws appmesh delete-virtual-node --mesh-name APP_MESH_DEMO --virtual-node-name colorteller-black-vn
aws appmesh delete-virtual-node --mesh-name APP_MESH_DEMO --virtual-node-name colorteller-blue-vn
aws appmesh delete-mesh --mesh-name APP_MESH_DEMO
To remove the Colorteller App, copy and paste this code into your terminal:
kubectl delete -f https://raw.githubusercontent.com/geremyCohen/colorapp/master/colorapp.yaml
To remove curler, copy and paste this code into your terminal:
kubectl delete deployment.apps/curler