简体   繁体   English

如何在 azure 私有中制作网络应用程序/apiapp?

[英]How do I make a web app/apiapp in azure private?

I've done this before but the feature seems to have disappeared.我以前做过这个,但这个功能似乎已经消失了。 I want to host an API in azure but set it to private so that only other azure entities in my subscription can see it.我想在 azure 中托管一个 API,但将其设置为私有,以便只有我订阅中的其他 azure 实体才能看到它。

It used to be achieved with a "private" switch on the webapp/apiapp settings.它曾经是通过 webapp/apiapp 设置上的“私有”开关来实现的。

Responding to clean up my unanswered questions.回应清理我未回答的问题。

Turns out you can't just define a webapp/apiapp as private anymore and the way to do it now is to wrap it in a private virtual network.事实证明,您不能再将 webapp/apiapp 定义为私有的,现在的方法是将其包装在私有虚拟网络中。 As suggested by Jack Zeng ( https://stackoverflow.com/users/5760649/jack-zeng ) in the comments.正如 Jack Zeng ( https://stackoverflow.com/users/5760649/jack-zeng ) 在评论中所建议的那样。

You have to create it in an ASE (App Service Environments) https://docs.microsoft.com/en-us/azure/app-service/environment/intro您必须在 ASE(应用服务环境)中创建它https://docs.microsoft.com/en-us/azure/app-service/environment/intro

It is more expensive than the normal one, but it has a better performance.它比普通的贵,但性能更好。

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

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