{"id":26677293,"url":"https://github.com/rbilleci/aws-endpoint-service-efs","last_synced_at":"2026-05-17T04:32:43.939Z","repository":{"id":255655252,"uuid":"418868419","full_name":"rbilleci/aws-endpoint-service-efs","owner":"rbilleci","description":"This AWS CloudFormation shows how to make EFS accessible to another account using VPC Endpoint Services.","archived":false,"fork":false,"pushed_at":"2021-10-25T06:26:00.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-06T15:27:08.952Z","etag":null,"topics":["aws","cloudformation","efs","privatelink","vpc-endpoint","vpc-endpoints"],"latest_commit_sha":null,"homepage":"","language":null,"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/rbilleci.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-19T10:06:01.000Z","updated_at":"2021-10-25T06:26:03.000Z","dependencies_parsed_at":"2024-09-06T15:27:11.707Z","dependency_job_id":"7de41418-c35d-49b0-bc6d-e805f3f44531","html_url":"https://github.com/rbilleci/aws-endpoint-service-efs","commit_stats":null,"previous_names":["rbilleci/aws-endpoint-service-efs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbilleci%2Faws-endpoint-service-efs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbilleci%2Faws-endpoint-service-efs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbilleci%2Faws-endpoint-service-efs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbilleci%2Faws-endpoint-service-efs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbilleci","download_url":"https://codeload.github.com/rbilleci/aws-endpoint-service-efs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245586057,"owners_count":20639719,"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","cloudformation","efs","privatelink","vpc-endpoint","vpc-endpoints"],"created_at":"2025-03-26T04:19:39.705Z","updated_at":"2025-09-17T16:30:35.506Z","avatar_url":"https://github.com/rbilleci.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS VPC Endpoint Service for EFS\n\n`NOTICE: This project is an example and not intended for production deployments.`\n\nThis AWS CloudFormation shows how to make EFS accessible to another account using VPC Endpoint Services.\n\n![EFS Example](diagram.png)\n\n\n### Instructions\n\n1. The template should be deployed in the AWS account managing the EFS volume. You will need to provide the following \n   as inputs:\n   - Account Number for the AWS account that will use the EFS volume.\n   - VPC ID where the EFS volume will be deployed to\n   - VPC Subnets for the EFS mount targets.\n   - VPC CIDR Range, used to restrict access to the EFS volume\n2. When the template is deployed, the AWS CloudFormation Outputs shows the `service name` of the VPC Endpoint Service. \n  Provide this service name to the consumer account. \n3. In the consumer account, create a new VPC Endpoint, using the `service name`.\n   Specify a Security Group that allows ingress to port 2049.\n   The consumer must wait for acceptance.\n4. In the service account, accept the connection request. It may take a few minutes for the consumer to see\n   the acceptance.\n5. In the consumer account, the VPC Endpoint connection is now established.\n   The VPC Endpoint will have a DNS name that clients can use to mount the volume.\n   You need to use a mount command like:\n   \n   `sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport VPC_ENDPOINT_DNS_NAME:/ efs`\n\n   Make sure to replace `VPC_ENDPOINT_DNS_NAME`\n\n### Optimizations\n\n- **Availability** - this example demonstrates deployment of EFS and the NLB to two Availability Zones. \nFor production, you may want to deploy to three or more Availability Zones.\n- **EFS Performance** - the EFS volume is configured to use the default settings. You may need to adjust the throughput and mode of the volume\nfor your use case.\n- **Network Load Balancer / Cross Zone Load Balancing** - you may want to review this setting and adapt.\n- **Network Load Balancer / Sticky Sessions** - you may want/need to enable sticky sessions based on source ip address.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbilleci%2Faws-endpoint-service-efs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbilleci%2Faws-endpoint-service-efs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbilleci%2Faws-endpoint-service-efs/lists"}