{"id":17645394,"url":"https://github.com/harshsinghvi/golang-postgres-kubernetes","last_synced_at":"2026-04-11T12:06:11.202Z","repository":{"id":205587303,"uuid":"714600964","full_name":"harshsinghvi/golang-postgres-kubernetes","owner":"harshsinghvi","description":"Autoscaling golang api with EKS and AWS fargate","archived":false,"fork":false,"pushed_at":"2024-03-13T23:12:49.000Z","size":146,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T09:18:31.670Z","etag":null,"topics":["api","auto-scale","aws","docker","eks","gin","golang","kubernetes","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/harshsinghvi.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}},"created_at":"2023-11-05T11:02:39.000Z","updated_at":"2024-08-09T18:06:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"96efe87e-6d81-45e3-893b-8d1996f5bcc6","html_url":"https://github.com/harshsinghvi/golang-postgres-kubernetes","commit_stats":null,"previous_names":["harshsinghvi/golang-postgres-kubernetes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghvi%2Fgolang-postgres-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghvi%2Fgolang-postgres-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghvi%2Fgolang-postgres-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghvi%2Fgolang-postgres-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshsinghvi","download_url":"https://codeload.github.com/harshsinghvi/golang-postgres-kubernetes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285818,"owners_count":20752957,"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":["api","auto-scale","aws","docker","eks","gin","golang","kubernetes","postgresql"],"created_at":"2024-10-23T10:56:04.172Z","updated_at":"2026-04-11T12:06:11.156Z","avatar_url":"https://github.com/harshsinghvi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang-postgres-kubernetes\n\n\u003e Autoscaling golang api with EKS and AWS fargate\n\n## Technologies used\n\n- AWS EKS - Kubernetes\n- AWS fargate - Node Provisioning\n- AWS EFS - PVC for database in kubernetes cluster\n- ELB for Ingress\n- GoLang - Gin API\n- Database - Postgress\n- repo and container registry - github and GHCR\n- API Testing Tools - Apache Benchmark, Postman\n\n## API Features\n\n\u003e postman public collection \u003chttps://documenter.getpostman.com/view/12907432/2s9Ye8hw1H\u003e WIP: Documentation\n\n- Todo Api (Multi User)\n- Api Billing (as per api hits and responses excluding status code 5xx )\n- soft delete\n- api authentication\n    1. roles based auth\n    1. user based auth\n    1. inter user access restricted\n\n## K8S Setup procedure\n\n1. eksctl faragete cluster `eksctl create cluster --name cluster --region ap-south-1 --fargate`\n1. cluster ALB ingress \u003chttps://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html\u003e\n1. setup matrics server (for HPA) from YML `k8s-eks-system/matrics-server.yaml`\n1. sertup efs (elastic file storage) \u003chttps://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/docs/efs-create-filesystem.md\u003e get file_system_id and replace volumeHandle: fs-1234567899 in `k8s-deployments/database.yml`\n1. ghcr secrets for image \u003chttps://dev.to/asizikov/using-github-container-registry-with-kubernetes-38fb\u003e replace required fields in secrets.yml\n1. deploy application and database (yml files) yml files includes HPA - `k8s-deployments`\n1. generate load using `k8s-eks-system/loadgenerator.yml` file\n\n## TODOS\n\n- ~~ Golang API ~~\n- ~~ Deploy go API to Kubernetes ~~\n- ~~ test autoscaling using Apache benchmark and postman ~~\n- ~~ setup CI/CD pipeline ~~\n- ~~ Connect external postgress to it ~~\n- ~~ deploy postgress to Kubernetes ~~\n- ~~ autoscale postgress deployment ~~\n- ~~ API Auth and Access Logs ~~\n- ~~access token roles~~\n- ~~API Billing~~\n- scale down to zero (Coldstart)\n- API analytics\n- api rate limiting and security\n\n## practice\n\n- postgressql - indexing, explain querry\n- GoLang - APIs, concurrency\n- Kubernetes EKS - Autoscaling, load balencing,\n- API LoadTesting - Apache Benchmark\n\n## resources\n\n- \u003chttps://go.dev/doc/tutorial/web-service-gin\u003e\n- \u003chttps://dev.to/ramu_mangalarapu/building-rest-apis-in-golang-go-gin-with-persistence-database-postgres-4616\u003e\n- \u003chttps://www.coding-bootcamps.com/blog/build-containerized-applications-with-golang-on-kubernetes.html\u003e\n- \u003chttps://docs.aws.amazon.com/eks/latest/userguide/horizontal-pod-autoscaler.html\u003e\n- \u003chttps://stackgres.io/features/\u003e\n- \u003chttps://dev.to/asizikov/using-github-container-registry-with-kubernetes-38fb\u003e ghcr.io kubernetes\n\n- \u003chttps://aws.amazon.com/blogs/containers/using-alb-ingress-controller-with-amazon-eks-on-fargate/\u003e fargarte exose services\n- \u003chttps://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html\u003e alb imp\n- \u003chttps://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html\u003e eks ingress imp\n- \u003chttps://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/\u003e HPA\n\n- \u003chttps://artifacthub.io/packages/helm/metrics-server/metrics-server\u003e install Matrics server\n- \u003chttps://docs.aws.amazon.com/eks/latest/userguide/metrics-server.html\u003e matrics server\n- \u003chttps://levelup.gitconnected.com/how-to-deploy-a-multi-container-two-tier-go-application-in-eks-fargate-6266494f5bcf\u003e go and postgres eks\n\n- golang postgres api \u003chttps://medium.com/@cavdy/creating-restful-api-using-golang-and-postgres-part-2-542aac86e2bd\u003e \u003chttps://medium.com/@cavdy/creating-restful-api-using-golang-and-postgres-part-1-58fe83c6f1ee\u003e\n\n- \u003chttps://github.com/slackapi/slack-github-action\u003e slack webhook gh actions\n- \u003chttps://sosedoff.com/2014/12/21/gin-middleware.html\u003e go middleware\n\n## AUTOSCALE LOGS HPA\n\n`kubectl get hpa --watch`\n\n```text\nNAME              REFERENCE                TARGETS   MINPODS   MAXPODS   REPLICAS   AGE\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        2          19m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        1          19m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        1          19m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        1          20m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        1          20m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        1          20m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        1          21m\ngo-todo-api-hpa   Deployment/go-todo-api   26%/30%   1         10        1          22m\ngo-todo-api-hpa   Deployment/go-todo-api   26%/30%   1         10        1          22m\ngo-todo-api-hpa   Deployment/go-todo-api   27%/30%   1         10        1          22m\ngo-todo-api-hpa   Deployment/go-todo-api   25%/30%   1         10        1          22m\ngo-todo-api-hpa   Deployment/go-todo-api   26%/30%   1         10        1          23m\ngo-todo-api-hpa   Deployment/go-todo-api   26%/30%   1         10        1          23m\ngo-todo-api-hpa   Deployment/go-todo-api   27%/30%   1         10        1          23m\ngo-todo-api-hpa   Deployment/go-todo-api   26%/30%   1         10        1          23m\ngo-todo-api-hpa   Deployment/go-todo-api   36%/30%   1         10        1          24m\ngo-todo-api-hpa   Deployment/go-todo-api   37%/30%   1         10        2          24m\ngo-todo-api-hpa   Deployment/go-todo-api   38%/30%   1         10        2          24m\ngo-todo-api-hpa   Deployment/go-todo-api   38%/30%   1         10        2          24m\ngo-todo-api-hpa   Deployment/go-todo-api   37%/30%   1         10        2          25m\ngo-todo-api-hpa   Deployment/go-todo-api   29%/30%   1         10        2          25m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        2          25m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          26m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          26m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          27m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          28m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          28m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          28m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        2          29m\ngo-todo-api-hpa   Deployment/go-todo-api   67%/30%   1         10        2          29m\ngo-todo-api-hpa   Deployment/go-todo-api   73%/30%   1         10        4          29m\ngo-todo-api-hpa   Deployment/go-todo-api   75%/30%   1         10        5          29m\ngo-todo-api-hpa   Deployment/go-todo-api   74%/30%   1         10        5          30m\ngo-todo-api-hpa   Deployment/go-todo-api   73%/30%   1         10        5          30m\ngo-todo-api-hpa   Deployment/go-todo-api   72%/30%   1         10        5          30m\ngo-todo-api-hpa   Deployment/go-todo-api   23%/30%   1         10        5          30m\ngo-todo-api-hpa   Deployment/go-todo-api   8%/30%    1         10        5          31m\ngo-todo-api-hpa   Deployment/go-todo-api   6%/30%    1         10        5          31m\ngo-todo-api-hpa   Deployment/go-todo-api   3%/30%    1         10        5          31m\ngo-todo-api-hpa   Deployment/go-todo-api   3%/30%    1         10        5          31m\ngo-todo-api-hpa   Deployment/go-todo-api   3%/30%    1         10        5          32m\ngo-todo-api-hpa   Deployment/go-todo-api   28%/30%   1         10        5          32m\ngo-todo-api-hpa   Deployment/go-todo-api   40%/30%   1         10        5          32m\ngo-todo-api-hpa   Deployment/go-todo-api   40%/30%   1         10        7          32m\ngo-todo-api-hpa   Deployment/go-todo-api   39%/30%   1         10        7          33m\ngo-todo-api-hpa   Deployment/go-todo-api   43%/30%   1         10        7          33m\ngo-todo-api-hpa   Deployment/go-todo-api   36%/30%   1         10        7          33m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        7          33m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        7          34m\ngo-todo-api-hpa   Deployment/go-todo-api   13%/30%   1         10        7          34m\ngo-todo-api-hpa   Deployment/go-todo-api   7%/30%    1         10        7          34m\ngo-todo-api-hpa   Deployment/go-todo-api   6%/30%    1         10        7          34m\ngo-todo-api-hpa   Deployment/go-todo-api   7%/30%    1         10        7          35m\ngo-todo-api-hpa   Deployment/go-todo-api   19%/30%   1         10        7          35m\ngo-todo-api-hpa   Deployment/go-todo-api   32%/30%   1         10        7          35m\ngo-todo-api-hpa   Deployment/go-todo-api   33%/30%   1         10        7          36m\ngo-todo-api-hpa   Deployment/go-todo-api   42%/30%   1         10        7          36m\ngo-todo-api-hpa   Deployment/go-todo-api   38%/30%   1         10        7          36m\ngo-todo-api-hpa   Deployment/go-todo-api   24%/30%   1         10        7          36m\ngo-todo-api-hpa   Deployment/go-todo-api   17%/30%   1         10        7          37m\ngo-todo-api-hpa   Deployment/go-todo-api   16%/30%   1         10        7          37m\ngo-todo-api-hpa   Deployment/go-todo-api   9%/30%    1         10        7          37m\ngo-todo-api-hpa   Deployment/go-todo-api   9%/30%    1         10        7          37m\ngo-todo-api-hpa   Deployment/go-todo-api   10%/30%   1         10        7          38m\ngo-todo-api-hpa   Deployment/go-todo-api   19%/30%   1         10        7          38m\ngo-todo-api-hpa   Deployment/go-todo-api   24%/30%   1         10        7          38m\ngo-todo-api-hpa   Deployment/go-todo-api   31%/30%   1         10        7          39m\ngo-todo-api-hpa   Deployment/go-todo-api   44%/30%   1         10        7          39m\ngo-todo-api-hpa   Deployment/go-todo-api   45%/30%   1         10        7          39m\ngo-todo-api-hpa   Deployment/go-todo-api   34%/30%   1         10        7          39m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        7          40m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        7          40m\ngo-todo-api-hpa   Deployment/go-todo-api   13%/30%   1         10        7          40m\ngo-todo-api-hpa   Deployment/go-todo-api   30%/30%   1         10        7          41m\ngo-todo-api-hpa   Deployment/go-todo-api   40%/30%   1         10        7          41m\ngo-todo-api-hpa   Deployment/go-todo-api   38%/30%   1         10        7          41m\ngo-todo-api-hpa   Deployment/go-todo-api   36%/30%   1         10        7          42m\ngo-todo-api-hpa   Deployment/go-todo-api   32%/30%   1         10        7          42m\ngo-todo-api-hpa   Deployment/go-todo-api   31%/30%   1         10        7          42m\ngo-todo-api-hpa   Deployment/go-todo-api   29%/30%   1         10        7          43m\ngo-todo-api-hpa   Deployment/go-todo-api   25%/30%   1         10        7          43m\ngo-todo-api-hpa   Deployment/go-todo-api   20%/30%   1         10        7          44m\ngo-todo-api-hpa   Deployment/go-todo-api   19%/30%   1         10        7          44m\ngo-todo-api-hpa   Deployment/go-todo-api   19%/30%   1         10        7          44m\ngo-todo-api-hpa   Deployment/go-todo-api   21%/30%   1         10        7          44m\ngo-todo-api-hpa   Deployment/go-todo-api   19%/30%   1         10        7          45m\ngo-todo-api-hpa   Deployment/go-todo-api   16%/30%   1         10        7          45m\ngo-todo-api-hpa   Deployment/go-todo-api   16%/30%   1         10        7          45m\ngo-todo-api-hpa   Deployment/go-todo-api   17%/30%   1         10        7          45m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        7          46m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        7          46m\ngo-todo-api-hpa   Deployment/go-todo-api   18%/30%   1         10        7          46m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        7          46m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        7          47m\ngo-todo-api-hpa   Deployment/go-todo-api   18%/30%   1         10        7          47m\ngo-todo-api-hpa   Deployment/go-todo-api   14%/30%   1         10        7          47m\ngo-todo-api-hpa   Deployment/go-todo-api   13%/30%   1         10        7          47m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        7          48m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        7          48m\ngo-todo-api-hpa   Deployment/go-todo-api   13%/30%   1         10        7          48m\ngo-todo-api-hpa   Deployment/go-todo-api   13%/30%   1         10        5          48m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        4          49m\ngo-todo-api-hpa   Deployment/go-todo-api   16%/30%   1         10        4          49m\ngo-todo-api-hpa   Deployment/go-todo-api   15%/30%   1         10        4          49m\ngo-todo-api-hpa   Deployment/go-todo-api   18%/30%   1         10        4          49m\ngo-todo-api-hpa   Deployment/go-todo-api   18%/30%   1         10        4          50m\ngo-todo-api-hpa   Deployment/go-todo-api   18%/30%   1         10        3          50m\ngo-todo-api-hpa   Deployment/go-todo-api   20%/30%   1         10        3          50m\ngo-todo-api-hpa   Deployment/go-todo-api   24%/30%   1         10        3          50m\ngo-todo-api-hpa   Deployment/go-todo-api   24%/30%   1         10        3          51m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        3          51m\ngo-todo-api-hpa   Deployment/go-todo-api   23%/30%   1         10        3          52m\ngo-todo-api-hpa   Deployment/go-todo-api   22%/30%   1         10        3          52m\ngo-todo-api-hpa   Deployment/go-todo-api   23%/30%   1         10        3          52m\ngo-todo-api-hpa   Deployment/go-todo-api   20%/30%   1         10        3          52m\ngo-todo-api-hpa   Deployment/go-todo-api   8%/30%    1         10        3          53m\ngo-todo-api-hpa   Deployment/go-todo-api   0%/30%    1         10        3          53m\n```\n\n## Commands\n\n```bash\nkubectl rollout restart deployment/name # to update image\nkubectl get ingress # ingress exposed url\nkubectl port-forward statefulset.apps/postgres 5432:5432\nkubectl exec --stdin --tty pod/postgres-0 -- /bin/bash\nkubectl logs -f pod/go-todo-api-5587558c9b-zhb75 -c check-db-ready\n\npsql -h localhost -p 5432 -d postgres -U postgres\n\naws eks update-kubeconfig --region ap-south-1 --name cluster\n```\n\n## GHCR image build and push\n\n`https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry`\n\n```bash\ndocker buildx build --platform=linux/amd64 -t golang-postgres-kubernetes .\ndocker tag golang-postgres-kubernetes ghcr.io/harshsinghvi/golang-postgres-kubernetes:latest\ndocker push ghcr.io/harshsinghvi/golang-postgres-kubernetes:latest\n```\n\n## ELB and ingress SETUP\n\n```bash\nACCOUNT_ID= # aws sts get-caller-identity\nAWS_EKS_CLUSTER_NAME=cluster\nAWS_EKS_CLUSTER_REGION=ap-south-1\n\nAWS_EKS_CLUSTER_VPC_ID=$(aws eks describe-cluster \\\n    --name $AWS_EKS_CLUSTER_NAME \\\n    --query \"cluster.resourcesVpcConfig.vpcId\" \\\n    --output text)\n\n# AWS_EKS_CLUSTER_VPC_ID= # console\u003ecloudformations\n\ncurl -O https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.5.4/docs/install/iam_policy.json\n\naws iam create-policy \\\n    --policy-name AWSLoadBalancerControllerIAMPolicy \\\n    --policy-document file://iam_policy.json\n\neksctl utils associate-iam-oidc-provider --region=ap-south-1 --cluster=cluster --approve\n\neksctl create iamserviceaccount \\\n  --cluster=cluster \\\n  --namespace=kube-system \\\n  --name=aws-load-balancer-controller \\\n  --role-name AmazonEKSLoadBalancerControllerRole \\\n  --attach-policy-arn=arn:aws:iam::194505915562:policy/AWSLoadBalancerControllerIAMPolicy \\\n  --approve\n\nhelm repo add eks https://aws.github.io/eks-charts\n\naws sts get-caller-identity\n\nhelm install aws-load-balancer-controller eks/aws-load-balancer-controller \\\n  -n kube-system \\\n  --set clusterName=cluster \\\n  --set serviceAccount.create=false \\\n  --set serviceAccount.name=aws-load-balancer-controller \\\n  --set region=ap-south-1 \\\n  --set vpcId=vpc-07ae5f71518dd2545\n  \nkubectl get deployment -n kube-system aws-load-balancer-controller \n\n                    # during upgrade \n                    kubectl apply -k \"github.com/aws/eks-charts/stable/aws-load-balancer-controller/crds?ref=master\"\n\n                    helm upgrade aws-load-balancer-controller eks/aws-load-balancer-controller \\\n                    -n kube-system \\\n                    --set clusterName=cluster \\\n                    --set serviceAccount.create=false \\\n                    --set serviceAccount.name=aws-load-balancer-controller \\\n                    --set region=ap-south-1 \\\n                    --set vpcId=vpc-07ae5f71518dd2545\n```\n\n## EFS Setup\n\n```bash\nAWS_EKS_CLUSTER_NAME=cluster\nAWS_EKS_CLUSTER_REGION=ap-south-1\n\nvpc_id=$(aws eks describe-cluster \\\n    --name $AWS_EKS_CLUSTER_NAME \\\n    --query \"cluster.resourcesVpcConfig.vpcId\" \\\n    --output text)\n\ncidr_range=$(aws ec2 describe-vpcs \\\n    --vpc-ids $vpc_id \\\n    --query \"Vpcs[].CidrBlock\" \\\n    --output text \\\n    --region $AWS_EKS_CLUSTER_REGION)\n\nsecurity_group_id=$(aws ec2 create-security-group \\\n    --group-name MyEfsSecurityGroup \\\n    --description \"My EFS security group\" \\\n    --vpc-id $vpc_id \\\n    --output text)\n\naws ec2 authorize-security-group-ingress \\\n    --group-id $security_group_id \\\n    --protocol tcp \\\n    --port 2049 \\\n    --cidr $cidr_range\n\nfile_system_id=$(aws efs create-file-system \\\n    --region ap-south-1 \\\n    --performance-mode generalPurpose \\\n    --query 'FileSystemId' \\\n    --output text)\n\naws ec2 describe-subnets \\\n    --filters \"Name=vpc-id,Values=$vpc_id\" \\\n    --query 'Subnets[*].{SubnetId: SubnetId,AvailabilityZone: AvailabilityZone,CidrBlock: CidrBlock}' \\\n    --output table\n\n# run for each subnet\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-09555c7ce2147f642  \\\n    --security-groups $security_group_id\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-019b6e706b2823a7b  \\\n    --security-groups $security_group_id\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-0324d7a94eb3afd09  \\\n    --security-groups $security_group_id\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-04d07f3812cf78123  \\\n    --security-groups $security_group_id\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-0ee5c658df8ef377c  \\\n    --security-groups $security_group_id\naws efs create-mount-target \\\n    --file-system-id $file_system_id \\\n    --subnet-id subnet-0360ff2918bf5fceb  \\\n    --security-groups $security_group_id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshsinghvi%2Fgolang-postgres-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshsinghvi%2Fgolang-postgres-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshsinghvi%2Fgolang-postgres-kubernetes/lists"}