{"id":16958885,"url":"https://github.com/pauliescanlon/edge-locations-serverless-api","last_synced_at":"2025-03-21T14:32:44.837Z","repository":{"id":142670251,"uuid":"609639918","full_name":"PaulieScanlon/edge-locations-serverless-api","owner":"PaulieScanlon","description":"Serverless Framework AWS Multi-Region Lambda","archived":false,"fork":false,"pushed_at":"2023-03-15T08:15:19.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T10:09:22.582Z","etag":null,"topics":["aws","aws-lambda","lambda","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"https://cockroachdb-edge-locations.vercel.app/","language":"JavaScript","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/PaulieScanlon.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":"2023-03-04T19:37:59.000Z","updated_at":"2023-03-14T18:30:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"603f420c-9c03-42b8-889b-ce535a59bb42","html_url":"https://github.com/PaulieScanlon/edge-locations-serverless-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulieScanlon%2Fedge-locations-serverless-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulieScanlon%2Fedge-locations-serverless-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulieScanlon%2Fedge-locations-serverless-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulieScanlon%2Fedge-locations-serverless-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaulieScanlon","download_url":"https://codeload.github.com/PaulieScanlon/edge-locations-serverless-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244815300,"owners_count":20514930,"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","aws-lambda","lambda","serverless","serverless-framework"],"created_at":"2024-10-13T22:43:49.494Z","updated_at":"2025-03-21T14:32:44.811Z","avatar_url":"https://github.com/PaulieScanlon.png","language":"JavaScript","readme":"# Serverless Framework AWS Multi-Region Lambda\n\n## Usage\n\nThis repo is for multi-region AWS Lambda Functions used in the [Edge](https://cockroachdb-edge-locations.vercel.app/) app.\n\n- 🚀 API [https://api.crl-devrel.net/](https://api.crl-devrel.net/)\n- 🚀 APP [https://cockroachdb-edge-locations.vercel.app/](https://cockroachdb-edge-locations.vercel.app/)\n\n### Deployment (Prod)\n\nDeployment for three regions is handled when a push or merge occurs on the `main` branch. This is handled by the a GitHub Action: `./.github/workflows/build-me.yaml`\n\n### Deployment (Dev)\n\nDeploy all three regions in one hit\n\n```\nnpm run deploy\n```\n\n#### Deployment (Local | serverless)\n\nThe default region is `us-east-1`. Using the below deploys to the default region.\n\n```shell\nserverless deploy\n```\n\n#### Deployment (Local | serverless - regions)\n\nTo deploy to additional regions use the below.\n\n```shell\nserverless deploy --region eu-central-1\nserverless deploy --region us-west-1\n\n```\n\n## Infrastructure\n\nEach Lambda is deployed to a region. The region also requires a custom domain and ACM certificate mapping. Each API can then be used by Route 53 which routes traffic by geographical A records in Hosted Zones.\n\n## Tech\n\n- [Serverless Framework](https://www.serverless.com/framework/docs)\n- [Serverless CLI](https://www.serverless.com/framework/docs/getting-started).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauliescanlon%2Fedge-locations-serverless-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauliescanlon%2Fedge-locations-serverless-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauliescanlon%2Fedge-locations-serverless-api/lists"}