Courses

Deploy Laravel Project to AWS EC2: Step-By-Step

We need to install a web-server to our EC2 server, to actually serve our web-project.

  1. To install NginX enter:
root@ip-172-31-44-101:~# apt-get install nginx
  1. Check the status of the NginX server using systemctl status nginx:
root@ip-172-31-44-101:~# systemctl status nginx
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-11-09 17:18:47 UTC; 13min ago
Docs: man:nginx(8)
Main PID: 1679 (nginx)
Tasks: 2 (limit: 1143)
Memory: 1.7M
CPU: 20ms
CGroup: /system.slice/nginx.service
├─1679 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
└─1680 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 68 courses (1188 lessons, 43 h 18 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord