Skip to main content

Web Deployment

Deployment

Pushing to main triggers CodeBuild, or deploy locally (faster + free):

cd statux-web

# Landing (statux.io)
aws s3 sync landing/ s3://statux-landing-prod --delete --exclude "shared/*"
aws s3 sync shared/ s3://statux-landing-prod/shared/
aws cloudfront create-invalidation --distribution-id EVHSVR55HETJY --paths "/*"

# Statux Pages
aws s3 sync statuspages/ s3://statux-statuspage-web-prod --delete --exclude "shared/*"
aws s3 sync shared/ s3://statux-statuspage-web-prod/shared/
aws cloudfront create-invalidation --distribution-id E2SIXSFPDDG7V1 --paths "/*"

CloudFront Distribution IDs

SiteBucketCloudFront ID
Landingstatux-landing-prodEVHSVR55HETJY
Pagesstatux-statuspage-web-prodE2SIXSFPDDG7V1
Alertsstatux-alerts-web-prodE3Q0DZM3NF5A2B
Syntheticsstatux-synthetics-web-prodE3VIOK3AWE1I1T