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

查看:118
本文介绍了如何为部署在专用子网中的服务配置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.

更新:您现在可以使用

Update: You can now configure API Gateway to access resources inside a VPC using VPC Link.

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

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