Serving Angular web app with NGINX on an AWS EC2 Instance tutorial



Serving Angular web app with NGINX on an AWS EC2 Instance tutorial

Serving Angular web app with NGINX on an AWS EC2 Instance tutorial

breakdown:
1. launch ec2 instance
2. add http connection rule to security group
3. create new / use previous key-pair permission file
4. build angular app
5. copy angular build’s dist folder into ec2 using scp
6. download nginx in ec2
7. change root of nginx configuration to point at angular build files on ec2
8. start nginx server
9. access using your ec2 endpoint

video is meant as an explanation for altrusight group project, but can also be used as a general purpose tutorial

Comments are closed.