How to Run a Python Script 24/7 for Free (Ubuntu Server on AWS)

How to Run a Python Script 24/7 for Free (Ubuntu Server on AWS)



For this video I will be explaining how to run a Python script 24/7 on an AWS Ubuntu server for free.

Amazon Web Services:

Putty:

Filezilla:

If you have any questions, please leave them in the comment section below and I will help you as quickly as possible:) Also feel free to drop video suggestions and critique my teaching.

Please Like and Subscribe!

Follow my social media:

Instagram:

Facebook:

Linkedin:

Twitter:

Visit my website:

40 thoughts on “How to Run a Python Script 24/7 for Free (Ubuntu Server on AWS)

  1. If anyone has any questions, video suggestions, or want to critique my videos please do here in the comment section.

  2. I am getting "No supported authentication methods available(server sent: publickey, gssapi-keyex,gssapi-with-mi) error. What do you think about this error? Thanks.

  3. It ask for my billing information, ummm, yah I'm good. Last time I let a site take my info I got screwed. Show them how to do it without a credit card. The whole point is to be anonymous. Amazon has enough money. And they sell our info to to Ad companies. If you need a script to automate let me know.

  4. In my socket_server.py file, what IP address do I bind to? Then, what IP address do I connect to in my socket_client.py file?

  5. Hi there, thank you for this very informative video. I am attempting to run a python script 24/7 off of OS, not windows. I managed to install Putty for windows, but haven't been able to access PuttyGen. If you know of any way I can do this, it would be much appreciated. Thanks, Nat.

  6. I would appreciate a lot if someone could help me with this but i have an error everytime I try to enter with FileZilla and I can't get it to work (I'm very new). The error message is this one:
    FATAL ERROR: No supported authentication methods available (server sent: publickey)

    Error: Could not connect to server

    Thank you in advance

  7. Hey man, I'm trying to use your method here to put my discord bot on a server. Upon attempting to start the server in the ubuntu terminal though, I get ModuleNotFoundError: No module named 'discord' . How would I go about putting these necessary packages onto my server so I can host my bot?

  8. fyi, you can use byobu for screen alternative in multiplexing ssh. (runing multple terminal)
    and for windows users, you can use termius instead of putty. Byobu works fine with termius on windows.
    other info: Windows 10 has developer mode feature that can run linux subsystem in windows.

  9. Hello, first of great video. I have a similar problem, but I need to use my python script on request. So I need a webserver where I can make a request to and execute my python script with a given POST Parameter. How would you do that?

  10. hi cameron, very useful tutorial. i have multiple python scripts running, but i want to stop running only 1 of them to edit the python script. how can i do this through putty?

  11. will the python scripts running on the server be private? does anyone other than me and not intended by have the ability to see the code that's running?

  12. I have a python script with a json file.. Can I add that file to the server?
    And one more thing issue I have faced that whenever I opened my AWS.. It showing to create an account and add credit or debit cards to continue as they will charge for using aws… So how can I get the AWS free and get that console window???
    Please help!!!……

  13. It's a very good vid and easy to understand but. If you have Fortnite installed it makes you the worst being on the planet.

  14. If all you want to do is run a script in background, use nohup. Also add the script in the crontab using "crontab -e". Code for nohup is: nohup "your-command-here" &. Don't forget the &.

  15. Nice video! I would like to know if there is anything we should pay attention if your code, for example, needed to access a database in another cloud service. Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *