├── workshop ├── apps │ ├── catalog_detail │ │ ├── readiness.txt │ │ ├── .dockerignore │ │ ├── package.json │ │ ├── Dockerfile │ │ └── app.js │ ├── sku │ │ ├── helm-chart │ │ │ ├── templates │ │ │ │ ├── NOTES.txt │ │ │ │ ├── namespace.yaml │ │ │ │ ├── service.yaml │ │ │ │ ├── tests │ │ │ │ │ └── test-connection.yaml │ │ │ │ ├── _helpers.tpl │ │ │ │ ├── ingress.yaml │ │ │ │ └── deployment.yaml │ │ │ ├── Chart.yaml │ │ │ ├── .helmignore │ │ │ └── values.yaml │ │ └── app │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── Dockerfile │ │ │ ├── app.js │ │ │ ├── views │ │ │ └── index.ejs │ │ │ └── public │ │ │ └── css │ │ │ └── styles.css │ ├── frontend_node │ │ ├── .dockerignore │ │ ├── public │ │ │ ├── arch.png │ │ │ ├── architecture.png │ │ │ └── css │ │ │ │ └── styles.css │ │ ├── index.html │ │ ├── Dockerfile │ │ ├── package.json │ │ ├── views │ │ │ └── index.ejs │ │ └── server.js │ └── product_catalog │ │ ├── .dockerignore │ │ ├── bootstrap.sh │ │ ├── requirements.txt │ │ ├── Dockerfile │ │ ├── app.py │ │ ├── app_efs.py │ │ ├── app_secrets.py │ │ ├── app_ebs.py │ │ └── app_aurora.py ├── helm-chart │ ├── values-ebs.yaml │ ├── Chart.yaml │ ├── productcatalog_workshop-1.0.0.tgz │ ├── values-efs.yaml │ ├── security │ │ ├── values-psa-pss-priv.yaml │ │ ├── values-psa-pss.yaml │ │ ├── values-psa-pss-baseline.yaml │ │ ├── values-psa-pss-baseline-ns.yaml │ │ ├── values-psa-pss-restricted-ns.yaml │ │ └── values-psa-pss-restricted.yaml │ ├── templates │ │ ├── namespace.yaml │ │ ├── detail_service.yaml │ │ ├── catalog_service.yaml │ │ ├── frontend_service.yaml │ │ ├── tests │ │ │ └── test-connection.yaml │ │ ├── _helpers.tpl │ │ ├── ingress.yaml │ │ ├── NOTES.txt │ │ ├── detail_deployment.yaml │ │ ├── frontend_deployment.yaml │ │ └── catalog_deployment.yaml │ ├── .helmignore │ ├── values-k8s-secret.yaml │ ├── values-secrets-manager.yaml │ ├── values.yaml │ └── values-aurora.yaml ├── images │ ├── lbui.png │ ├── workshopui.png │ ├── addproducts.png │ └── lbfrontend-2.png ├── productcatalog_workshop-1.0.0.tgz ├── script │ └── build.sh ├── efs-pvc.yaml ├── collector-config-opentelemetry.yaml ├── xray-eks.yaml ├── cloudformation │ └── alb_deployment.yaml ├── spinnaker │ ├── spinnakerservice.yml │ └── installspinnaker.sh ├── aws_lbc_iam_policy.json ├── mysql-statefulset.yaml ├── mysql-statefulset-with-secret.yaml ├── cluster-autoscaler.yaml └── otel-collector-config.yaml ├── apps ├── catalog_detail │ ├── .dockerignore │ ├── proddetail-0.1.0.tgz │ ├── package.json │ ├── version2 │ │ └── Dockerfile │ ├── Dockerfile │ ├── app.js │ ├── app2.js │ └── deployment.yaml ├── frontend_node │ ├── .dockerignore │ ├── public │ │ ├── architecture.png │ │ └── css │ │ │ └── styles.css │ ├── index.html │ ├── Dockerfile │ ├── package.json │ ├── server.js │ └── views │ │ └── index.ejs └── product_catalog │ ├── .dockerignore │ ├── bootstrap.sh │ ├── requirements.txt │ ├── Dockerfile │ └── app.py ├── images └── lbfrontend-2.png ├── deployment ├── clusterconfig.yaml ├── mesh.yaml ├── fluentbit-config.yaml ├── envoy-iam-policy.json ├── virtual_gateway.yaml ├── canary.yaml ├── meshed_app.yaml └── base_app.yaml ├── .gitignore ├── LICENSE └── README.md /workshop/apps/catalog_detail/readiness.txt: -------------------------------------------------------------------------------- 1 | ready -------------------------------------------------------------------------------- /workshop/apps/sku/helm-chart/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /apps/catalog_detail/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /apps/frontend_node/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /apps/product_catalog/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /workshop/helm-chart/values-ebs.yaml: -------------------------------------------------------------------------------- 1 | catalog: 2 | image: 3 | tag: "5.3" -------------------------------------------------------------------------------- /workshop/apps/catalog_detail/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /workshop/apps/frontend_node/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /workshop/apps/product_catalog/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /workshop/apps/sku/helm-chart/templates/namespace.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: sku -------------------------------------------------------------------------------- /apps/product_catalog/bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export FLASK_APP=./app.py 3 | export FLASK_DEBUG=1 4 | flask run -h 0.0.0.0 -------------------------------------------------------------------------------- /images/lbfrontend-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/images/lbfrontend-2.png -------------------------------------------------------------------------------- /workshop/images/lbui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/images/lbui.png -------------------------------------------------------------------------------- /workshop/apps/product_catalog/bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export FLASK_APP=./app.py 3 | export FLASK_DEBUG=1 4 | flask run -h 0.0.0.0 -------------------------------------------------------------------------------- /workshop/images/workshopui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/images/workshopui.png -------------------------------------------------------------------------------- /workshop/images/addproducts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/images/addproducts.png -------------------------------------------------------------------------------- /workshop/images/lbfrontend-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/images/lbfrontend-2.png -------------------------------------------------------------------------------- /apps/catalog_detail/proddetail-0.1.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/apps/catalog_detail/proddetail-0.1.0.tgz -------------------------------------------------------------------------------- /apps/frontend_node/public/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/apps/frontend_node/public/architecture.png -------------------------------------------------------------------------------- /workshop/apps/frontend_node/public/arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/apps/frontend_node/public/arch.png -------------------------------------------------------------------------------- /workshop/apps/sku/helm-chart/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: Helm Chart for SKU application 4 | name: sku 5 | version: 1.0.0 6 | -------------------------------------------------------------------------------- /workshop/productcatalog_workshop-1.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/productcatalog_workshop-1.0.0.tgz -------------------------------------------------------------------------------- /workshop/apps/frontend_node/public/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/apps/frontend_node/public/architecture.png -------------------------------------------------------------------------------- /workshop/helm-chart/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: Helm Chart for Product Catalog Workshop 4 | name: productcatalog_workshop 5 | version: 1.0.0 6 | -------------------------------------------------------------------------------- /workshop/helm-chart/productcatalog_workshop-1.0.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-containers/eks-app-mesh-polyglot-demo/HEAD/workshop/helm-chart/productcatalog_workshop-1.0.0.tgz -------------------------------------------------------------------------------- /workshop/helm-chart/values-efs.yaml: -------------------------------------------------------------------------------- 1 | catalog: 2 | volume: 3 | enabled: true 4 | name: "efs-pvc" 5 | path: "/products" 6 | claim: "efs-storage-claim" 7 | 8 | image: 9 | tag: "3.6" -------------------------------------------------------------------------------- /workshop/helm-chart/security/values-psa-pss-priv.yaml: -------------------------------------------------------------------------------- 1 | # Default values for helm-chart. 2 | frontend: 3 | security: 4 | enabled: true 5 | securityContext: 6 | privileged: true 7 | runAsUser: 0 8 | -------------------------------------------------------------------------------- /workshop/helm-chart/security/values-psa-pss.yaml: -------------------------------------------------------------------------------- 1 | # Default values for helm-chart. 2 | frontend: 3 | security: 4 | enabled: true 5 | securityContext: 6 | allowPrivilegeEscalation: false 7 | runAsUser: 1000 8 | -------------------------------------------------------------------------------- /workshop/apps/sku/app/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 || SKU ID | 49 |Name | 50 |
| <%= skus[i].id %> | 56 |<%= skus[i].name %> | 57 |
22 | Product Catalog23 |24 | 29 | 30 | <%if (Object.keys(products).length > 0) { %> 31 |
No Products found in the Product Catalog48 | <% } %> 49 | <%if (Object.keys(products).length > 0) { %> 50 |Catalog Detail51 |52 | 62 | <% } %> 63 | 64 | |
65 |
66 | Architecture67 |
68 | |
69 |
22 | <%if (Object.keys(products).length > 0) { %>
23 | Catalog Detail24 | (From Nodegroup Nodejs backend) 25 |26 | 27 | 37 | 38 | <% } %> 39 |Products40 | <%if (Object.keys(products).length > 0) { %> 41 | (From Fargate Python backend) 42 |43 | <% } %> 44 | 45 | 50 | 51 | <%if (Object.keys(products).length > 0) { %> 52 |
No Products found in the Product Catalog69 | <% } %> 70 | 71 | |
72 |
73 | Architecture74 |
75 | |
76 |