Secrets stay out
The uploader uses a file allowlist. Environment files, Git history, credentials, company source and CDK output are excluded.
AWS DEPLOYMENT SETUP
An isolated HTML test for the build and deployment process. This page runs on the existing staging server over HTTPS. No company application code or database operations are part of this release.
Explore the setup ↓01 / DELIVERY FLOW
An explicit file allowlist packages only the test page and deployment hooks.
A versioned ZIP starts a separate Solix pipeline. No GitHub push is needed.
Checks required assets and generates build metadata before packaging. This stage requires an available account build quota.
Installs the static site, validates Nginx and verifies the exact release over HTTPS.
02 / AWS SERVICES
The lab reuses the existing server and network. It adds its own pipeline resources; it does not create another EC2 instance or database.
| Scope | Service | Purpose |
|---|---|---|
| Solix lab | CloudFormation / CDK | One separate stack for repeatable test infrastructure. |
| Solix lab | S3 · 2 buckets | Versioned test source and build artifacts, private with encryption and HTTPS-only access. |
| Solix lab | CodePipeline V2 | Source → Build → DeployStaging, explicitly started for each test release. |
| Solix lab | CodeBuild | Static artifact checks, release metadata and packaging. |
| Solix lab | CodeDeploy | One application and deployment group targeting the selected staging server. |
| Solix lab | IAM / CloudWatch Logs | Pipeline service roles, artifact read permission and one build log group. |
| Existing staging | VPC / networking | VPC, 6 subnets, Internet Gateway, one NAT Gateway, routes and security groups. |
| Existing staging | EC2 / EBS / Elastic IP | Ubuntu server, encrypted 30 GB disk and fixed public IP. Nginx serves this page. |
| Existing staging | RDS PostgreSQL | Private encrypted database with backups. This static lab does not connect to it. |
| Existing staging | S3 / Secrets Manager | Application storage, original artifacts, audit logs and application configuration; not packaged in this release. |
| Existing staging | CloudWatch / SNS | 4 infrastructure alarms: EC2 CPU, EC2 status, RDS CPU and RDS storage. Email subscription is not configured. |
| Existing staging | CloudTrail / EventBridge / Lambda | Audit trail, original deployment failure rules and application secret-change restart automation. |
| Existing staging | Systems Manager | Server administration without an open SSH port. |
| Existing staging | Original CI/CD / GitHub connection | Preserved separately. Its browser authorization is not required by this S3 test pipeline. |
DNS is managed at Namecheap. HTTPS uses a Let’s Encrypt certificate on Nginx, not an AWS load balancer or ACM certificate. Existing NAT, EC2, RDS and other resources continue to incur charges.
03 / HANDLED EDGE CASES
The uploader uses a file allowlist. Environment files, Git history, credentials, company source and CDK output are excluded.
Build validation stops the pipeline when the HTML marker or required deployment files are missing.
The deployment command verifies account identity and the selected instance. A dedicated tag limits CodeDeploy targeting.
The hook validates before reload. On failure it restores the previous config; a first-install backup is also retained.
Deployment fails clearly when the existing certificate or private key is absent. HTTPS trust remains enabled in health checks.
CodeDeploy rollback is enabled. The health check compares served build metadata with the current artifact. Rollback needs a previous successful revision.
04 / CURRENT LIMITS
05 / FUTURE MODIFICATIONS
site/, validate locally, then run the publish command. Each upload creates a new version and build record.cdk/, review cdk diff, then deploy the Solix stack. Keep resource IDs stable to avoid replacements.