Deploy Web application on AWS Cloud using EC2 Instance

Поділитися
Вставка
  • Опубліковано 5 лют 2023
  • 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/Shreyas100100/Port...
    Music used:
    Track 1: • Jim Yosef - Link | Hou...
    Track 2: • Alan Walker - Fade (Of...
    Track 3: • Unknown Brain - Inspir...

КОМЕНТАРІ • 95

  • @rigvedraut6765
    @rigvedraut6765 9 місяців тому +6

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

  • @saravanankaliyamoorthy9479
    @saravanankaliyamoorthy9479 2 місяці тому +1

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

  • @duinterweb
    @duinterweb 4 місяці тому +1

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

  • @lonewolf.s.n.4083
    @lonewolf.s.n.4083 7 місяців тому +2

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

  • @Pranavi_Sarees_Jewlery
    @Pranavi_Sarees_Jewlery 11 місяців тому +1

    Thank you so much for the detailed video😀

  • @Rockstarsquad
    @Rockstarsquad 6 місяців тому +1

    Thanks for the video bro

  • @user-dk5mx1mw5q
    @user-dk5mx1mw5q 3 місяці тому +1

    Thank you it works

  • @knight_04
    @knight_04 2 місяці тому +1

    thanks it worked for me

  • @bricegnanago409
    @bricegnanago409 3 місяці тому +1

    Thank you so much

  • @user-zt3rh7nv3h
    @user-zt3rh7nv3h 7 днів тому +1

    thanks for the vidio broo

  • @aprudhviremo5031
    @aprudhviremo5031 5 днів тому +1

    Good One

  • @samalsaad7802
    @samalsaad7802 8 місяців тому +3

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

  • @sasikannan.p_vfx1301
    @sasikannan.p_vfx1301 8 місяців тому +1

    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  7 місяців тому +1

      Thank You !!
      Sure I will👍

  • @gyaneshpokhrel5261
    @gyaneshpokhrel5261 Місяць тому +1

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

  • @Schinni2730
    @Schinni2730 4 місяці тому +3

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

  • @pranjal2157
    @pranjal2157 Рік тому +1

    🔥🔥🔥🔥

  • @Yugalnasare
    @Yugalnasare 14 днів тому +1

    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 ?

  • @alamzia2905
    @alamzia2905 2 місяці тому +1

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

  • @atergunethajireddy6890
    @atergunethajireddy6890 5 місяців тому +4

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

  • @nahh9494
    @nahh9494 6 місяців тому +1

    1:50 we got the same background image haha

  • @mohamedhendy5556
    @mohamedhendy5556 9 місяців тому +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.

    • @AWSBoii1729
      @AWSBoii1729  9 місяців тому

      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 9 місяців тому

      I don't have a file strictly named "index.html". I checked the codebase still don't work.@@AWSBoii1729

    • @MohammedFairoz-cr9zj
      @MohammedFairoz-cr9zj 9 місяців тому

      @@AWSBoii1729 I am also facing same issue

    • @primefindz
      @primefindz 9 місяців тому

      same issue for me WEre you able to resolve it??

    • @mohamedhendy5556
      @mohamedhendy5556 8 місяців тому +1

      @@primefindz no still stuck:(

  • @SaniaShaikh9202
    @SaniaShaikh9202 3 місяці тому

    can i connect this to rds somehow?

  • @sthembisoncwane3412
    @sthembisoncwane3412 4 місяці тому

    how can i host file located locally in my computer

  • @gautambollu6472
    @gautambollu6472 8 місяців тому +2

    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 2 місяці тому

      Same for me, how to resolve anyone please help me

  • @kanhaiyachitrakar1972
    @kanhaiyachitrakar1972 24 дні тому

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

  • @Headshot-lx4hb
    @Headshot-lx4hb 6 місяців тому +1

    Shreyas content is good but avoid harsh background music ,affect focus.

  • @Himalayan_Solivagant
    @Himalayan_Solivagant День тому

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

  • @jayveelagman9432
    @jayveelagman9432 Місяць тому

    Only showing “its works!” How to fix please

  • @nagendragunda2567
    @nagendragunda2567 10 місяців тому +2

    will you make the same video by selecting the Ubuntu server?

    • @AWSBoii1729
      @AWSBoii1729  10 місяців тому

      Sure but it has the same process.

  • @tanvir608
    @tanvir608 5 місяців тому +1

    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  5 місяців тому +1

      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 5 місяців тому

      @@AWSBoii1729 I can get the GitHub URL. But I was looking to the Zip file URL

    • @majaharkazi2030
      @majaharkazi2030 2 місяці тому +1

      while downloading the zip file, right click on downlaod zip file and copy that link

  • @HariNandyala-lf1hw
    @HariNandyala-lf1hw Місяць тому

    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

  • @arindampadhy4934
    @arindampadhy4934 11 місяців тому +1

    wget code url error, "HTTP request sent, awaiting for response 404 not found" like this error

    • @AWSBoii1729
      @AWSBoii1729  9 місяців тому

      Use the public link for the GitHub URL.

    • @v.sreesairam9488
      @v.sreesairam9488 8 місяців тому

      @@AWSBoii1729 but can't we do it by using the private link itself?

  • @satyamprajapati.2688
    @satyamprajapati.2688 Рік тому +2

    How do you get zip file link. I was unble to understand that part

    • @AWSBoii1729
      @AWSBoii1729  10 місяців тому

      github.com/Shreyas100100/Portfolio-Website.git
      This is the link

    • @rigvedraut6765
      @rigvedraut6765 9 місяців тому +3

      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 2 місяці тому

      while downloading the zip file, right click on downlaod zip file and copy that link

  • @amanwadgaonkar9615
    @amanwadgaonkar9615 6 місяців тому +2

    the link from the github cannot be copied as .zip

    • @AWSBoii1729
      @AWSBoii1729  5 місяців тому

      See 3:26

    • @hastihajipara777
      @hastihajipara777 2 місяці тому

      Instead of clicking on "Download ZIP," right-click on it and select "Copy link address"

  • @tanushkamalik6532
    @tanushkamalik6532 11 місяців тому +1

    do I need to create an Iam account to host website

  • @gamalmahamed6401
    @gamalmahamed6401 Рік тому +1

    what did you type after 2:10

  • @Sudhanshusable98
    @Sudhanshusable98 Рік тому +1

    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 8 місяців тому +1

      @@AWSBoii1729 mujhe bhi bro same dikha raha hai maine sab follow kiya

  • @nikhilmishra8629
    @nikhilmishra8629 Рік тому +1

    Bro m going to deploy a Dotnet application… same commands will work?

  • @bhargav6322
    @bhargav6322 5 місяців тому +2

    Bro how did u copied the .zip file at 3:58 please anyone help

    • @AnandhuKrish1
      @AnandhuKrish1 5 місяців тому

      add : "/archive/refs/heads/master.zip " at the end of GitHub link

    • @MyLife-kh6tu
      @MyLife-kh6tu 3 місяці тому

      I have the same issue.

    • @hastihajipara777
      @hastihajipara777 2 місяці тому +2

      Instead of clicking on "Download ZIP," right-click on it and select "Copy link address"

    • @bhargav6322
      @bhargav6322 2 місяці тому

      Tnx bro

  • @abishekbaiju1705
    @abishekbaiju1705 9 місяців тому +1

    How can we make this https?

    • @AWSBoii1729
      @AWSBoii1729  9 місяців тому

      You will have to add the protocol in the EC2 Instance

  • @sahillokhande4285
    @sahillokhande4285 2 місяці тому

    Hi are you from viit pune

  • @beingblunt3523
    @beingblunt3523 9 місяців тому +1

    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  9 місяців тому

      You will have to install python on your ec2 instance.
      For that you can run "!pip install python" on your ec2 instance.

  • @padmapriya1579
    @padmapriya1579 3 місяці тому

    Can u pls upload install wordpress from ec2

  • @mnuman3692
    @mnuman3692 Місяць тому

    how can i get master zip

  • @moussabagayogo949
    @moussabagayogo949 6 місяців тому

    Super tuto mais le lien du master.zip est introuvable.Que faire ???

  • @yuktham6669
    @yuktham6669 Рік тому +2

    bro where is your porfolio git repo?

    • @AWSBoii1729
      @AWSBoii1729  10 місяців тому

      github.com/Shreyas100100/Portfolio-Website.git

  • @MetaHouseALin
    @MetaHouseALin 2 місяці тому +1

    BGM plz

  • @x0z59
    @x0z59 6 місяців тому +1

    Change your background music. that's over-used!

  • @farmciawei7534
    @farmciawei7534 4 місяці тому

    hello why mine “/var/www/html/” it showing mv:target /var/www/html is not a directory need help

  • @primefindz
    @primefindz 9 місяців тому +1

    i get /var/www/html/ is not a directory

    • @AWSBoii1729
      @AWSBoii1729  9 місяців тому

      You will have to install the httpd using the commands in the description.

    • @primefindz
      @primefindz 9 місяців тому

      did that but now my public IP just displays "It Works"@@AWSBoii1729