Deploy Django Project on AWS EC2 Instance | Ubuntu Server | Nginx | Gunicorn

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

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

  • @CodeWithMuh
    @CodeWithMuh  Год назад

    Connect with me on LinkedIn: www.linkedin.com/in/muhammad-rashid-daha

  • @softsolution1113
    @softsolution1113 2 года назад +1

    It's helped me to deploy my Django application. Thanks

  • @sajidifti
    @sajidifti Год назад +1

    Thank You! I was stuck with static files not loading for two days. You saved me.

    • @CodeWithMuh
      @CodeWithMuh  Год назад +1

      Glad to hear i saved your time. 👏

  • @talentparser
    @talentparser Год назад +1

    You saved me Sir 🙂 .. Thanks a lot

  • @MuhammadSaeed-ee3wr
    @MuhammadSaeed-ee3wr Год назад +2

    How did you save the code. See at 11:55 please tell me. My gitbash is stuck at that place and I could not move next

  • @AQIBDAHA
    @AQIBDAHA 2 года назад +1

    Hey nice explanation 👍

  • @programmer9809
    @programmer9809 9 месяцев назад +2

    👍

  • @sajidifti
    @sajidifti Год назад +2

    Please make the video showing HTTPS configuration. Also, it will be a great help if you include how to get SSL certificated from Letsencrypt in the video.

    • @CodeWithMuh
      @CodeWithMuh  Год назад +1

      In next week a video is coming with domain and ssl Setup. So you can easily deploy Django Project on aws with rds and s3 integration.

    • @sajidifti
      @sajidifti Год назад +1

      @@CodeWithMuh Eagerly Waiting

  • @crazy_gamers_0079
    @crazy_gamers_0079 Год назад +1

    Sir i have to deploy django on 5 instances on ec2 and configure with nginx on another ec2 server with all five ec2 instances and i use gunicorn can u help me in this.

  • @himanshushekharmohapatra6379
    @himanshushekharmohapatra6379 Год назад +1

    Thank you very Much :) I was tired of following headless leads where something was missing anyway and failed the deployment.

    • @CodeWithMuh
      @CodeWithMuh  Год назад

      If you have any issue. Share details on my Facebook group, link is in description. I will help you, if needed call even.

  • @ivanradisavljevic6247
    @ivanradisavljevic6247 9 месяцев назад +1

    Hello, Make sure you are in the same directory like your M file. What M file I don't understand. Where should I save SSH key.

    • @CodeWithMuh
      @CodeWithMuh  9 месяцев назад

      When your 'Pem' file. Not 'M'
      Your pem was downloaded when you created instance.
      Please watch latest video on my RUclips which is more optimized if you want to deploy Django application

  • @AlwalaManoj-w5b
    @AlwalaManoj-w5b 2 месяца назад +1

    i followed your video but i was stuckk in pip install -r requrement.txt and i followed with your code itself. it is getting errors

    • @AlwalaManoj-w5b
      @AlwalaManoj-w5b 2 месяца назад +1

      please share the commands

    • @AlwalaManoj-w5b
      @AlwalaManoj-w5b 2 месяца назад +1

      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for ruamel.yaml.clib
      Running setup.py clean for ruamel.yaml.clib
      Failed to build ruamel.yaml.clib
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ruamel.yaml.clib)

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

      Its is related to your packages and double check python version, your packages should be compatible. This is related to your application.

  • @ajaywayase7727
    @ajaywayase7727 2 года назад +1

    hey nice explanation but somehow I am getting 502 Bad Gateway error. do you think of any possible reasons for it?

    • @CodeWithMuh
      @CodeWithMuh  2 года назад

      Thanks for your comment. Let me assist you

    • @CodeWithMuh
      @CodeWithMuh  2 года назад

      I'm 100% sure, common mistakes can be .
      1. Make sure Https and http access is added in your instance security group.
      2. Make sure the Nginx file is correct.
      You can share nginx file text and security groups screenshot with me, i will understand where the issue is.

    • @ajaywayase7727
      @ajaywayase7727 2 года назад

      for instance security group I do see Http and Https with source custom 0.0.0.0/0 and for SSH only my IP