Тёмный

Deploy Web application on AWS Cloud using EC2 Instance 

Shreyas Kulkarni
Подписаться 323
Просмотров 95 тыс.
50% 1

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
7. For this assignment we have created a portfolio website which we have uploaded on Github.com.
8. Copy the Download Link for the .zip file of the portfolio
9. using the wget command, download the zip file to the folder.
10. unzip the master.zip file and navigate in to the ShreyasKulkarni_Portfolio-master folder using the cd command.
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.
GitHub Repository Link: github.com/Shr...
Music used:
Track 1: • Jim Yosef - Link | Hou...
Track 2: • Alan Walker - Fade (Of...
Track 3: • Unknown Brain - Inspir...

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

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 106   
@rigvedraut6765
@rigvedraut6765 Год назад
Can i just say I love you coz you just solved my exact query this helped me complete my projects last part
@AWSBoii1729
@AWSBoii1729 Год назад
Thank you ! 😊
@vishnuvichu4145
@vishnuvichu4145 4 дня назад
Dear Sir I am HAppy For Your RU-vidr Channel.Reason Your Videos Are Project Basesd Video Iam very Happy.Please Note One Request fore You will Please Uplode Only Project Based Videos .s3, deply.all services Realted Vidies Only
@AWSBoii1729
@AWSBoii1729 4 дня назад
@@vishnuvichu4145 definitely
@saravanankaliyamoorthy9479
@saravanankaliyamoorthy9479 5 месяцев назад
after few days of searching i found this video. thank you so much brother
@atergunethajireddy6890
@atergunethajireddy6890 8 месяцев назад
how to get that .zip file from github can anyone suggest..
@gyaneshpokhrel5261
@gyaneshpokhrel5261 4 месяца назад
you can call it a simple web hosting. Web application includes DB and other components.
@harshitgupta3639
@harshitgupta3639 День назад
hello bro, i do everything just as you do and it run yesterday night but after some hours i try to open it , it doesn't opening... website isn't opening , can you tell me what's the problem
@samalsaad7802
@samalsaad7802 11 месяцев назад
I followed ever single step however I’m still getting the “unable to connect error” on my browser after enabling httpd
@jessieroxon
@jessieroxon Месяц назад
Amazing! Thanks for the demo
@ChinniArthub
@ChinniArthub 7 месяцев назад
After everything I'm getting its works message but it won't comes designed website
@Pranavi_Sarees_Dresses
@Pranavi_Sarees_Dresses Год назад
Thank you so much for the detailed video😀
@AWSBoii1729
@AWSBoii1729 Год назад
Glad it was helpful!
@testtest-c4z
@testtest-c4z 11 дней назад
Very good video! I have a question for you, should the .php files or even an .env be in the same var/www/html folder or outside of it so that it is not accessible from the web? Should they be in another vpc? Thank you so much!
@sasikannan.p_vfx1301
@sasikannan.p_vfx1301 10 месяцев назад
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
@AWSBoii1729
@AWSBoii1729 10 месяцев назад
Thank You !! Sure I will👍
@Headshot-lx4hb
@Headshot-lx4hb 9 месяцев назад
Shreyas content is good but avoid harsh background music ,affect focus.
@AWSBoii1729
@AWSBoii1729 9 месяцев назад
Sure 👍
@spjcoder
@spjcoder 7 дней назад
Thanks
@BajoriaEntertainmentPrivateLim
@BajoriaEntertainmentPrivateLim 14 дней назад
hi not getting Download Zip section from my bitbucket
@bhargav6322
@bhargav6322 8 месяцев назад
Bro how did u copied the .zip file at 3:58 please anyone help
@AnandhuKrish1
@AnandhuKrish1 8 месяцев назад
add : "/archive/refs/heads/master.zip " at the end of GitHub link
@MyLife-kh6tu
@MyLife-kh6tu 6 месяцев назад
I have the same issue.
@hastihajipara777
@hastihajipara777 5 месяцев назад
Instead of clicking on "Download ZIP," right-click on it and select "Copy link address"
@bhargav6322
@bhargav6322 5 месяцев назад
Tnx bro
@Rockstarsquad
@Rockstarsquad 9 месяцев назад
Thanks for the video bro
@knight_04
@knight_04 5 месяцев назад
thanks it worked for me
@ralashashankyadav5509
@ralashashankyadav5509 2 месяца назад
Everything I done as per your instructions,but at last after start httpd ,i reloaded but website shows other html file which displays It works! Plz help me
@aprudhviremo5031
@aprudhviremo5031 3 месяца назад
Good One
@amanwadgaonkar9615
@amanwadgaonkar9615 9 месяцев назад
the link from the github cannot be copied as .zip
@AWSBoii1729
@AWSBoii1729 8 месяцев назад
See 3:26
@hastihajipara777
@hastihajipara777 5 месяцев назад
Instead of clicking on "Download ZIP," right-click on it and select "Copy link address"
@bricegnanago409
@bricegnanago409 6 месяцев назад
Thank you so much
@nahh9494
@nahh9494 9 месяцев назад
1:50 we got the same background image haha
@BakurAjalah
@BakurAjalah 3 месяца назад
thanks for the vidio broo
@tanvir608
@tanvir608 8 месяцев назад
How is you copy the zip file URL. when I download the zip file it goes to my local and i'm unable to using the wget to updated into the project. any advice?
@AWSBoii1729
@AWSBoii1729 8 месяцев назад
On the Code button you will get a drop-down. There is a GitHub URL you can click on the copy icon and you will get it
@tanvir608
@tanvir608 8 месяцев назад
@@AWSBoii1729 I can get the GitHub URL. But I was looking to the Zip file URL
@majaharkazi2030
@majaharkazi2030 5 месяцев назад
while downloading the zip file, right click on downlaod zip file and copy that link
@satyamprajapati.2688
@satyamprajapati.2688 Год назад
How do you get zip file link. I was unble to understand that part
@AWSBoii1729
@AWSBoii1729 Год назад
github.com/Shreyas100100/Portfolio-Website.git This is the link
@rigvedraut6765
@rigvedraut6765 Год назад
bro go to code -> https-> now you will get to see the download zip option so dont click on it just click right click copy download link and use that link as shown in the video
@majaharkazi2030
@majaharkazi2030 5 месяцев назад
while downloading the zip file, right click on downlaod zip file and copy that link
@HariNandyala-lf1hw
@HariNandyala-lf1hw 3 месяца назад
Actually i have private git repo when i tried for that i am getting an error even i do git clone if i give my password it showed denied can you anyone help me to fix that one
@nagendragunda2567
@nagendragunda2567 Год назад
will you make the same video by selecting the Ubuntu server?
@AWSBoii1729
@AWSBoii1729 Год назад
Sure but it has the same process.
@arindampadhy4934
@arindampadhy4934 Год назад
wget code url error, "HTTP request sent, awaiting for response 404 not found" like this error
@AWSBoii1729
@AWSBoii1729 Год назад
Use the public link for the GitHub URL.
@v.sreesairam9488
@v.sreesairam9488 11 месяцев назад
@@AWSBoii1729 but can't we do it by using the private link itself?
@Sudhanshusable98
@Sudhanshusable98 Год назад
Mere lepi me sirf It work! Show ho rha jo webpage deploy kiya vo show nhi ho rha he ❓
@AWSBoii1729
@AWSBoii1729 Год назад
Follow the procedure in the description step by step according to the video. It must work
@phy2503
@phy2503 10 месяцев назад
@@AWSBoii1729 mujhe bhi bro same dikha raha hai maine sab follow kiya
@SaniaShaikh9202
@SaniaShaikh9202 5 месяцев назад
can i connect this to rds somehow?
@tanushkamalik6532
@tanushkamalik6532 Год назад
do I need to create an Iam account to host website
@AWSBoii1729
@AWSBoii1729 Год назад
It is not necessary.
@pranjal2157
@pranjal2157 Год назад
🔥🔥🔥🔥
@AWSBoii1729
@AWSBoii1729 Год назад
Thank You Pranjal !
@abishekbaiju1705
@abishekbaiju1705 Год назад
How can we make this https?
@AWSBoii1729
@AWSBoii1729 11 месяцев назад
You will have to add the protocol in the EC2 Instance
@mnuman3692
@mnuman3692 4 месяца назад
how can i get master zip
@padmapriya1579
@padmapriya1579 6 месяцев назад
Can u pls upload install wordpress from ec2
@x0z59
@x0z59 9 месяцев назад
Change your background music. that's over-used!
@nikhilmishra8629
@nikhilmishra8629 Год назад
Bro m going to deploy a Dotnet application… same commands will work?
@AWSBoii1729
@AWSBoii1729 Год назад
Yes it will
@sahillokhande4285
@sahillokhande4285 5 месяцев назад
Hi are you from viit pune
@moussabagayogo949
@moussabagayogo949 9 месяцев назад
Super tuto mais le lien du master.zip est introuvable.Que faire ???
@vamshiartham3218
@vamshiartham3218 4 месяца назад
yes
@MetaHouseALin
@MetaHouseALin 5 месяцев назад
BGM plz
@AWSBoii1729
@AWSBoii1729 5 месяцев назад
Check description
@linda_erose
@linda_erose 11 месяцев назад
i get /var/www/html/ is not a directory
@AWSBoii1729
@AWSBoii1729 11 месяцев назад
You will have to install the httpd using the commands in the description.
@linda_erose
@linda_erose 11 месяцев назад
did that but now my public IP just displays "It Works"@@AWSBoii1729
@Yugalnasare
@Yugalnasare 3 месяца назад
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 ?
@gautambollu6472
@gautambollu6472 11 месяцев назад
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
@jyothikatakam825
@jyothikatakam825 4 месяца назад
Same for me, how to resolve anyone please help me
@mohamedhendy5556
@mohamedhendy5556 Год назад
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.
@AWSBoii1729
@AWSBoii1729 Год назад
It might be in your page or file in your index.html or codebase which is displayed. Kindly check once. Even if it doesn't work lemme know.
@mohamedhendy5556
@mohamedhendy5556 Год назад
I don't have a file strictly named "index.html". I checked the codebase still don't work.@@AWSBoii1729
@MohammedFairoz-cr9zj
@MohammedFairoz-cr9zj Год назад
@@AWSBoii1729 I am also facing same issue
@linda_erose
@linda_erose 11 месяцев назад
same issue for me WEre you able to resolve it??
@mohamedhendy5556
@mohamedhendy5556 11 месяцев назад
@@linda_erose no still stuck:(
@lonewolf.s.n.4083
@lonewolf.s.n.4083 10 месяцев назад
Bro u r a life saviour... after hours of searching i found this gold... You have got one subscriber forever😘😘
@AWSBoii1729
@AWSBoii1729 9 месяцев назад
Thank You ! 😊
@alamzia2905
@alamzia2905 5 месяцев назад
Can we deploy a full stack application with the database in the same manner??
@duythuonginh5073
@duythuonginh5073 Месяц назад
Hello, what command are you typing in the video at minute 5;01? # that location
@kanhaiyachitrakar1972
@kanhaiyachitrakar1972 3 месяца назад
I followed all the procedure but at the end the browser shows "it works" but not running my application
@Himalayan_Solivagant
@Himalayan_Solivagant 3 месяца назад
how to access the running app with AWS public DNS. please help!
@duinterweb
@duinterweb 7 месяцев назад
This is really helpful. Thank you. Those inbound rules'll getcha every time.
@jayveelagman9432
@jayveelagman9432 4 месяца назад
Only showing “its works!” How to fix please
@badrinarayanans355
@badrinarayanans355 2 месяца назад
Thanks a lot, it was very helpful to host a static site😊
@sthembisoncwane3412
@sthembisoncwane3412 7 месяцев назад
how can i host file located locally in my computer
@gamalmahamed6401
@gamalmahamed6401 Год назад
what did you type after 2:10
@AWSBoii1729
@AWSBoii1729 Год назад
sudo su -
@beingblunt3523
@beingblunt3523 Год назад
followed same process to run a python app, but i'm getting 403 forbidden error. Unable to figure out what's the prob.
@AWSBoii1729
@AWSBoii1729 Год назад
You will have to install python on your ec2 instance. For that you can run "!pip install python" on your ec2 instance.
@yuktham6669
@yuktham6669 Год назад
bro where is your porfolio git repo?
@AWSBoii1729
@AWSBoii1729 Год назад
github.com/Shreyas100100/Portfolio-Website.git
@farmciawei7534
@farmciawei7534 7 месяцев назад
hello why mine “/var/www/html/” it showing mv:target /var/www/html is not a directory need help
Далее
FATAL CHASE 😳 😳
00:19
Просмотров 193 тыс.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Deploy A Fullstack REACT APP on AWS EC2
23:53
Просмотров 56 тыс.
Top 50+ AWS Services Explained in 10 Minutes
11:46
Просмотров 1,5 млн
Cloud Computing Beginner to Expert with 3 Projects
14:01