How to Deploy Django to Google Cloud in One Click

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

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

  • @subpxll
    @subpxll 3 года назад +2

    Tony's explaination is short and simple. Keep it up 👏

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

    Thank you Tony! This tutorial was very helpful to define the options I was considering. Clear and straight to the point!

  • @miguelmozo9260
    @miguelmozo9260 3 года назад +1

    this video is really helpfull. I was trying to follow the google documentation but the instructions in this video are really more pretty forward. Thank you so much for this video.

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

    You are the best guy. Congratulations for your job.

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

    This is really simple and helpful. I wish I have something similar for Amazon EC2

  • @pwill4real855
    @pwill4real855 3 года назад +1

    frickin finally.... ive been struggliing at work trying to use AWS and Azure to test out a simple test Django Project. They make it so frickin complicated. Thanks for the tutorial man.

  • @xpert9001
    @xpert9001 4 года назад +1

    Hey nice tutorial . exactly what i was looking to find.

  • @user-cc8kb
    @user-cc8kb 2 года назад +1

    Hey thank you for the video! I don't understand their pricing. Can I use these Django instances for free or not? Because it says $0 for click and deploy but then beneath they say there is a monthly amount... I would use their service for a personal toy project. Very small traffic.

  • @ሊያምጆሴፍ
    @ሊያምጆሴፍ Год назад

    Hey Tony, do you know which version of MySQL DB does Google Cloud support?

  • @bxtiyarqarasov8559
    @bxtiyarqarasov8559 4 года назад

    Do you think that GCP is better than AWS? Personally, I think yes (although I am very new in learning cloud stuff)

    • @TonyTeachesTech
      @TonyTeachesTech  4 года назад +1

      My gut says probably, although I don't have too much experience with each at this point in time.

    • @techycompute3636
      @techycompute3636 4 года назад +1

      Check azure too. The interface is simpler IMO

  • @lifeisstr4nge
    @lifeisstr4nge 10 месяцев назад

    I dont get it, so setting up manually - what do i need to set as the target for my manually cloned django project in the VM?
    what does djangostack-test-deployment do?

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

    I don't undertand when the code was deployed in Google cloud. It must to hace the tests server on localhost on forever?

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

    How can I make the web application visible to everyone via link?
    Good video

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

      Did you figure it out??

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

    How do you use PostgreSQL instead of MySQL?

  • @AngelHernandez-ex7ji
    @AngelHernandez-ex7ji 2 года назад

    Thanks! great vid

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

    You are my hero

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

    what about deploying a django project which store and retrieve data from database. It is just hello world application deployment

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

    thank you very much!
    I get stuck in 7:03, because I dont create firewall rule to allow that port be open.

  • @sankaranarayanan2928
    @sankaranarayanan2928 3 года назад

    Can you please help with how to connect the myself server in GCE with myself workbench in local desktop

  • @samhack7687
    @samhack7687 3 года назад

    Greatjob!!!

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

    Good tutorial 👌

  • @pablue
    @pablue 3 года назад

    Segui o fluxo até chegar em algo além do meu domínio. E agora tenho algo novo para explorar e aprender . Thanks man..

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

    amazing work,,,

  • @georgyjams10
    @georgyjams10 3 года назад

    Does it work as a production environment server?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I recommend these steps before going live with your website ruclips.net/video/mAeK4Ia4fk8/видео.html

  • @tradingcamps
    @tradingcamps 4 года назад +1

    I really like your video Thanks Please can you make a video on how to install Mautic on google cloud? Thanks In advance

  • @nicolasrepetti
    @nicolasrepetti 3 года назад

    Thanks!

  •  3 года назад

    Can you do this manually on a micro instance VM?

  • @azeezhamzat8337
    @azeezhamzat8337 3 года назад

    Hi, my project has base.py instead of settings.py and deeper within folders. What changes can I make to deploy this without problem?

  • @sandys4009
    @sandys4009 3 года назад

    Can we do it same for windows10 and can i do without typing 8000 port is it possible

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      No for Windows 10. Yes you can make it so that you don't have to type 8000. Instead try port 80 or for production, you can follow this video ruclips.net/video/ZpR1W-NWnp4/видео.html

  • @EKBShorts
    @EKBShorts 4 года назад

    I love you content, daily and fresh (i have a question about google cloud platform to run free stuff there is any way without punting my credit card ?)

    • @TonyTeachesTech
      @TonyTeachesTech  4 года назад

      Thanks for the great feedback! I don't think so

  • @pwill4real855
    @pwill4real855 3 года назад

    Is there a simple way to transfer files into this VM? Or a way I can edit the .py files not in terminal? I tried setting up GCloud so I could WinSCP some files into the VM, but I got completely lost in the long process.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You can try an FTP client. I haven't hooked it up to GCP before, but CyberDuck should do the trick ruclips.net/video/_JycUAoybCg/видео.html

  • @doobaradoobara9992
    @doobaradoobara9992 3 года назад

    Hello thank you for the tutorial
    though I cloning a project from github but when I use runserver I get an error resolve() got an unexpected keyword argument 'strict'

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      What version on Python are you which. Try typing which python.

    • @doobaradoobara9992
      @doobaradoobara9992 3 года назад

      @@TonyTeachesTech 3.8.2

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@doobaradoobara9992 Are you using any pip packages? If so, try updating them. Perhaps one of your packages is out of date/out of sync with another.

  • @keerthipriya9554
    @keerthipriya9554 3 года назад

    After deploying django website in gcloud when i serch that url in browser showing like 502 bad gate way
    please reply

  • @ashrayshiva9484
    @ashrayshiva9484 3 года назад

    How to update the deployment? Please help me out

  • @zemini7_
    @zemini7_ 3 года назад

    Can I run the app django in default page without typing ( :8000 ) port? cause I don't need this apache page 7:00 being my home page! thanks

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Yes absolutely! Just get rid of anything that is being served on port 80

    • @zemini7_
      @zemini7_ 3 года назад

      @@TonyTeachesTech you mean deleting var/www/html files? or how exactly?.. and will it automatically change?
      cause I have two folders now in var/www (1-html 2-the one I create with your video)

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@zemini7_ Oh sorry for not being clear. You can leave the website files at /var/www/html. If there is an Nginx conf file that's associated with the default landing page, you should disable it. The best thing to do would be:
      rm /etc/nginx/sites-enabled/default
      systemctl restart nginx

    • @zemini7_
      @zemini7_ 3 года назад

      @@TonyTeachesTech I remove it and restart nginx.. but still I should typing port 8000... this is my website link "delam.shop"

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@zemini7_ Makes sure you also change the port in the runserver command from 8000 to 80 6:31

  •  3 года назад

    whats the point of paying extra for the add on feature because I was under the impression that I can, after purchasing a VM from google, install nginx and django and do this process manually, and avoid the monthly "extra django chargo"? no? am I missing something?
    I think this method means additional charges are incurred on top of the VM, instance, loading, ect. couldn't you add django in a cost free way to your VM?

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

    Joder, que buen tutorial uwu

  • @peshotod
    @peshotod 10 месяцев назад

    Rubbish. it gives me the same error.I've tried thousands configurations: djangostack has resource level errors
    djangostack-pdt2-software: {"ResourceType":"runtimeconfig.v1beta1.waiter","ResourceErrorCode":"412","ResourceErrorMessage":"Failure condition satisfied."}. and does not give me Site address.Waste of time.

  • @mehdichallakh4294
    @mehdichallakh4294 3 года назад

    Hello Tony, default default (xx.xx.xx.xx/20) doesnt show up under "Network interfaces" and neither does the "Deploy" button when i try to deply a Django Stack from the marketplace. How come ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Weird. I really don't know why that isn't showing up for you