How to Host a WordPress site on AWS: Instance:
I have updated this video and you can find the updated version here:
This tutorial will show you how to host a website on AWS EC2 instance and how to 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
yum update -y
yum install httpd -y
chkconfig httpd on
wget (S3 object URL)
unzip (folder full name including extension)
mv (sub folder full name )/* .
service httpd start
Last copy your instance public ip and paste it in the web browser.
#AWS #EC2 #AWSS3