[Lambda Web Functions] Mutable region set on an endpoint, plus per-region health-based routing
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 6/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- aws
- 领域
- cloud
调研方向
This is a feature request in a roadmap tracker, not a code change: the payload names no files, tests or entry points in the repository. Read the two comments and the 👍 vote count to see whether the request is already prioritised, then read the AWS CLI reference for aws lambda-web update-web-function-endpoint to confirm which flags exist. There is no patch to make here, so a newcomer's useful contribution is a concrete use case or a clarified scope, and done means the request is narrowed to one testable capability.
由索引模型根据 Issue 内容生成。
描述
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
Two related capabilities for Lambda Web Functions MultiRegion endpoints:
- The ability to change which regions are active on an existing endpoint — add or remove a region — via the CLI (
aws lambda-web update-web-function-endpoint) and the Console, without recreating the endpoint and without changing its hostname. - Optionally, the ability to attach a health check to each region so routing can fail traffic away from an unhealthy region.
Which service(s) is this request for?
AWS Lambda — Web Functions (aws lambda-web).
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Today an endpoint's region set and its type (HomeRegion vs MultiRegion) are immutable at creation. aws lambda-web update-web-function-endpoint exposes only --description, --auth-type, --auto-deployment-mode, --revision-weights, --scaling-config, and --throttle-config — there is no way to add or remove a region. Passing --regions against an existing endpoint errors with "settings can't be changed for endpoint <name>". The only path to a different region set is to create a brand-new endpoint, which mints a new *.lambda-web.global.on.aws hostname.
That hostname change is the expensive part, and it is made worse by the same TLS limitation that Lambda Function URLs have: the endpoint terminates TLS with an AWS-managed certificate for its own *.on.aws name, so you cannot point a custom-domain CNAME directly at the endpoint — the SNI/certificate won't match your domain. In practice every production deployment must front the endpoint with CloudFront (or another proxy) to terminate TLS for the real domain and originate to the *.on.aws hostname. So "just repoint DNS" is not available: changing the region set means editing the CloudFront origin domain, which is a distribution change (add the new origin, repoint cache behaviors, wait for the distribution to deploy, then remove the old origin), not a DNS swap. A routine operational change — expanding to or contracting from a region — becomes a disruptive, multi-step migration touching the distribution that serves live traffic.
Separately, MultiRegion endpoints route by latency but do not perform health-based failover. A broken revision or an unhealthy regional dependency in the lowest-latency region keeps receiving production traffic, because membership and routing carry no health signal. This means a MultiRegion endpoint is not a substitute for an operator-controlled failover design (Route 53 / Application Recovery Controller + per-region endpoints), and teams that want resilience are pushed back to building their own control plane in front of PerRegion endpoints.
The combined impact: adopting Web Functions for multi-region workloads currently means either accepting a disruptive endpoint-recreation-plus-CloudFront-origin-migration to adjust regions, or forgoing the native MultiRegion endpoint entirely and layering CloudFront/Route 53 on top of PerRegion endpoints to get both mutable regions and health-based failover.
Are you currently working around this issue?
- To change regions: creating a new endpoint with the desired region set, pinning the revision with
--revision-weights, then adding the new*.on.awshostname as a CloudFront origin, repointing cache behaviors, waiting for the distribution to deploy, and finally deleting the old endpoint. (A direct custom-domain CNAME to the endpoint is not possible because of AWS-managed TLS termination on the*.on.awsname, same as Function URLs.) - For health-based failover: using PerRegion endpoints behind customer-managed Route 53 / CloudFront instead of a native MultiRegion endpoint.
Additional context
Ideal end state:
update-web-function-endpoint(and the Console) accept region add/remove on an existing MultiRegion endpoint, keeping the endpoint ARN and hostname stable so no CloudFront origin change is required.- An optional per-region health check (HTTP path or similar) whose status influences routing, so an unhealthy region is drained automatically — closing the gap with Route 53 / ARC-style failover.
- (Nice-to-have, and the root of the migration pain) native custom-domain support on a Web Functions endpoint — ACM cert + custom domain name — so a custom CNAME can resolve directly to the endpoint without a mandatory CloudFront layer, as has long been requested for Function URLs.
Attachments
N/A
- 主要语言
- 没有语言数据
- 星标
- 198
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/aws-lambda-roadmap 的其他 Issue
-
Feature- Support for customer-managed KMS keys for Lambda MicroVMs可能已有人在做 @aykulkarni 于 1 天前认领。 未关闭Lambda PM request Lambda/MicroVMs
难度 5/5 一周以上 新手友好度 5/100
aws/aws-lambda-roadmap#117 · 已指派 1 人 ·
-
Feature- x86_64 architecture support for Lambda MicroVMs可能已有人在做 @aykulkarni 于 1 天前认领。 未关闭Lambda PM request Lambda/MicroVMs
难度 5/5 一周以上 新手友好度 5/100
aws/aws-lambda-roadmap#116 · 已指派 1 人 ·
-
Feature- Retain MicroVMs for up-to 30 days (up-to 8 hours per-run)可能已有人在做 @aykulkarni 于 1 天前认领。 未关闭Lambda PM request Lambda/MicroVMs
难度 5/5 一周以上 新手友好度 5/100
aws/aws-lambda-roadmap#115 · 1 个 reaction · 已指派 1 人 ·
-
Feature- Private endpoints for Lambda Web Functions可能已有人在做 @sam-karak 于 2 天前认领。 未关闭Lambda/Web Functions
aws/aws-lambda-roadmap#114 · 1 个 reaction · 已指派 1 人 ·
-
Feature- Lambda Web Functions in additional AWS Regions and partitions (including the AWS European Sovereign Cloud)可能已有人在做 @sam-karak 于 2 天前认领。 未关闭Lambda/Region expansion Lambda/Web Functions
aws/aws-lambda-roadmap#113 · 3 条评论 · 2 个 reaction · 已指派 1 人 ·
查看 aws/aws-lambda-roadmap 的全部 Issue
相似的 Issue
-
type: cleanup
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-swift#1477 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/sagemaker-python-sdk#6495 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
[DOC] Wrong sg_egress_ports range in the Terraform Databricks Guide for AWS Hub & Spoke with Network Firewall可能已有人在做 @akhil9tiet 于 1 天前认领。 未关闭docs
难度 1/5 1 小时以内 新手友好度 72/100
databricks/terraform-provider-databricks#6080 · 1 条评论 ·
维护者通常 3 天内回复
-
aws_opensearch_application is missing IamRoleForDataSourceArn, needed for cross account data sources未关闭bug needs-triage service/opensearch
难度 2/5 半天 新手友好度 70/100
hashicorp/terraform-provider-aws#50510 · 3 条评论 · 5 个 reaction ·
维护者通常 1 天内回复