Deploy Laravel on EC2 with Nginx - Step by Step Guide For Absolute Beginners

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • If you have been trying to find a resource that teaches you step-by-step how to deploy and configure an NGINX server on an AWS EC2 instance running a Laravel backend, then this video is for you.
    Server configuration script: github.com/eko...
    Timestamps:
    01:06 - Architecture breakdown
    04:05 - Setting up Laravel project with Laravel Herd
    8:08 - Creating Github repository
    12:54 - Brief introduction to AWS
    15:41 - Deploying a new server on AWS (EC2 t2.micro)
    37:06 - Connecting to instance, Installing PHP, Composer & Nginx
    49:47 - Cloning and setting up Laravel project on EC2 server
    55:33 - Permissions for storage and bootstrap folders
    59:54 - Installing Laravel project dependencies
    1:00:39 - Configuring Nginx, explanation of directives and config options
    1:25:50 - Additional configuration for PHP-FPM
    1:28:07 - Final results
    Connect with me:
    LinkedIn: / gilbert-blankson-afful...
    Website: gilbertblankso...

Комментарии • 11

  • @emperorchris1693
    @emperorchris1693 2 месяца назад

    Thank you very much. This is exactly the kind of video i was looking for. Please keep making videos like this

  • @ahmadmaghrapy
    @ahmadmaghrapy 2 месяца назад

    thanks pro, I was looking for a video like this. keep making content like this.

    • @gbafful
      @gbafful  2 месяца назад +1

      Glad you like this video. Definitely more coming

  • @sivadathp163
    @sivadathp163 17 дней назад

    mine its showing that 502 bad gateway
    nginx/1.26.2
    😭

  • @TheodoreBagwell-em3fs
    @TheodoreBagwell-em3fs Месяц назад +1

    My laravel.log file isn't creating in the storage/logs/ folder, any idea why?

    • @gbafful
      @gbafful  Месяц назад

      Can you try manually triggering an exception to see if it gets created?

  • @emperorchris1693
    @emperorchris1693 2 месяца назад

    Also teach how to install and connect to mysql database

    • @gbafful
      @gbafful  2 месяца назад

      Connecting to the mysql db from EC2?

    • @emperorchris1693
      @emperorchris1693 2 месяца назад

      @gbafful yes

    • @gbafful
      @gbafful  2 месяца назад

      👍 Alright

    • @gbafful
      @gbafful  2 месяца назад

      I got that in my backlog 😃