Deploying a React Js Application on AWS EC2
Testing the project locally
npm install
npm run start
Set up an AWS EC2 instance
ssh -i instance.pem ubunutu@<IP_ADDRESS>
Configuring Ubuntu on remote VM
sudo apt update
Deploying the project on AWS
git clone https://github.com/verma-kunal/AWS-Session.git
For this project, we'll have to set up an Elastic IP Address for our EC2 & that would be our DOMAIN
npm install
npm run start
NOTE - We will have to edit the inbound rules in the security group of our EC2, in order to allow traffic from our particular port
Project is deployed on AWS 🎉
Great!
Interesting!