This video show you how to install nginx as loadbalancer on ubuntu server to balance 3 container running on Docker Server. We install nginx on different server from docker container, both use ubuntu server 22.04.
How to install docker on Ubuntu :
https://youtu.be/kqBWoMjShO8
Hope this video is useful!
Timestamps :
00:00 Preface
00:48 Create ec2 instance for nginx
02:08 Setup Docker Container as Backend Server
05:00 Setup Instance security group
06:00 Install nginx on ubuntu server
07:37 Setup nginx as loadbalancer
12:53 Test nginx loadbalancer configuration
14:14 Test with leat_conn on nginx loadbalancer
16:14 Test the security group of ec2 instance
Support Me on :
https://paypal.me/mhixv
https://www.buymeacoffee.com/mhixv