Ninja Space Content Blog

Deploying React App on AWS Beanstalk

Posted by Ninja Space Content on Sunday, January 24, 2021 Under: AWS
Here are the steps that I took to deploy my React App today: 
  1. First sign up for a free AWS account
  2. Create a new app in AWS Beanstalk
  3. Use git to bundle my source according to instructions here: $ git archive -v -o myapp.zip --format=zip HEAD
  4. One thing that I noticed that AWS Beanstalk looks for to run the files in there server.js (back-end) and client folder (front-end). So I'll need to make some changes. Example: my server file should be named server.js and not "index.js" like I have now. Also, they run the server on PORT 8081. So if you've configured your PORT to 4000 or whatever in your file, you'll need do a configuration change or I'm just going to try to change it in my file directly.
  5. (Still in process to deploy -- stay tuned)

In : AWS 


Tags: deploy react app instructions using amazon web services  aws  beanstalk  free 

About Ninja Space Content


Ninja Space Content I have been building simple websites on my own since 2008 and currently run several websites at the moment, including this one. I used to be an account manager for an affiliate/e-commerce company, helping affiliates grow their sales so I have some knowledge on the business side and client side of affiliate marketing. Most recently, I decided to complete a coding bootcamp and have just graduated in Dec 2020.
Note: links to resources and promoting special deals may allow me to earn a commission from each sale.