Sandstorm TestLab productions presents

AWS Serverless hosting of a static (gatsby) website via CICD

Welcome to the static website hosting CICD test area. a Code pipeline initiates a build and deployment to test.sandstorm.nl and will coexist next to other CodePipelines. Some resources are shared via the Sandstorm InfraStack to keep AWS deployment & troubleshooting efficient.

Website code is developed in a VDI environment. The VDI environment allows local testing and verification. Source code is versioned by pushing it to GitHub. AWS CodePipeline will notice an updated Github repo, download it, and follow build instructions to create the static website and deploy its code accordingly.

The IAC template takes care of setting up a superfast and secure website via CloudFront (CDN) distribution. It also adds SSL Certificates and creates/glues domainnames if the zone is available in Route53: e.g. example.com and www.example.com. The final work being tested here started to integrate with Gatsby websites being deployed via CICD. but since Gatsby has grown too complex overtime I have now focussed on JAM stack. Next to Gatsby it now facilitates an "universal" approach for other websites like Bootstrap still taking advantage of versioning via Github.

Static websites are simple to maintain but are fast and secure. You can add dynamic content by having the website interact with other services through APIs. Awesome!

Have a look at some production sites here: kapsalonpink | goudsmid frankbrons | jvh techniek westland or sandstorm main website

Go to page 2
hello world again