Loading...
2 min read

GlobeBounds is an interactive geospatial visualisation tool that allows users to explore country boundaries using GeoJSON data. Users can select a country and view its precise polygon shape, with the map dynamically adjusting to focus on that region.
GlobeBounds is deployed using a fully automated continuous deployment pipeline built with GitHub Actions, Amazon S3, and Amazon CloudFront.
The pipeline ensures that every code change is automatically built, validated, and deployed to production without any manual steps.

Every push to the repository triggers the deployment pipeline.
This ensures the production site always reflects the latest successful build.
The pipeline uses a least privilege IAM user rather than full access credentials. Permissions are restricted to:
This follows standard security practices for production deployments.
During development, deployments were completing successfully but changes were not visible on the live site.
CloudFront was serving cached content from edge locations, resulting in stale files being delivered to users.
A cache invalidation step was added to the pipeline:
aws cloudfront create-invalidation --distribution-id <ID> --paths "/*"This forces CloudFront to fetch updated files from S3 after each deployment.


