Skip to main content

Posts

Showing posts from July, 2020

Continuous Deployment of React App to AWS EC2 with Bitbucket-Pipelines

Each time you push the code in the application repository bit bucket is an automated process for deploying applications on AWS EC2 instances. This can be achieved by combining several useful tools such as AWS CodeDeploy and Bitbucket Pipelines. AWS Console Login in AWS console with registered email i.e. with the root.  IAM Group First create IAM group with AmazonS3FullAccess and AWSCodeDeployFullAccess permissions. Step1: In AWS console, from services search IAM and goto IAM console Step2: Goto Groups by clicking Groups in left navigation panel. Step3: Click on Create New Group, Step4: Enter Group Name (I have entered TestDeployGroup), click on Next Step. Step5: Allow AmazonS3FullAccess and AWSCodeDeployFullAccess permissions by selecting them and click on Next Step. Step6: Now review tab will open. Here are you can review the group information and now click on Create Group. IAM User Now create IAM user that Bitbucket can use to upload artifacts to S3 and inform CodeDeploy that a new r