AWS EC2 running a Python script continuously, EC2 setup with Python tutorial

preview_player
Показать описание
Dive into this AWS EC2 and Python tutorial, where we demonstrate how to set up an EC2 instance, run Python scripts continuously using nohup, and manage processes effectively. Master essential commands like:

sudo su for getting root
ps aux | grep python3 for listing Python processes
kill 2322 for terminating processes

By following this step-by-step guide, you'll gain valuable insights into configuring EC2, installing dependencies, executing scripts, monitoring output, and gracefully terminating processes when needed. Boost your cloud deployment and management skills for Python applications.

0:00 Introduction
0:30 Setting up EC2 instance
1:50 Connecting to EC2 instance & setup
3:20 Writing example python script
4:30 Continuously running the script with Nohup
4:55 Using tail, grep, and kill
Рекомендации по теме
Комментарии
Автор

Hi if you are seeing this, just want to say thank you so much to people like you, for selflessly creating content to help out noobies like me!! Your instructions are so clear that someone with little background in programming can follow along easily :)

jieyang
Автор

Hey buddy, this video is absolutely perfect. Thank you a bunch!

pbjjsqp
Автор

Nice man this simplify my life with my project

Markov-nr
Автор

Thanks alot ❤ i have been struck for days this video has really helped 😊

michaelsim
Автор

No nonsence, just gass 🔥🔥🔥
No but seriously thank you so much! was able to paste my code using vim and run my discord bot forever for free on someone else's(amazon's) machine.

jacobglik
Автор

wow that was great video !! i just needed this ...but I am getting error while creating keyvalue pair maybe some permission related but the video is lit bro. Earned a subscription from india .Would be happy to see you giving introduction to aws as well

ashishmantri
Автор

How can I upgrade python version to 3.x.x from 2.x.x

dealsaholic
Автор

I made an automation script in python which checks a certain website with dynamic content for a specific page by reloading again and again, and if the page is found it triggers me a mail.
Will it work because it needs a chrome driver also

Xp-Sam
Автор

can i have gui installed for windows or linux on ec2?

vv
Автор

I can’t do the mkdir testing it says no command found

KC-vofr
Автор

Amazing walkthrough and got my program live. Can't thank you enough. Why "kill" the running program with "-u" in the file name--isn't that the one that was set up to run in the background when the tab is closed and etc? Thanks again.

spencertait
Автор

sometimes I am getting http received 429: too many requsts how to prevent this from happening and what it means?

wtf
Автор

What if I would like to do the same process but instead of github use AWS CodeCommit, is it possible to do so ?

harshsingh
Автор

How to kill the nohup, its taking too much time to kill the nohup process. Please guide me through it.

sanjay
Автор

I'm guessing this works the same for C++ scripts?

didyouknowamazingfacts
Автор

Hey thanks for the video - I am trying to learn how to use AWS better. I am mainly struggling with the command lines. How did you learn the command lines? such as "sudo" "su", "nano" and how they are used?

inkyukim
Автор

Wow, that will fucking help me, thanks. One more question tho, how to send an information to the server from the client and receive it on the server?

jamesfrench
Автор

Can I deploy Django with selenium in Aws linux

villager_mundaa
Автор

I have python application but don't have script. how to deploy python application without script?

TheDerivativesDiplomat
Автор

Not working for me … I can’t find t2.micro 😊

KC-vofr