Deploy Web application on AWS Cloud using EC2 Instance

preview_player
Показать описание
Select EC2 from the Services Menu
Select Launch Instance and Create an EC2 Instance.
Choose appropriate OS. I have used AWS Linux
Create a Key Pair. (This .pem/ppk file will be the specific key whose presence will enable you to login from anywhere)
We have successfully created & launched the instance.
After initializing the EC2 Instance, we will have to connect it to the VM.
For this we have three methods:
1. We will use the PuTTY to convert .pem file(The key which we downloaded while creating the instance) to .ppk and launch it on our local System/machine
2. If we have downloaded the .ppk file then we can directly initialize the VM on our local Machine/System.
3. We will directly connect to the VM through the AWS platform
I have used the 3rd method.
After connecting with the Instance, we will run the following commands on the console:
1. sudo su -
2. yum update -y
3. yum install -y httpd
4. systemctl status httpd
5. mkdir aws_assg3
6. cd aws_assg3
8. Copy the Download Link for the .zip file of the portfolio
9. using the wget command, download the zip file to the folder.
11. move all the contents from the folder to “/var/www/html/”

Edit the Inbound Rules
check the status of httpd and then enable & start httpd using the following commands
systemctl status httpd
systemctl enable httpd
systemctl start httpd
Now open the public ipv4 address allocated to the EC2 instance we created in new tab. We will be able to see the Portfolio Website.

We have Successfully Deployed the Web Application on AWS Cloud!

All the Lab Assignments are performed for educational purposes.

Music used:
Рекомендации по теме
Комментарии
Автор

Can i just say I love you coz you just solved my exact query this helped me complete my projects last part

rigvedraut
Автор

This is really helpful. Thank you. Those inbound rules'll getcha every time.

duinterweb
Автор

after few days of searching i found this video. thank you so much brother

saravanankaliyamoorthy
Автор

Thank you so much for the detailed video😀

Pranavi_Sarees_Dresses
Автор

Bro u r a life saviour... after hours of searching i found this gold... You have got one subscriber forever😘😘

lonewolf.s.n.
Автор

Thanks a lot, it was very helpful to host a static site😊

badrinarayanans
Автор

I followed ever single step however I’m still getting the “unable to connect error” on my browser after enabling httpd

samalsaad
Автор

After everything I'm getting its works message but it won't comes designed website

Schinni
Автор

how to get that .zip file from github can anyone suggest..

atergunethajireddy
Автор

how to access the running app with AWS public DNS. please help!

Himalayan_Solivagant
Автор

Can we deploy a full stack application with the database in the same manner??

alamzia
Автор

Sir, you are connected your web page with GitHub. So whatever you are doing change on that repository so is their will be reflected on main website which we are hosted ?
And is their any changes for these ? and what is their expiry date ?

Yugalnasare
Автор

super bro Huge thanks for this web hosting guide!. and please Macke Video for Ip change to free domain Deploy Web application on AWS Cloud using EC2 Instance

sasikannan.p_vfx
Автор

how can i host file located locally in my computer

sthembisoncwane
Автор

followed same process to run a java code, copied the public IP address, the website doesn't show up. Instead, a page saying "It works!" pops up every time. I am unable to identify error

gautambollu
Автор

I followed all the procedure but at the end the browser shows "it works" but not running my application

kanhaiyachitrakar
Автор

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.

mohamedhendy
Автор

Only showing “its works!” How to fix please

jayveelagman
Автор

1:50 we got the same background image haha

nahh
Автор

you can call it a simple web hosting. Web application includes DB and other components.

gyaneshpokhrel