将AWS前缀列表从一个区域复制到其他区域
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论