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

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Will come back in few years to see couple of million subscribers here. Keep doing such great work Andrew. Thanks..

stephengeorge
Автор

great tutorial....i was trying for many days but it works in one go...thank you😁❤

rimi
Автор

Great tutorial man. Got me up and running in no time 🔥

olwethumyeza
Автор

Best Video Ever for simple server setup

BhaktaDas
Автор

Apt and precise content.. Awesome job.. please keep up the good work

NIKHILCHANDRABORKAR
Автор

Thank you so much man... one more subscriber added. 🙂

denilnair
Автор

Hey sorry can you help me with the direction to Downloads folder, i cant scp -i to locate the folder have my key.
Warning: Identity file not accessible: No such file or directory.

motm
Автор

Great video!
You talk about static files in the video, but the idea is the same if you have an Angular app that isn't static and does requests to a back-end too right? thank you

twbouji
Автор

Isn't it more cost effective if deploy it in S3?

xjp
Автор

Hi again :) When I put my aws ip on the browser, I cant see anything. Nginx is active. I checked with systemctl status nginx and the status its ok, but on browser is not working

I checked the secury rules such as TCP and HTTP and they are the same that your video.
Thanks for your help

johanq
Автор

it uses http connection, right? how can I use https?

LMHenrique
Автор

how to install angular cli in aws ec2 linux 2 machine ?

Ajay-dslv
Автор

ngnix is started but the app is not being loaded when i visit the ip. any help?

sreeyachowdary
Автор

Thanks but I can´t see anything on your console xD
Recommendation: 1080p
:)

johanq
join shbcf.ru