AWS Tutorials: Deploy Python Application on AWS EC2 (Permanent Running)

preview_player
Показать описание
Hello, Guys, I am Spidy. I am back with another video.

In this video, I am showing you how you can deploy Python Streamlit App on AWS EC2.

----------------- Commands -----------------
Commands are based on Amazon Machine Image (AMI)
# Installation Commands
sudo su
yum update
yum install git
git clone [YOUR Repository]
cd [YOUR Repository]

# Run commands

# Run permanent
[Close Terminal, app will run as a service for permanent]

# Stop Application
ps -ef (Get process ID from here)
kill [id]

🔥 Don't forget to Subscribe

Playlist that you should check👇

"The video thumbnails were created using publicly available images from Google images and are used solely for thumbnail purposes. I do not claim ownership of these images. If you are the owner of any copyrighted content used in these thumbnails and want them removed or changed, please contact me and I will comply promptly. Thank you."

#aws
#awsec2
#awstutorial
Рекомендации по теме
Комментарии
Автор

Dude, you are amazing. Thanks for your detailed explanation!

ademnumankaya
Автор

great video. it is easy to follow and easy enough to develop good follow up questions for further exploration. great channel brudda!

theolara
Автор

Such a great video, finally find what I am looking for

ningzhang
Автор

Very nice and clear.. god bless you mate... love from London!

nineteen
Автор

Simple explanation about python app hosting in aws by cloning source code from git account.

ipqtumm
Автор

Love it! Thank you. Exactly what I was looking for.

miehaga
Автор

Big help!! Just successfully deployed my EC2 Linux based ML web app :)

janlauzy
Автор

Thank you very much for helping me with this. I haven't seen better material on this topic yet

inspayran
Автор

Nice tutoorial! This can be a good start in AWS EC2 rather than hosting a wordpress website!

sahiljain
Автор

Very good explaination and step by step procedure..

kunjeshpatel
Автор

Thanks a lot. I got stuck using EKS but I ended up using EC2 instance.

yourshortly
Автор

Hi! What would be the best approach to host angular and sprint boot backend app on AWS.For production
1. Angular on S3 and spring boot on elastic beanstalk
2. Both on elastic beanstalk
3. Any other way understanding cost and security of app

Rehan-osui
Автор

issue is resolved thank u sir for sharing this useful knowledge

yirycqq
Автор

How do you deploy this website part of VPC and with private IP address in company network. Corporate may not like to have Internet based public Ip for some websites to avoid hacking.

MaduraiUSA
Автор

It's a clear explanation, Thank you
Can you add AWS cloud watch to your application for logs and can you do a tutorial on it

satyanarayanyegireddy
Автор

Thanks for the video! So I had installed a venv and that's what I had used in my python interpreter on my local machine to run the python app. So when I try to run the program in the EC2 application, it says that one of my modules isn't found. Do you know if I need to select the interpreter while connected to SSH?

Here's the error:
Traceback (most recent call last):
File "/home/ubuntu/python-passwordgenerator/main.py", line 3, in <module>
from tkinter import *
ModuleNotFoundError: No module named 'tkinter'

LatinoWebStudio
Автор

Really great video! For some reason after running the first copied command (The chmod400 command) in the terminal I receive the following error: "The term 'chmod' is not recognized as the name of a cmdlet, function, script file, or operable program"
Any idea why?

jeffwoolfe
Автор

Thanks for the video. However when you close the Terminal and you try to access the App Url some minutes later, it will be already not available anymore (This site can't be reached. Connection refused). How can we make that it'll be available even hours or days after closing the Terminal?

andrewhenderson
Автор

Another question; how can I setup CI/CD so that whenever I commit to my github, the EC2 server automatically pulls it?

hamzaahmad
Автор

hello ...can I ask for the ability to execute the python program stored in EC2 through another python program stored in localhost ...how to upload output file to the ec2 through the python program ...with regards

hibamahmood
visit shbcf.ru