The Revique Portal uses a fully automated CI/CD pipeline. Developers push code to Bitbucket, which automatically mirrors the code to AWS CodeCommit. AWS CodePipeline then detects the change, builds the application using CodeBuild, and deploys the output to an S3 bucket served via CloudFront with HTTPS.
ℹ️ Auto-Trigger: AWS EventBridge monitors CodeCommit for branch updates and automatically starts CodePipeline — no manual intervention needed.
Complete UAT Infrastructure
| Component |
Name / Value |
Details |
| AWS Account ID |
559832164745 |
hptuat profile |
| CodeCommit Repo |
Portal-UAT-Revique |
Source repository in AWS |
| Branch |
uat_v2 |
Triggers pipeline on push |
| CodeBuild Project |
revique-ui-uat-build-project |
Builds React app |
| CodePipeline |
revique-ui-uat |
Orchestrates Source→Build→Deploy |
| Artifact S3 Bucket |
codepipeline-us-east-2-76a8443243b5-479b-bb96-e72bad77cef8 |
Pipeline artifacts storage |
| Deploy S3 Bucket |
portal.uat.revique.io |
Static website hosting |
| CloudFront Distribution |
ET8GOKRBFDTA0 |
dif5t4g0qtm.cloudfront.net |
| SSL Certificate |
ACM (us-east-1) |
portal.uat.revique.io — ISSUED |
| Live URL |
https://portal.uat.revique.io |
Public HTTPS URL |
| API Backend |
api.uat.hellopatients.com |
API Gateway → Lambda |
| API Gateway ID |
e5vhce1xnb |
Stage: v1 |
| EventBridge Rule |
Portal-UAT-CodeCommit-Trigger |
Auto-triggers pipeline on push |
| CodePipeline Role |
AWSCodePipelineServiceRole-us-east-2-Portal-UAT-Pipeline |
IAM role for pipeline |
| CodeBuild Role |
codebuild-Portal-UAT-Build-service-role |
IAM role for build |
UAT Environment Variables (.env.uat)
VITE_AI_BASE_URL=https://sleepy-basin-33614-067a01f695d7.herokuapp.com
VITE_BASE_URL=https://api.uat.hellopatients.com
VITE_IOT_ENDPOINT=a1us6xreawsz2f-ats.iot.us-east-2.amazonaws.com
VITE_REGION=us-east-2
UAT Pipeline Stages
✅ No Manual Approval Required for UAT. Every push to uat_v2 branch automatically goes through Source → Build → Deploy without any manual intervention.
Complete Production Infrastructure
| Component |
Name / Value |
Details |
| AWS Account ID |
501304965564 |
hptprod profile |
| CodeCommit Repo |
Portal-Prod-Revique |
Source repository in AWS |
| Branch |
master_v2 |
Triggers pipeline on push |
| CodeBuild Project |
revique-ui-prod-build-project |
Builds React app |
| CodePipeline |
revique-ui-prod |
Orchestrates Source→Build→Approve→Deploy |
| Artifact S3 Bucket |
codepipeline-us-east-2-portal-prod-revique |
Pipeline artifacts storage |
| Deploy S3 Bucket |
portal.revique.io |
Static website hosting |
| CloudFront Distribution |
E3R4LE4GIAWP98 |
d35mar8e2zsmt8.cloudfront.net |
| SSL Certificate |
ACM (us-east-1) |
portal.revique.io — ISSUED |
| Live URL |
https://portal.revique.io |
Public HTTPS URL |
| API Backend |
api.hellopatients.com |
Production API |
| EventBridge Rule |
Portal-Prod-CodeCommit-Trigger |
Auto-triggers pipeline on push |
| Manual Approval |
✅ ENABLED |
Required before Deploy stage |
| CodePipeline Role |
AWSCodePipelineServiceRole-us-east-2-Portal-Prod-Pipeline |
IAM role for pipeline |
| CodeBuild Role |
codebuild-Portal-Prod-Build-service-role |
IAM role for build |
Production Environment Variables (.env.prod)
VITE_AI_BASE_URL=https://sleepy-basin-33614-067a01f695d7.herokuapp.com
VITE_BASE_URL=https://api.hellopatients.com
VITE_IOT_ENDPOINT=a1us6xreawsz2f-ats.iot.us-east-2.amazonaws.com
VITE_REGION=us-east-2
Production Pipeline Stages (With Manual Approval)
⚠️ Manual Approval Required for Production! After Build completes, someone must go to AWS Console → CodePipeline → revique-ui-prod → Click "Review" → Click "Approve" before the Deploy stage runs.
How to Approve Production Deployment
- 1Go to AWS Console → CodePipeline → revique-ui-prod
- 2Wait for Build stage to complete (green checkmark)
- 3In the Approve stage, click "Review" button
- 4Add a comment (optional) and click "Approve"
- 5Deploy stage will automatically start
- 6Verify on https://portal.revique.io
GoDaddy DNS Records
| Type | Name | Value | Environment |
| CNAME |
portal.uat |
dif5t4g0qtm.cloudfront.net |
UAT |
| CNAME |
portal |
d35mar8e2zsmt8.cloudfront.net |
PROD |
SSL Certificates (AWS ACM)
| Domain | Certificate ARN | Region | Status |
| portal.uat.revique.io |
arn:aws:acm:us-east-1:559832164745:certificate/d1a08201... |
us-east-1 |
ISSUED |
| portal.revique.io |
arn:aws:acm:us-east-1:501304965564:certificate/9fd1c034... |
us-east-1 |
ISSUED |
ℹ️ Important: SSL Certificates MUST be in us-east-1 region for CloudFront to use them, even though all other resources are in us-east-2.
CloudFront Distributions
| Distribution ID | Domain | Origin (S3) | Environment |
| ET8GOKRBFDTA0 |
dif5t4g0qtm.cloudfront.net |
portal.uat.revique.io.s3-website.us-east-2.amazonaws.com |
UAT |
| E3R4LE4GIAWP98 |
d35mar8e2zsmt8.cloudfront.net |
portal.revique.io.s3-website.us-east-2.amazonaws.com |
PROD |