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

Опубликовано: 26 Апрель 2023
на канале: Tech with Hitch
58,045
834

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
nohup python3 my_script.py & for running a script continuously in the background
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


На этой странице сайта вы можете посмотреть видео онлайн AWS EC2 running a Python script continuously, EC2 setup with Python tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Tech with Hitch 26 Апрель 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 58,045 раз и оно понравилось 834 зрителям. Приятного просмотра!