DEV Community

Cover image for Deploy Website on AWS
Sugam Agrawal
Sugam Agrawal

Posted on

5 4

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.

Top comments (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

Yes you can just you have to assign different PORT numbers

Collapse
 
navhalarjun profile image
Arjun Navhal

Ok buddy

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more