{"id":27451000,"url":"https://github.com/metaphor-cloud/aws-wireguard-linux","last_synced_at":"2025-04-15T09:42:06.282Z","repository":{"id":46101784,"uuid":"206964200","full_name":"metaphor-cloud/aws-wireguard-linux","owner":"metaphor-cloud","description":"WireGuard VPN implemented on Amazon Linux 2 with Load Balancing","archived":false,"fork":false,"pushed_at":"2019-12-22T21:47:12.000Z","size":83,"stargazers_count":95,"open_issues_count":0,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T18:54:04.641Z","etag":null,"topics":["amazon-linux-2","aws","aws-networking","nlb","wireguard","wireguard-vpn"],"latest_commit_sha":null,"homepage":null,"language":null,"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/metaphor-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-07T12:20:07.000Z","updated_at":"2025-02-16T07:04:18.000Z","dependencies_parsed_at":"2022-08-13T01:10:09.737Z","dependency_job_id":null,"html_url":"https://github.com/metaphor-cloud/aws-wireguard-linux","commit_stats":null,"previous_names":["metaphor-cloud/aws-wireguard-linux"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaphor-cloud%2Faws-wireguard-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaphor-cloud%2Faws-wireguard-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaphor-cloud%2Faws-wireguard-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaphor-cloud%2Faws-wireguard-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaphor-cloud","download_url":"https://codeload.github.com/metaphor-cloud/aws-wireguard-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249046292,"owners_count":21204029,"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":["amazon-linux-2","aws","aws-networking","nlb","wireguard","wireguard-vpn"],"created_at":"2025-04-15T09:42:05.557Z","updated_at":"2025-04-15T09:42:06.259Z","avatar_url":"https://github.com/metaphor-cloud.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example: WireGuard deployed on AWS with Load Balancing\nThis is an example repo to demonstrate WireGuard VPN deployed on Amazon EC2 with Network Load Balancer, a Route53 Domain and Amazon Linux 2.\nKeys are handled via AWS Parameter Store, encrypted with AWS KMS to prevent the need for reconfiguration when instances are scaled, updated or terminated.\n\n*Disclaimer: provided as an example and some assumptions have been made for network layout.*\n\nReach out on [Reddit](https://www.reddit.com/r/WireGuard/comments/d0vjs6/ive_automated_wireguard_on_aws_with_amazon_linux/) with any queries or tips!\n\n## Setup\n  1. Generate keys for your server and peer with `wg genkey | tee privatekey | wg pubkey \u003e publickey` then save them in encrypted SSM Parameters called `/wireguard/private` and `/wireguard/peerpublic`\n  2. Set Cloudformation parameters in `config/wireguard-${your region}.json` to suit\n  3. Deploy `pipeline.yml` via Cloudformation\n  4. Configure and connect your peer\n\n## Architecture\n![WireGuard on AWS Architecture](img/arch.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaphor-cloud%2Faws-wireguard-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaphor-cloud%2Faws-wireguard-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaphor-cloud%2Faws-wireguard-linux/lists"}