DEV Community

Cover image for Deploy Website on AWS
Sugam Agrawal
Sugam Agrawal

Posted on

Deploy Website on AWS

Here we are going to learn Deployment on AWS.
Steps:-
1. Go to AWS Console.
2. Create Account.
3. Select Launch EC2 instance.
4. Configure Network settings and SSH.
5. Now connect to your AWS instance.
6. Now in your instance Clone your website through github.
7. Install NVM in you AWS instance.
8. Now run you WebApp and assign port.
9. Now to run your webApp in background use below command:
> Command:-

    ```
       $ forever start ./bin/www
    ```
Enter fullscreen mode Exit fullscreen mode
  1. To check runnign background webApps use:
    > Command:-

    ```
       $ forever list
    ```
    
  2. Congrats your webApp is hoisted Now.

Discussion (3)

Collapse
navhalarjun profile image
Arjun Navhal

Will I use it for 2 web apps as a same time

Collapse
sugam50 profile image
Sugam Agrawal Author

Yes you can just you have to assign different PORT numbers

Collapse
navhalarjun profile image
Arjun Navhal

Ok buddy