CivicTechJobs icon indicating copy to clipboard operation
CivicTechJobs copied to clipboard

Cost savings: Host static in s3 bucket

Open Aveline-art opened this issue 2 years ago • 1 comments

Overview

As a developer, we should keep our product scalable and cost effective. For this ticket, we will try to save on hosting costs by hosting our static in s3.

Action Items

  • [ ] Find a way to upload webpack bundled static onto s3 in staging and production (dev should continue to serve static locally)
  • [ ] Also find a way to upload django collectstatic onto s3 in staging and production
  • [ ] Configure django in staging and production to look for static from an s3 bucket

Resources/Instructions

Resources

This is a good ticket to have in our back pocket when we need to cut costs. Since the frontend and backend directory is mostly independent of one another, we can further reduce our reliance on connecting them by serving our static via s3 rather than keeping them in our servers. This will reduce costs since hosting on s3 is dirt cheap.

Aveline-art avatar Jun 03 '23 03:06 Aveline-art

@alexlaw528 Can you please give provide an update for this issue by answering the following:

Progress: Blockers
 Availability: ETA:

ghost avatar Nov 07 '23 22:11 ghost

Closing this issue - since it is outdated/ not a priority anymore - based off of #552

nooriaali9 avatar Aug 22 '24 02:08 nooriaali9