Deploy Your React Application to AWS Using a Single Command

Simon Saliba
Level Up Coding
Published in
6 min readApr 12, 2021

--

In this article, we will deploy our React application to an Amazon Web Services Ubuntu machine using a single command. To be able to do this, we will write a shell script to connect with SSH to the remote host and copy the build version of our React application to the www directory of the server operating on the remote host.

--

--

Software Engineer, Entrepreneur and Writer. MSc. @ Mines Paris. Passionate about web development and security. Sometimes try to maintain healthy habits.