Find anything in the Revique platform docs
Compliance, infrastructure, API status and operations in one place. Every page keeps its old address, so links from Slack and Jira still work.
Try “restore order”, “RB-CERT”, “INC-005” or “PCI requirement 8”. Shortcut: Ctrl K or /.
Compliance
Infrastructure
API
Operations
Recently updated
- Cloudflare live page: server-side read-only feed (built and tested, not deployed)4 Nov 2026
- Personal name replaced with DevOps on the docs site30 Oct 2026, 18:15 UTC
- Change Log page and homepage button published (two files)30 Oct 2026, 11:31 UTC
- One Slack webhook test message sent28 Oct 2026, 17:03 UTC
- Watch monitor for Cloudflare, GitHub and AWS DEV/UAT deployed (all scopes blocked)28 Oct 2026, 14:51 UTC
- Publishing secret-file excludes (proposal)28 Oct 2026
Platform overview
The infrastructure overview from the previous homepage, unchanged in content.
Revique Portal Infrastructure
Documentation
Complete CI/CD Pipeline & AWS Infrastructure Guide
Requirement-wise gap-analysis reports (hptprod · us-east-2). Click any requirement to open its report in a new tab.
Architecture Overview
BOTH ENVSThe 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.
Push
Repo
CodeCommit
CodeBuild
Bucket
CDN
Website
AWS Account Structure
ACCOUNTS| Profile Name | hptuat |
| Region | us-east-2 (Ohio) |
| CodeCommit Repo | Portal-UAT-Revique |
| Branch | uat_v2 |
| Domain | por**** |
| Profile Name | hptprod |
| Region | us-east-2 (Ohio) |
| CodeCommit Repo | Portal-Prod-Revique |
| Branch | master_v2 |
| Domain | por**** |
UAT Environment
UAT ONLYComplete UAT Infrastructure
| Component | Name / Value | Details |
|---|---|---|
| AWS Account ID | XXXXXXXXXXX | hptuat profile |
| CodeCommit Repo | Portal-UAT-Revique | Source repository in AWS |
| Branch | uat_v2 | Triggers pipeline on push |
| CodeBuild Project | rev**** | Builds React app |
| CodePipeline | rev**** | Orchestrates Source→Build→Deploy |
| Artifact S3 Bucket | cod**** | Pipeline artifacts storage |
| Deploy S3 Bucket | por**** | Static website hosting |
| CloudFront Distribution | XXXXXXXXXXX | XXXXXXXXXXX |
| SSL Certificate | ACM (us-east-1) | por**** — ISSUED |
| Live URL | https://por**** | Public HTTPS URL |
| API Backend | api**** | API Gateway → Lambda |
| API Gateway ID | e5v**** | 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://sle**** VITE_BASE_URL = https://api**** VITE_IOT_ENDPOINT = a1u**** VITE_REGION = us-east-2
UAT Pipeline Stages
CodeCommit
CodeBuild
Amazon S3
Production Environment
PROD ONLYComplete Production Infrastructure
| Component | Name / Value | Details |
|---|---|---|
| AWS Account ID | XXXXXXXXXXX | hptprod profile |
| CodeCommit Repo | Portal-Prod-Revique | Source repository in AWS |
| Branch | master_v2 | Triggers pipeline on push |
| CodeBuild Project | rev**** | Builds React app |
| CodePipeline | rev**** | Orchestrates Source→Build→Approve→Deploy |
| Artifact S3 Bucket | cod**** | Pipeline artifacts storage |
| Deploy S3 Bucket | por**** | Static website hosting |
| CloudFront Distribution | XXXXXXXXXXX | XXXXXXXXXXX |
| SSL Certificate | ACM (us-east-1) | por**** — ISSUED |
| Live URL | https://por**** | Public HTTPS URL |
| API Backend | api**** | 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://sle**** VITE_BASE_URL = https://api**** VITE_IOT_ENDPOINT = a1u**** VITE_REGION = us-east-2
Production Pipeline Stages (With Manual Approval)
CodeCommit
CodeBuild
Approval
Amazon S3
How to Approve Production Deployment
- 1 Go to AWS Console → CodePipeline → rev****
- 2 Wait for Build stage to complete (green checkmark)
- 3 In the Approve stage, click "Review" button
- 4 Add a comment (optional) and click "Approve"
- 5 Deploy stage will automatically start
- 6 Verify on https://por****
Bitbucket Pipeline Configuration
BOTH ENVSRepository Variables Required
| Variable Name | Value | Secured | Purpose |
|---|---|---|---|
| SSH_KEY_ID | XXXXXXXXXXXXXXXX | NO | IAM SSH Key ID for CodeCommit authentication |
| BITBUCKET_SSH_KEY_FILE | (auto-provided by Bitbucket) | YES | SSH private key file path |
Complete bitbucket-pipelines.yml
image : atlassian/default-image:2 pipelines : branches : # ── HPTUI-2.0 Branches (hptdev account) ── master : - step : name : Push to CodeCommit (master) script : - git fetch --unshallow - echo "Host git-codecommit.*.amazonaws.com" >> ~/.ssh/config - echo " User $SSH_KEY_ID" >> ~/.ssh/config - echo " IdentityFile $BITBUCKET_SSH_KEY_FILE" >> ~/.ssh/config - git remote add codecommit ssh://git-codecommit.us-east-2.amazonaws.com/v1/repos/HPTUI-2.0 - git push codecommit ${BITBUCKET_BRANCH} master_v2 : - step : name : Push to CodeCommit (master_v2 → PROD) script : - git fetch --unshallow - echo "Host git-codecommit.*.amazonaws.com" >> ~/.ssh/config - echo " User $SSH_KEY_ID" >> ~/.ssh/config - echo " IdentityFile $BITBUCKET_SSH_KEY_FILE" >> ~/.ssh/config - git remote add codecommit ssh://git-codecommit.us-east-2.amazonaws.com/v1/repos/Portal-Prod-Revique - git push codecommit ${BITBUCKET_BRANCH} uat_v2 : - step : name : Push to CodeCommit (uat_v2 → UAT) script : - git fetch --unshallow - echo "Host git-codecommit.*.amazonaws.com" >> ~/.ssh/config - echo " User $SSH_KEY_ID" >> ~/.ssh/config - echo " IdentityFile $BITBUCKET_SSH_KEY_FILE" >> ~/.ssh/config - git remote add codecommit ssh://git-codecommit.us-east-2.amazonaws.com/v1/repos/Portal-UAT-Revique - git push codecommit ${BITBUCKET_BRANCH} Branch to Environment Mapping
| Bitbucket Branch | CodeCommit Repo | AWS Account | Environment |
|---|---|---|---|
| uat_v2 | Portal-UAT-Revique | hptuat (XXXXXXXXXXX) | UAT |
| master_v2 | Portal-Prod-Revique | hptprod (XXXXXXXXXXX) | PRODUCTION |
Complete CI/CD Flow
BOTH ENVS- 1 Developer pushes to uat_v2 branch on Bitbucket
- 2 Bitbucket Pipeline triggers automatically
- 3 Pipeline runs
git fetch --unshallow - 4 Code pushed to Portal-UAT-Revique CodeCommit
- 5 EventBridge detects CodeCommit update
- 6 CodePipeline rev**** starts
- 7 CodeBuild runs
buildspec.yml - 8 Runs
npm install && npm run builduat - 9 Deploys
dist/to por**** S3 - ✅ Live at https://por****
- 1 Developer pushes to master_v2 branch on Bitbucket
- 2 Bitbucket Pipeline triggers automatically
- 3 Pipeline runs
git fetch --unshallow - 4 Code pushed to Portal-Prod-Revique CodeCommit
- 5 EventBridge detects CodeCommit update
- 6 CodePipeline rev**** starts
- 7 CodeBuild runs
buildspec.yml - 8 Runs
npm install && npm run buildprod - ⏸ PAUSES for Manual Approval!
- 9 Approver clicks Approve in AWS Console
- 10 Deploys
dist/to por**** S3 - ✅ Live at https://por****
BuildSpec Configuration
BOTH ENVSversion : 0.2 phases : pre_build : commands : - node -v - npm -v - rm -Rf node_modules/ - npm install build : commands : - echo "Building for $ENV" - "npm run build$ENV" artifacts : files : - '**/*' discard-paths : no base-directory : dist
version : 0.2 phases : pre_build : commands : - node -v - npm -v - rm -Rf node_modules/ - npm install build : commands : - echo "Building for $ENV" - "npm run build$ENV" artifacts : files : - '**/*' discard-paths : no base-directory : dist
Build Commands Explanation
| Command | What it does |
|---|---|
| base-directory: dist | Only the dist/ folder is uploaded to S3 |
Domain & SSL Setup
GODADDY + AWSGoDaddy DNS Records
| Type | Name | Value | Environment |
|---|---|---|---|
| CNAME | portal.uat | XXXXXXXXXXX | UAT |
| CNAME | portal | XXXXXXXXXXX | PROD |
SSL Certificates (AWS ACM)
| Domain | Certificate ARN | Region | Status |
|---|---|---|---|
| por**** | arn:aws:acm:us-east-1:XXXXXXXXXXX:certificate/XXXXXXXXXXX... | us-east-1 | ISSUED |
| por**** | arn:aws:acm:us-east-1:XXXXXXXXXXX:certificate/XXXXXXXXXXX... | us-east-1 | ISSUED |
CloudFront Distributions
| Distribution ID | Domain | Origin (S3) | Environment |
|---|---|---|---|
| XXXXXXXXXXX | XXXXXXXXXXX | por**** | UAT |
| XXXXXXXXXXX | XXXXXXXXXXX | por**** | PROD |
Developer Checklist
DEVELOPERS- ✅ Make your code changes locally
- ✅ Test locally with
npm run builduat - ✅ Commit your changes
- ✅ Push to uat_v2 branch on Bitbucket
- ✅ Bitbucket pipeline will auto-trigger
- ✅ Wait ~3-5 mins for build to complete
- ✅ Check https://por****
- ✅ Ensure code is tested on UAT first
- ✅ Commit your changes
- ✅ Push to master_v2 branch on Bitbucket
- ✅ Bitbucket pipeline will auto-trigger
- ✅ Wait for Build stage to complete
- ⏸ Go to AWS Console → CodePipeline
- ⏸ Click Review → Approve
- ✅ Wait ~2 mins for deploy
- ✅ Check https://por****
Quick Reference Commands
# Check UAT Pipeline Status aws codepipeline get-pipeline-state --name rev**** --profile hptuat # Manually Trigger UAT Pipeline aws codepipeline start-pipeline-execution --name rev**** --profile hptuat # Check PROD Pipeline Status aws codepipeline get-pipeline-state --name rev**** --profile hptprod # Manually Trigger PROD Pipeline aws codepipeline start-pipeline-execution --name rev**** --profile hptprod # Get Approval Token for PROD aws codepipeline get-pipeline-state \ --name rev**** --profile hptprod \ --query 'stageStates[?stageName==`Approve`].actionStates[0].latestExecution.token' \ --output text # Approve PROD Deployment via CLI aws codepipeline put-approval-result \ --pipeline-name rev**** \ --stage-name Approve \ --action-name ManualApproval \ --result '{"summary":"Approved","status":"Approved"}' \ --token YOUR_TOKEN \ --profile hptprod Troubleshooting
| Issue | Cause | Fix |
|---|---|---|
| Bitbucket pipeline fails | SSH key issue | Check SSH_KEY_ID variable in Bitbucket settings |
| CodeBuild fails | Missing permissions | Check CodeBuild IAM role permissions |
| Deploy fails — S3 Access Denied | CodePipeline role missing S3 permissions | Add S3PutObject permission to pipeline role |
| Pipeline not auto-triggering | EventBridge rule not configured | Check EventBridge rule and target role |
| Wrong API URL in build | .env file not copied correctly in buildspec | Verify cp command in buildspec.yml pre_build |
| Site shows old content | CloudFront cache | Create CloudFront invalidation: /* |