简体   繁体   English

我可以创建仅对 VPN 公开的 AWS API 网关和 S3 存储桶吗

[英]Can I create AWS API Gateway and S3 bucket only public to VPN

I have a single page application on S3 and its REST API on AWS API Gateway.我在 S3 上有一个单页应用程序,它的 REST API 在 AWS API 网关上。

How can I restrict access to the SPA only with a VPN.如何限制仅使用 VPN 访问 SPA。

I'd like to let the login page not public to the Inte.net.我想让登录页面不对 Inte.net 公开。

There exist a way to allow or block traffic from specific ip address (SourceIp) or from vpc endpoint (SourceVpc) in aws s3 bucket policy.在 aws s3 存储桶策略中,存在一种允许或阻止来自特定 ip 地址 (SourceIp) 或来自 vpc 端点 (SourceVpc) 的流量的方法。 We can specify such conditions to restrict access to s3 bucket.我们可以指定这样的条件来限制对 s3 存储桶的访问。

For more details please visit this link .有关详细信息,请访问此链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM