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:
If anyone has any questions, video suggestions, or want to critique my videos please do here in the comment section.
ctrl a+d isnt working
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.
Helpfull
Many thanks. Simple and working tutorial 🙂
Thank you very much. Thumbs up, sir.
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.
Hi Thanks for you tut…..but what to use instead of
PuTTY for windows users?
Thanks so much
can someone please help
how do you remove it from screen
my bot sends its messages 3 times instead of once
Great tutorial man 👍
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?
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.
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
Very well done video very helpful. Also great voice you should become a youtuber hehe.
Thank you so much man 🙏 Love from India
how many bots can i run in an instance of say 1gb ram? i want multiple Instagram bots.
So good, I subscribed!
will it work for btc mining?
Thanks so much man!!!
awesome video dude !!
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?
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.
How can I re-run the normal python script? I just want to run it at 9 am once and not all the time.
I didn't know AWS had a free plan.
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?
Cannot thank you enough
Truly wonderful Job!! Clear & Useful!!
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?
beautiful video, Thanks a lot. Helped me in a great way
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?
It says your instance configuration is no eligible for free usage tier?? Help
Awesome! Thank you very much
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!!!……
I was looking for the solution like these for some time and now i have found it. Thanks for Sharing.
if i have mysql how i can do that?
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.
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 &.
Thanks that helps me a lot
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!