Hacker News new | ask | show | jobs
by abetlen 2421 days ago
I guess it depends on how far down the rabbit hole you want to go and what you want to learn?

For example, we recently built something to the same effect to deploy our single page applications to AWS. It creates a new Cloudformation Stacks for each site, sets up CodePipeline for continous deployment, build artifacts are placed in a public S3 bucket, and then it's served through CloudFront as the CDN. Beyond that you just need to set up Route53 for your domain and use the Certificate Manger to handle SSL.

I know that's pretty specific to AWS but hopefully it gives you an idea of where you'd start.

Basically to build it from scratch you'd need: - A service that can respond to GitHub webhooks, build projects in an isolated environment based on a config, and push build artifacts out.

- A content distribution network that you can deploy those artifacts to.

- A DNS server to route traffic.

- An SSL service like Let's Encrypt CertBot to issue certificates periodically.