{"id":15567252,"url":"https://github.com/iml1111/imeks","last_synced_at":"2025-04-24T00:03:35.006Z","repository":{"id":205952573,"uuid":"715482198","full_name":"iml1111/IMEKS","owner":"iml1111","description":"Boilerplate for Kubernetes Infrastructure As Code in AWS using Terraform","archived":false,"fork":false,"pushed_at":"2023-11-19T12:11:44.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T00:03:29.019Z","etag":null,"topics":["aws","efk","eks","grafana","iac","karpenter","kubernetes","prometheus","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iml1111.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-07T08:29:47.000Z","updated_at":"2024-01-08T02:58:56.000Z","dependencies_parsed_at":"2023-12-15T21:17:49.844Z","dependency_job_id":"18337d85-47b7-427b-a2c3-568bd5504077","html_url":"https://github.com/iml1111/IMEKS","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"e92746425a177909c31549810fab9ee252136a1e"},"previous_names":["iml1111/imeks"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml1111%2FIMEKS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml1111%2FIMEKS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml1111%2FIMEKS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml1111%2FIMEKS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iml1111","download_url":"https://codeload.github.com/iml1111/IMEKS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535098,"owners_count":21446508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","efk","eks","grafana","iac","karpenter","kubernetes","prometheus","terraform"],"created_at":"2024-10-02T17:10:29.729Z","updated_at":"2025-04-24T00:03:34.982Z","avatar_url":"https://github.com/iml1111.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IMEKS\nBoilerplate for Kubernetes Infrastructure As Code in AWS using Terraform (Updated at 2023-11-13)\n\n![image](https://github.com/iml1111/IMEKS/assets/29897277/eb606a12-8a6c-4f6c-881b-e8155c39d283)\n\n# Get Started\nTo build infrastructure, you need the following tools:\n- AWS CLI\n- Terraform CLI\n- kubectl\n```shell\n$ terraform init\n$ terraform plan\n$ terraform apply --auto-approve\n```\n## kubectl CLI\n```shell\n$ aws eks --region \u003cREGION\u003e update-kubeconfig --name \u003cCLUSTER_NAME\u003e\n```\n\n## Grafana Dashboard\nIf you select `ClusterIP` as `service.type`, you can connect through port-forwarding as follows.\n```shell\n$ kubectl port-forward -n grafana deploy/grafana 8081:3000\n```\nIf you select `LoadBalancer`, you will be able to directly access the Endpoint of the LoadBalancer.\n\n# Structure Summary\n- Kubernetes 1.28+ on EKS\n- 2AZ, Public/Private/Intra Subnets\n- 2 Managed Nodegroups(Frontend, Backend)\n- Cluster AutoScaling with Karpenter\n  - AWS Node Termination Handler \n- Ingress Controller with AWS Load Balancer\n- EFK Log Pipeline\n  - Fleunt-bit\n  - AWS Opensearch Service\n  - Opensearch DashBoard (Kibana Alternative)\n- Cluster Montioring\n  - Prometheus\n  - Grafana\n  - K8s Metric Server\n- Cert Manager, Etc.\n\n# Directories\n```\n\u003cIMEKS\u003e\n├── LICENSE\n├── README.md\n├── assets\n│   ├── sample/\n│   └── terraform_backend/\n└── src/\n    └─ helm_values/\n```\n- `src/`: Infrastructrue as code.\n- `assets/sample/`: Sample services to run on the cluster.\n- `assets/terraform_backend`: Backend for managing Terraform State.\n\n## Terraform Modules\n- [IRSAs in EKS 5.30.1](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/v5.30.1/modules/iam-role-for-service-accounts-eks)\n- [eks 19.19.0](https://github.com/terraform-aws-modules/terraform-aws-eks)\n- [kms 2.1.0](https://github.com/terraform-aws-modules/terraform-aws-kms)\n- [karpenter v19.19.0](https://github.com/terraform-aws-modules/terraform-aws-eks/tree/v19.19.0/modules/karpenter)\n- [vpc 5.1.2](https://github.com/terraform-aws-modules/terraform-aws-vpc)\n- [vpc-endpoints 5.1.2](https://github.com/terraform-aws-modules/terraform-aws-vpc/tree/v5.1.2/modules/vpc-endpoints)\n\n## Helm Release\n\n- [aws-load-balancer-controller 1.6.2](https://artifacthub.io/packages/helm/aws/aws-load-balancer-controller)\n- [aws-node-termination-handler 0.21.0](https://artifacthub.io/packages/helm/aws/aws-node-termination-handler)\n- [cert-manager v1.13.2](https://artifacthub.io/packages/helm/cert-manager/cert-manager)\n- [fluent-bit 0.39.1](https://artifacthub.io/packages/helm/fluent/fluent-bit)\n- [prometheus 25.4.0](https://artifacthub.io/packages/helm/prometheus-community/prometheus)\n- [grafana 7.0.3](https://artifacthub.io/packages/helm/grafana/grafana)\n- [karpenter v0.32.1](https://artifacthub.io/packages/helm/karpenter/karpenter)\n- [metrics-server 3.11.0](https://artifacthub.io/packages/helm/metrics-server/metrics-server)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiml1111%2Fimeks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiml1111%2Fimeks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiml1111%2Fimeks/lists"}