将AWS前缀列表从一个区域复制到其他区域

发布于 2025-02-02 17:15:29 字数 425 浏览 2 评论 0原文

tl; dr:复制AWS前缀列表(PL)从一个区域到其他区域,以及更新主PL时,更新该列表的所有副本。

长篇小说:

嗨,我想使用AWS在多个地区发布我的网站,并计划将Cloudflare用于基于地理的负载平衡。但是,问题是我想将所有服务器 / VPS实例的SSH /其他访问限制为特定的IP。

一种方法是将我的所有IP添加到链接到所有区域服务器 / VPS实例的安全组中。其他是在所有区域中创建相同的前缀列表,并参考相关安全组中的PL。但是,这两种技术都使IPS的添加 /去除非常忙。

看来,简单的方法是在主 /默认区域中创建前缀列表,并将其复制到所有其他区域,并将PL复制到所有区域的相关安全组。当主 /默认区域中的PL更新时,请再次或自动触发复制机制。

请给出任何建议 /解决方案 /参考。

TL;DR: Copy AWS Prefix List (PL) from one region to other regions and when main PL is updated, update all copies of that list.

Long Story:

Hi, I want to publish my site in multiple regions using AWS and plan on using Cloudflare for Geo based load balancing. However the issue is that I want to restrict SSH / other access of all servers / VPS instances to specific IPs.

One way is to add all my IPs to security groups linked to servers / VPS instances in all regions. Other is to create same Prefix List in all regions and reference that PL in related security group. But both of these techniques make addition / removal of IPs, quite hectic.

Easy way, it seems, is to create Prefix List in main / default region and copy it to all other regions and reference copied PL to related Security Groups in all regions. And when the PL in main / default region gets updated, trigger the copy mechanism again, manually or automatically.

Any suggestions / solutions / references, please.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文