tgxn/lemmy-explorer

Switch Deployments to use GitHub Pages

tgxn opened this issue · 3 comments

tgxn commented

Currently, deployments are handles by AWS CDK and deployed into AWS CloudFront distributions.

There are a couple reasons why GitHub pages might be better:

  • Faster deploy times
  • No paying to AWS services
  • Easy deployment pipelines via GitHub
  • Free hosting/storage for data...

Cons:

  • Is it slower to load/not distributed?
  • Do they support having thousands of JSON files for site-data?
  • Can we have multiple deployments for develop/production on different URL's?
tgxn commented

Not possible to host multiple pages on a single repo:
https://github.com/orgs/community/discussions/21582#discussioncomment-3233768

tgxn commented

currently I only have the Data page on github, which seems to work well... Need to monitor costs, as AWS is getting to around $50/mo
image

region-Requests-Tier1 | Count | Hourly | The number of PUT, COPY, or POST requests for STANDARD, RRS, and tags, plus LIST requests for all buckets and objects

tgxn commented

Average Daily Consumption
image