{"id":23257602,"url":"https://github.com/victorgu-github/custom-eks-ssp","last_synced_at":"2026-01-19T13:02:10.398Z","repository":{"id":45020916,"uuid":"493828106","full_name":"victorgu-github/custom-eks-ssp","owner":"victorgu-github","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-14T20:18:37.000Z","size":16893,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T04:43:16.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorgu-github.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-18T21:18:56.000Z","updated_at":"2023-04-05T14:45:01.000Z","dependencies_parsed_at":"2022-08-12T11:40:54.058Z","dependency_job_id":null,"html_url":"https://github.com/victorgu-github/custom-eks-ssp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorgu-github/custom-eks-ssp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorgu-github%2Fcustom-eks-ssp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorgu-github%2Fcustom-eks-ssp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorgu-github%2Fcustom-eks-ssp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorgu-github%2Fcustom-eks-ssp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorgu-github","download_url":"https://codeload.github.com/victorgu-github/custom-eks-ssp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorgu-github%2Fcustom-eks-ssp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28568833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T12:37:52.526Z","updated_at":"2026-01-19T13:02:10.375Z","avatar_url":"https://github.com/victorgu-github.png","language":"HCL","readme":"## This repo shows as a demo for using components in terraform-aws-eks-blueprints to create and config EKS clusters  \n\n\n## prerequisite \n- pull terraform-aws-eks-blueprints repo (from https://github.com/aws-ia/terraform-aws-eks-blueprints) and put it next to this repo \n\n\n## Here is the high level design of the solution. The solution has been split into 3 different Terraform stacks for simplicity.\n1. VPC, \n - Creates a new VPC and 3 Public and Private Subnets\n - VPC Endpoints for various services and S3 VPC Endpoint gateway\n - security groups for ingress and egress, NAT, IGW, dns...\n2. EKS\n - Creates EKS Cluster Control plane with a private/public endpoint \n - Managed node group     https://aws-ia.github.io/terraform-aws-eks-blueprints/node-groups/#managed-node-groups\n - self managed node group\n - fargate_profiles\n - enable AMP for next step\n - create opensearch (VPC mode) in public subnet for next step\n - launch template for karpenter autoscalling (even optional for karpenter)\n - \n2a. EKS with addon\n - create a eks cluster with fargate and managed node group\n - also includes add-ons\n - cannot use with eks folder together since they share the same VPC\n\n3. ADD-ONS\n - EKS adds-on\n - Argo CD \n - AMP (/ at end in workspace url) tf deploys irsa and workspace. argocd deploys promethus chart\n - log with fluent bit  \n       observability/amp-amg-opensearch goes to opensearch (vpc) not work. even work, it is for damonset not built-in. nothing need to deploy for built-in except configmap\n\n       \n       note: fargate built-in fluentbit deploy manually https://docs.aws.amazon.com/eks/latest/userguide/fargate-logging.html  \n       note: fluentbit demaonset and opensearch how to do manually https://www.eksworkshop.com/intermediate/230_logging/\n       note: complete-kubernetes-addons goes to cloudwatch log\n - karpenter with irsa  \n     test karpenter deploy default_provisioner and inflate.yaml  \n     kubectl get deployment inflate  \n     kubectl scale deployment inflate --replicas 1  \n     kubectl describe node --selector=intent=apps  \n\n4. optional. for add-ons not covered, you can get charts and check in your git repo for argocd. You may need to manaully create IRSA. \n\n5. fargate-serverless-VPC is a seperate example which puts VPC, EKS-fargate and addons into the same folder.  \nIt creates a eks cluster with fargate only, opensearch service and irsa for adot. \n\n## terraform instructions\nneed to modify backend.conf and base.tfvars in each subfolder and make sure the variables are matched\n\n    terraform init -backend-config backend.conf -reconfigure\n\n    terraform plan -var-file base.tfvars\n\n    terraform apply -var-file base.tfvars -auto-approve\n\n    terraform destroy -var-file base.tfvars -auto-approve  \n    \n## Deploy the individual stacks from each of the sub folders. i.e.\n    2.1 VPC - Please refer to the [instructions](./vpc/README.md) to deploy a new VPC. \n      output: vpc_id, private_subnets, public_subnets\n\n    2.2 EKS - Please refer to the [instructions](./eks/README.md) to deploy a private EKS cluster\n      refer to VPC status bucket to get vpc and subnets\n      output: cluster_id, configure_kubectl\n\n    2.3 Add-ons - Please refer to the [instructions](./add-ons/README.md) to deploy the add-ons to the private EKS cluster using GitOps.\n      manually add cluster id, region and amp_endpoint\n\n\n## Destroy\n\nTo teardown and remove the resources created in this example:\n\n```sh\nterraform destroy -target=\"module.eks_blueprints_kubernetes_addons\" -var-file base.tfvars -auto-approve\nterraform destroy -target=\"module.eks_blueprints\" -var-file base.tfvars -auto-approve\nterraform destroy -target=\"module.vpc\" -var-file base.tfvars -auto-approve\n```\n\nFinally, destroy any additional resources that are not in the above modules\n\n```sh\nterraform destroy -auto-approve -var-file base.tfvars\n\n# known issues:\n1. affinity settings in some applications can only work on one node group. so better create node group with \u003e3 nodes\n2. the default alb image is too old in blueprints. reset image in argocd repo alb chart value.yaml\n3. fluentbit deploy with argocd error\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorgu-github%2Fcustom-eks-ssp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorgu-github%2Fcustom-eks-ssp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorgu-github%2Fcustom-eks-ssp/lists"}