How to deploy Python Flask application on AWS EC2 Instance

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

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

  • @practicesession-dn7vv
    @practicesession-dn7vv Месяц назад +2

    1. Thanks for the fantastic tutorial on deploying Flask to AWS EC2!
    2. I followed the step-by-step guide, and it was clear and easy to follow.
    3. The detailed coverage on setting up the EC2 instance and running the Flask app with Gunicorn was spot on.
    4. Your troubleshooting tips and best practices were incredibly helpful.
    5. I successfully deployed the app and accessed it as shown in the video. Haha, it worked great!
    6. Thanks a lot, man! Your guide was a lifesaver.

  • @KavinduDharmasiri
    @KavinduDharmasiri 10 дней назад +1

    tnx man

  • @sahilamin219
    @sahilamin219 6 месяцев назад +2

    HELPED ME GET MY FIRST APP RUNNING :) THANKS

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

    Thank you very much I was able to deploy my app using this

  • @roshan83564
    @roshan83564 10 месяцев назад +1

    Awesome. Thank you for the tutorial

  • @laxmikantparate8115
    @laxmikantparate8115 7 месяцев назад +1

    Thank you so much sir

  • @Maurice-W
    @Maurice-W 9 месяцев назад +1

    bien

  • @dhanasekare6384
    @dhanasekare6384 Месяц назад +1

    I deployed the application but i can't able to access the api in outside of server

  • @weebandkeeb1834
    @weebandkeeb1834 3 месяца назад +1

    Thanks dude, you saved my life!

  • @willp8681
    @willp8681 6 месяцев назад +1

    How did you navigate to the ec2 user directory in the terminal (at 9:20)? I am on mac and can't figure out how to navigate there to run those commands.

    • @rajkkapadia
      @rajkkapadia  6 месяцев назад

      Use the cd command to change the directory...

  • @teamkuware3647
    @teamkuware3647 7 месяцев назад +1

    Awesome . Thank you for the tutorial . Facing a Problem . "/" endpoint is working but other endpoints from app.py are now working. What Could be the issue ?

    • @rajkkapadia
      @rajkkapadia  7 месяцев назад

      I am not sure about the issue, if you can describe the issue in the GitHub repository, I will look into that...

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

    Awesome, do you have a guide on how to connect my domain to the site I uploaded?

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

      I think there is documentation about this on AWS, that will help...

  • @Nature-mh2rh
    @Nature-mh2rh 11 месяцев назад +1

    Hi, how to do this in production env? Like if a user visits the url, then he sees the app? (Without us running the app manually)

    • @rajkkapadia
      @rajkkapadia  11 месяцев назад

      You can deploy the application on a server... like Render, there is a video on my RUclips channel as well...

  • @user-fd9hq1cx1f
    @user-fd9hq1cx1f 6 месяцев назад +1

    I followed the steps. Can connect via ssh and filezilla. Cant launch the hello world app though. Says the site cant be reached. Ive verified that I am using the correct Public IP adress and have the correct security rule group setup. Anything else I can check?

    • @rajkkapadia
      @rajkkapadia  6 месяцев назад

      Check ✔️ of you have exposed the port on which the application is running...

    • @sysadmin9396
      @sysadmin9396 6 месяцев назад +1

      I ended up just starting from scratch and using a Ubuntu instance. Also used gunicorn and nginx. It works with a simple hello world application , but for a llm AI chatbot application it does not. Do you have any videos on how to build a more complex Python flask AWS application?

    • @sysadmin9396
      @sysadmin9396 5 месяцев назад +1

      Hey! Do you know how to setup multiple users to access one llm via flask sessions?

  • @thenameisnigel
    @thenameisnigel 8 месяцев назад +1

    How do you run the app in daemon mode? What command do you use?

    • @rajkkapadia
      @rajkkapadia  8 месяцев назад

      Either you create a Dockerfile or you can run it using -d for daemon mode...

  • @moamenmohameed1346
    @moamenmohameed1346 5 месяцев назад +1

    What terminal you are using? Is it Linux or Ubuntu based ? Does any one knows ?

    • @rajkkapadia
      @rajkkapadia  5 месяцев назад

      OMG Zsh

    • @moamenmohameed1346
      @moamenmohameed1346 5 месяцев назад +1

      @@rajkkapadia how can I get this terminal ?

    • @rajkkapadia
      @rajkkapadia  5 месяцев назад

      @@moamenmohameed1346 search for omg Zsh...

  • @iwillbeback101
    @iwillbeback101 11 месяцев назад +1

    How to run it without a port number?

    • @rajkkapadia
      @rajkkapadia  11 месяцев назад

      I am not sure you can run a server without a port...

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

    I did all and unable to access my app using the link
    It is running in the terminal well but not in the url
    Can you please help me

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

      This is a tricky part, you need two things, one public ip address, and two expose the port...

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

      Thanks for your reply. I will try and let you know.

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

      @@rameshlanke5735 Did you do it?

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

      @@rajkkapadia Sir, i did that only to no avail.

  • @nameisramm
    @nameisramm 8 месяцев назад +1

    send me your repository