This tutorial will guide you to deploy a React web application in Nginx
server in AWS EC2
using Bitbucket Pipelines.
To get started you will require the following things:
- Bitbucket account (Free plan is okay)
- AWS Account
- AWS EC2 instance with
Nginx
installed
- SSH access to EC2 instance
- and Obviously, basic knowledge of Git
Let’s get started.
- Create a new React app and push the code in Bitbucket by creating a new repository. (Or, you can use your existing React app repository)
- Goto the repository settings
Bitbucket menu
- Scroll down to the PIPELINES then click
Settings
and Enable Pipelines
Bitbucket Pipelines Settings
- Click
Configure bitbucket-pipelines.yml
#react #nginx #aws #aws-ec2 #bitbucket-pipelines