admin管理员组文章数量:1350953
I have an AWS REST API hosted in AWS Account A, which is accessible from AWS Account B. I need to block access only for a specific EC2 instance in Account B, while ensuring that the API remains accessible from other sources.
What I’ve Tried So Far:
AWS WAF: Applied rules but couldn't effectively block the requests. ALB Rule (Timeout Response): Did not work as expected. Security Group Changes: Had no impact on restricting API access for just this server. NACLs: Blocks traffic for all instances but I need to target only one EC2.
Key Constraints which are making me stuck are: ✅ The API and server configuration in Account B cannot be changed. ✅ The API should remain accessible for other servers. ✅ Security groups in Account B cannot be updated.
Any suggestion would be helpful.
本文标签:
版权声明:本文标题:amazon web services - Blocking AWS REST API (Hosted is account A) Access for a Specific Server in Account B - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743885632a2556004.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论