简体   繁体   English

如何在AWS中托管动态AngularJS Web应用并在浏览器中访问它

[英]How to host a dynamic AngularJS web app in AWS and access it in browser

How to host my dynamic angular web app in AWS EC2 instance and access it through browser. 如何在AWS EC2实例中托管动态角度Web应用程序并如何通过浏览器访问它。 Adding custom inbound rules didn't worked for me. 添加自定义入站规则对我不起作用。 May be I have done it wrong. 可能是我做错了。 Can someone explain the process to be followed. 有人可以解释要遵循的过程吗?

Assuming that you have configured a webserver(Nginx/Apache etc..) correctly on your EC2 on a certain port(eg: Port 80), check your EC2 security group configurations. 假设您已在某个端口(例如:端口80)的EC2上正确配置了Web服务器(Nginx / Apache等),请检查EC2安全组配置。

在此处输入图片说明

In the above picture, You might set SSH to access only from your IP rather than from Anywhere. 在上图中,您可以将SSH设置为仅从IP访问,而不从任何地方访问。

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

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