How to Host Your Website on AWS EC2 Instance
How to host a website on AWS (Full Project):
How to host a WordPress website on AWS:
How to Host Your Website on AWS EC2 Instance
While S3 is the recommended service for hosting a static website, this AWS tutorial video is intended to show beginners some workflow in AWS. This tutorial will teach you how to launch an EC2 instance and host a website on it. Some AWS workflow covered in this video are:
How to create an S3 bucket and upload files
How to create an IAM role with S3 full access permission
How to download Putty
How to SSH in an EC2 instance
How to create a security group and keypair
How to Launch an EC2 instance and attach keypair and security group.
SSH Commands:
sudo su
yum update -y
yum install httpd -y
chkconfig httpd on
cd /var/www/html
aws s3 sync s3://remote_S3_bucket local_directory
service httpd start
AWS doc:
Putty download:
How to Host Your Website on AWS EC2 Instance
#AWS #VPC #AWSTutorialForBeginners
thank you so much for your effort put in.
I don't know want went wrong while following your tutorial because at the end I got a page that says "Test Page"
Thank you for this great tutorial!
Easy to follow even for someone at my level. Keep up the good work buddy! Thanks again!
Thanks, it really helped me
for React.js web, NodeModule should also be uploaded ?
Dude keep this up! Best AWS walkthru. Also cool you have a West-African accent – keep striving!
I followed the whole process but I landed on the Amazon Linum AMI Test Page.
also when I type "Ls"(L in CAPS OFF*) it Shows an additional item i.e. local_directory…
what to do???
I'm afraid I landed on the Amazon Linum AMI Test Page.
Anyway of configuring this to run php files?
Great buddy.. Explained in a good manner.. ✌🤝
I can see the website through my browser but when I put the ip address in cmd I get the "Request Timed Out" message, any fix for this? 🙁 Thanks
Ignore my question. GREAT VIDEO!!!!!!!
I am getting a fatal putty error "no supported authentication methods available (server sent: public key). Am Should I not be using [email protected]?
Thanks! What a great step by step tutorial.
I followed the steps, got Apache is running successfully but the html page is not loading from directory. It says "You may now add content to the directory /var/www/html/. "
Please suggest , any help is appreciated
how to give a website name to that public IP?
How about hosting a dynamiv web site
Thank you soo much sir
Sir Can you please make a video on publishing website on AWS with custom DOMAIN
Can i use wordpress website to launch this method?
Hey AWS Notes, I would like to get your technical advice on choosing the best type size for a better performance of my eCommerce website and mobile application saver. If you can shoot me an email that would be great.
Thank you for this video man 🙂 instead of using putty can I use Filezilla to manage my files at also can we edit file directly?
Just wastage of time! Watched 2 videos and still confusing
can we do it without s3 bucket ?? directly copying files from our pc ??
Thank you so much !!!
Thanks for the tutorial. Just one question can I delete the bucket after copying the files to the instance ?
Can you code the provided commands into the User Data section of the EC2 instance? If we're using Remote Desktop to access the instance
i cant wait to learn more, thank you
where we take ec2 user as username
Thank you thank you thank you thank you!!! You've explained in 15 mins what i couldn't figure out over 15 hours.
is this tutorial for apple computer or IBM/window?
Great! Thank you sir.
After uploading website, how about website database?
Nice, but how about mySql databases, how can we upload this?
hello, thank you for making the video. I was linked from the previous video. I followed every steps until the end. However when I opened my page using the IP address. It shows me an Apache HTTP Test Page instead of my app content. I am completely new to this need help!
you just got a new subscription
Thank you very much for the tutorial
So, I followed these instructions exactly, and after I ran the last command: service httpd start, my command line doesn't look like yours. It says this: Redirecting to /bin/systemctl start httpd.service
Then when I try to open the IP address, I still get the Apahe Test Page. I really need help with this!
Hi bro! Maybe could you gift me the page that you use at the end of the video? Thanks !
Also, if you want to update the content of your website, can you just simply delete the file (index.html for example) on the S3 bucket, then upload the amended file or will you have to create a new bucket?
i've come from the other video, the only thing I was confused by was creating the Key Pair with the ppk… Thanks for clarifying 🙂