如何为部署在私有子网中的服务配置 api 网关? [英] How to config the api gateway for the service deployed in private subnet?

查看:18
本文介绍了如何为部署在私有子网中的服务配置 api 网关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的私有子网中部署了一个 Web 服务,而在公共子网中没有 ELB.

I deployed a web service in my private subnet without ELB in public subnet.

现在我想把它公之于众.我可以使用 API 网关作为 http 代理吗

Now I want to expose it to public. Can I use API gateway as the http proxy

要公开吗?

有人知道怎么做吗?

推荐答案

该服务必须是公开的,API Gateway 才能连接到它.您可以使用 SSL 客户端证书来限制对 API 网关的访问.否则,API Gateway 将无法很好地解决您的问题.

The service has to be public for API Gateway to be able to connect to it. You can use SSL Client certs to restrict access to only API Gateway. Otherwise, API Gateway would not be a good solution to your issue.

更新:您现在可以使用 VPC 链接.

这篇关于如何为部署在私有子网中的服务配置 api 网关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆