Nginx Reverse Proxy on AWS EC2 Amazon Linux 2

  Рет қаралды 39,264

Sam Meech-Ward

Sam Meech-Ward

2 жыл бұрын

Install and set up an nginx reverse proxy on an Amazon Linux 2 ec2 instance.
🔗Other tutorials:
MySQL on AWS EC2 Amazon Linux 2: • MySQL on AWS EC2 Amazo...
Deploy Node app on AWS EC2 Amazon Linux 2: • Deploy Node app on AWS...
Setting Up And Deploying AWS EC2 Instances: • Setting Up And Deployi...
🔗Moar Links
My Website: www.sammeechward.com
Instagram: / meech_ward
Github: github.com/orgs/Sam-Meech-Ward
🔗nginx links:
www.nginx.com/blog/setting-up...
www.nginx.com/blog/mitigating...
nginx.org/en/docs/http/configu...
Code
```
sudo amazon-linux-extras install nginx1 -y
sudo systemctl enable nginx
sudo systemctl start nginx
```
```
sudo vim /etc/nginx/nginx.conf
```
```
server {
location / {
proxy_pass localhost:8080;
}
}
```

Пікірлер: 50
@therustguy10
@therustguy10
Thank you Sam for the amazing videos, Meanwhile for anyone that is here in 2024 etc for amazon linux 2023 this command doesn't work: sudo amazon-linux-extras install nginx1 -y , this is because Amazon Linux 2023 does not have extras. so you have to run sudo yum install nginx which will install version 1.22.
@yogeshsherawat
@yogeshsherawat
Underrated Channel
@jacobnoori
@jacobnoori
This tutorial was incredibly well done. Thank you.
@abuhurairakhan2303
@abuhurairakhan2303 Жыл бұрын
I was searching since from 5 hours.. you just solved my problem in 10 min! really thanks
@eddietaliaferro210
@eddietaliaferro210 2 жыл бұрын
You seem like you'd be so chill to hangout with haha thanks for the simple explaination!
@redye5858
@redye5858 2 жыл бұрын
underrated content, thanks for making these.
@joaobibiano
@joaobibiano 2 жыл бұрын
Sam! You nailed it... I was running in exactly 8080 port. Thank you man
@albert850904
@albert850904 2 жыл бұрын
Thanks for the contents, saving the day by helping me figure out how to conduct reverse proxy after spinning up my ECS and EC2 service :D
@whitsuntide
@whitsuntide 2 жыл бұрын
Great walkthrough, achieved in 10 minutes what I'd been searching for for several hours!
@sayedimran5972
@sayedimran5972 Жыл бұрын
Thank you very much for this video, was searching for this for a quite a long while
@pliniomoraes2674
@pliniomoraes2674
That was a nice tutorial, I was looking for this and it took me some few hours to find your turorial,
@thegrantkennedy
@thegrantkennedy 2 жыл бұрын
You're a fucking legend mate. Finally able to spin up my app on aws thanks to this tutorial.
@aloSolo
@aloSolo
Thank you for the great tutorials. I am subscribed now
@vichuplays
@vichuplays 2 жыл бұрын
Saved me a lot of time! Thanks mate ;)
@etimessang4980
@etimessang4980 Жыл бұрын
God bless you bro... You are a life saver
@Erikdulcesaludcl
@Erikdulcesaludcl 2 жыл бұрын
Hello Sam,
@sagun6268
@sagun6268 21 сағат бұрын
Nice Tutorial Thanks !
@prajwalgupta1125
@prajwalgupta1125 2 жыл бұрын
Really helpful video!!!!
@IbrahimJajere
@IbrahimJajere
sudo: amazon-linux-extras: command not found
@hquizzagan771
@hquizzagan771 Жыл бұрын
The video is very great (simple, easy to follow and it worked). But just a newbie question maybe, is there a benefit to doing this instead of say using a Load Balancer to listen to PORT 80 and redirect it to your app's specific port instead? TYIA!
Intro to IAM Roles and Policies on AWS
9:39
Sam Meech-Ward
Рет қаралды 7 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 273 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 36 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 4,6 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 22 МЛН
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 27 М.
How to configure Nginx as a Reverse proxy | Configuring with SSL
12:30
Proxy vs Reverse Proxy (Real-world Examples)
5:17
ByteByteGo
Рет қаралды 533 М.
Reverse proxy nginx letsencrypt tutorial
17:12
Christian Lempa
Рет қаралды 116 М.
Here's why you need Nginx as a Reverse Proxy for your Node.js app
10:17
Software Developer Diaries
Рет қаралды 21 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 524 М.
Configure a Docker Nginx Reverse Proxy Image and Container
10:51
Cameron McKenzie
Рет қаралды 89 М.
DiagramGPT - Honest Review of Eraser AI
8:22
Sam Meech-Ward
Рет қаралды 121 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 36 МЛН