如何在API网关中配置AWS EC2实例以进行反向代理。

huangapple go评论55阅读模式
英文:

how to configure aws ec2 instance in api gateway for reverse proxy

问题

我在一个使用端口号的ec2实例上部署了Swagger APIs。然后,我想要与API网关集成,以进行反向代理和跨域策略。我应该如何做?有人可以帮助吗?

英文:

I deployed Swagger APIs in an ec2 instance working with port number. Then, I want to integrate with API gateway for reverse proxy and cors policy. How can I do that? Can any one help on this?

答案1

得分: -1

我可以将所有的Swagger API整合到API网关中。将Swagger JSON文件导入到API网关,并根据需求添加集成方法,可以是Lambda、HTML或AWS服务,然后部署API。

英文:

i am able to combine all swagger apis in api gateway.Import the swagger json file in apigateway and add the integration methods according to the requirement either lambda or html or aws services and deploy the api.

huangapple
  • 本文由 发表于 2020年1月3日 18:49:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/59577215.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定