HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

how to deploy your website in cloud using aws

238 views November 5, 2018 16:27

Watch on YouTube
Channelrahul uniyal

Description from the creator

Steps to deploy or host your website in the cloud (Using AWS)

1. Make your website and drag your web pages and drop them on GitHub. (I have already done it. Github is a bit easier otherwise you have to copy your code and make a new file using the command: nano new and then paste it there but use git hub as it is compatible. )

2. Now open aws and then sign in into aws and using EC2 launch ubuntu instance.

3. copy the IP address and then open putty gen load and save the private key.

4 Now open putty and then using ssh auth browse private key to open terminal.

5. open the terminal and sign in with username ubuntu.

6. Type the command as follows:

- wget apachefriends.org/xampp-files/5.6.20/xampp-linu…
- sudo su
- chmod +x xampp-linux-x64-5.6.20-0-installer.run
-. /xampp-linux-x64-5.6.20-0-installer.run
- sudo/opt/lampp/lampp start
- cd /opt/lampp/htdocs/
- vi /opt/lampp/etc/extra/httpd-xampp.conf
- change the configuration for Directory "/opt/lampp/phpmyadmin" to:

AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


- And in place of

( LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
/LocationMatch

use

LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"
Order deny,allow
Allow from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
/LocationMatch ) use link: 9lessons.info/2015/12/amazon-ec2-setup-with-ubu…

7. now check check your files in htdocs using command- cd /opt/lampp/htdocs/

and then type ls and check your web pages:

use the command git clone and your clone address and clone all your files.

8: now type the command - sudo/opt/lampp/lampp restart

9. Now open the same IP.

And use ip-address/index file

About this tutorial

rahul uniyal published this 16:27 video tutorial on November 5, 2018. It has been watched 238 times on YouTube.

Duration
16:27
Published
November 5, 2018
Views
238
Likes
7

Tags

Share

This tutorial in other languages