Тёмный

Hosting a website on AWS EC2 instance 

Compu Lectures
Подписаться 306
Просмотров 44 тыс.
50% 1

This video will show you how to host a website on AWS EC2 instance and transfer files from S3 to an EC2 instance.
To host your Website on AWS EC2.
First zip the folder for the web files.
Next log into the management console and select S3 under service.
Create a bucket and upload that zip folder into that bucket.
Next, make that bucket and the object in the bucket public.
Launch an EC2 instance with SSH access
Copy the instance’s public IP address and SSH into your EC2 instance
Run the following commands in your terminal
sudo su
yum update -y
yum install httpd -y
cd /var/www/html
wget s3_Object_URL
unzip name.zip
mv SubFolder_Name/* .
service httpd start
Finally, copy public IP of your instance and paste it in the web browser.
Link to download the sample website: drive.google.com/file/d/1EFnC...

Опубликовано:

 

8 сен 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@SoftwareTechWorld7
@SoftwareTechWorld7 Месяц назад
Super explanation 👏👏
@thankyoucourse
@thankyoucourse Год назад
thanks for the video!
@funnygags754
@funnygags754 Год назад
Awesome bro keep uploading more videos
@lakshyawadhwa798
@lakshyawadhwa798 2 года назад
thank you so much !
@adelgergab261
@adelgergab261 3 года назад
Thank you for the video. Can you walk us through how to setup SSL for the domain and how change the DNS IP to point to my domin name?
@ashokchelkala
@ashokchelkala 2 года назад
Super explanation👏, could you do more videos on Another topics AWS plzz
@jyothibedadala9989
@jyothibedadala9989 2 года назад
Thankyou for this video..Please create a video for deploying dynamic website in EC2
@naresht9643
@naresht9643 Год назад
The same I'm also expecting, If you got anything please update here.
@manojgandham-lu7tu
@manojgandham-lu7tu 10 месяцев назад
Great 👍
@princepjazz
@princepjazz Год назад
Thanks a lot
@shaikhharoon6928
@shaikhharoon6928 2 года назад
thank u so much
@johnmathew3141
@johnmathew3141 2 года назад
I wish you were the professor in my university
@cloudtechtalks6633
@cloudtechtalks6633 2 года назад
Nice
@yeeyeeassnigga7686
@yeeyeeassnigga7686 2 года назад
Sir thank you sir! Pls teach in our university
@compulectures9710
@compulectures9710 2 года назад
Thanks
@MathsWithKishor
@MathsWithKishor Год назад
very nice
@NDavis-lp8hf
@NDavis-lp8hf 3 года назад
Hello, Everything was going fine until I got to the bottom: when I replaced my info for this line of code for my own information (mv SubFolder_Name/* .) I get a, mv can not stat: No such file or directory, response. Why Is that? It was just finding the file ok a moment ago.
@shorifulislam923
@shorifulislam923 7 месяцев назад
awesom
@bit_Jon_Trader
@bit_Jon_Trader Год назад
Thanks for the video, but it didn't work for mac. I have uploaded and deployed my HTML site, but I need to make changes. What's the easiest way? I am trying to delete the unzipped files, but can't. Thank you
@swarnaraja7680
@swarnaraja7680 2 года назад
thanks
@fidelnolasco6371
@fidelnolasco6371 Год назад
what happens if it is in php? because I see that it reads only pure html
@user-mx5oh9ij5u
@user-mx5oh9ij5u 9 месяцев назад
Is Putty used here because the video maker is using Windows? If I am connecting to my EC2 instance with my mac computer, can I simply skip the Putty part?
@udaysathe2141
@udaysathe2141 3 года назад
Thank you very much for this video it is working for me.Can we assign server ip address to our domain using route53 service?
@leplusstupidepossible9624
@leplusstupidepossible9624 Год назад
sure
@mritunjay3723
@mritunjay3723 Год назад
will it be available even if i log out of that putty instance ??
@ragiakshay7097
@ragiakshay7097 7 месяцев назад
is there a way that we can restrict the website only for specific users
@noobplay3034
@noobplay3034 Год назад
Sir I am getting problem that says command yum not found
@yikailiu637
@yikailiu637 Год назад
when opening private key in putty, why connection refused
@saajidhnawwar8505
@saajidhnawwar8505 2 года назад
13:24 I'm getting the error HTTP request sent, awaiting response... 403 Forbidden what should I do here?
@harmandeepsingh6665
@harmandeepsingh6665 2 года назад
I also have same problem
@sagararya8746
@sagararya8746 2 года назад
I have same problem
@sangeesekar
@sangeesekar 2 года назад
@@sagararya8746 May be bucket policy permission not added
@sagararya8746
@sagararya8746 2 года назад
@@sangeesekar may I get your number
@mohamedhendy5556
@mohamedhendy5556 9 месяцев назад
After I followed the steps and copied the public IP address, the website doesn't show up. Instead, a page saying "It works!" pops up every time. I'd appreciate if you can help me with that.
@johngregadonis4475
@johngregadonis4475 7 месяцев назад
i have the same issue, how did u solve it?
@mohamedhendy5556
@mohamedhendy5556 7 месяцев назад
@@johngregadonis4475 not yet
@vaishnavipriya9021
@vaishnavipriya9021 2 года назад
In the last step when I give the command "service httpd start" It says redirected to bin... Wt do I do...!?
@compulectures9710
@compulectures9710 2 года назад
No issues. you can type the IP Address/yourwebpagename.extension in the browser as you are not having the file index.html eg: 504.34.56.2/page.html
@darshankr1562
@darshankr1562 2 года назад
same here i have react project build can you please
@adityasungar757
@adityasungar757 2 года назад
did ur error solved, i am also getting same error
@sailohith4393
@sailohith4393 4 месяца назад
what is index.html? @@compulectures9710
@sanikazinjad1450
@sanikazinjad1450 3 года назад
After pasting the URL, it is showing me a Test Page. What is the reason?
@udaysathe2141
@udaysathe2141 3 года назад
go to /var/www/html and unzip and follow steps it will work
@compulectures9710
@compulectures9710 2 года назад
In this case, you can type the IP Address/yourwebpagename.extension in the browser as you are not having the file index.html eg: 504.34.56.2/page.html
@53akshatadange93
@53akshatadange93 Год назад
In putty - ssh- auth there is no option called browse😢 what should I do now
@leplusstupidepossible9624
@leplusstupidepossible9624 Год назад
under auth click on the first option same
@parikshithshivaprakash5523
@parikshithshivaprakash5523 2 года назад
sir I have error failed to load resource , the server responded with a status of 404
@leplusstupidepossible9624
@leplusstupidepossible9624 Год назад
check the bucket ACL
@shivamsehgal7500
@shivamsehgal7500 Год назад
After wget bucket URLname command I am getting 403 Forbidden error
@leplusstupidepossible9624
@leplusstupidepossible9624 Год назад
because you the wizard is updated you need to go to S3 permissions and and at ACL allow the permissions
@varunkanikaram7036
@varunkanikaram7036 3 года назад
bro , when i am pasteing a object url ..showing like this ERROR 403: Forbidden.
@amrfarag5868
@amrfarag5868 2 года назад
I have the same issue too!
@subaramkumar4361
@subaramkumar4361 2 года назад
@@amrfarag5868 check bucket policy
@manojkumarsankar
@manojkumarsankar 2 года назад
same
@marvin4519
@marvin4519 Год назад
You should add an ec2-acces IAM role to your ec2 instance and edit your bucket policy to allow bucket access.
@leplusstupidepossible9624
@leplusstupidepossible9624 Год назад
@@marvin4519 just to permission you will that that you need ACL permission first
@anonymousorg5050
@anonymousorg5050 Год назад
Sir Please help me
Далее
How to host a website on AWS for FREE using EC2 and S3
34:14
치토스로 체감되는 요즘 물가
00:16
Просмотров 4,1 млн
▼ЧЁРНАЯ МАГИЯ 🔮
31:15
Просмотров 502 тыс.
It's the opposite! Challenge 😳
00:12
Просмотров 2,9 млн
Amazon EC2 - Elastic Cloud Server & Hosting with AWS
20:54
Top 50+ AWS Services Explained in 10 Minutes
11:46
Просмотров 1,5 млн