-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup prod hosting of static media for AWS prod #2949
Setup prod hosting of static media for AWS prod #2949
Comments
In this case we can also build a single image that will either run |
regarding S3 / Cloudfront: mozmeao/infra#391 (click through to the viewsource issue) |
I suggest that we go fwd with the following plan:
This way:
To move forward we need:
What do you think @mozilla/sumo? |
How do these CDN setting look? mozmeao/infra#694 |
We're currently using Pipeline which takes care of static files collection and generates bundles with the assets. Pipeline works OK and the bundles are useful and in addition to what whitenoise offers. So we keep the Pipeline based Storage backend as we have it now. I tested the current Whitenoise implementation and it sets proper headers for static files tl;dr no changes needed on the code side to move fwd with this. We can evaluate replacing Pipeline with something different / more modern in the future. |
per the WhiteNoise docs, each CDN is limited to (See the Behaviors tab for each CDN below) |
I did setup sumo-dev.frankfurt.moz.works to use dev CDN and it works like a charm. nice work as always @metadave I guess all we need now is the |
Sorry, should have dropped the bug # in when I created it last week: |
This is now done. Update from bug
|
For dev we'll probably just serve static media from the primary docker container via whitenoise, but that won't scale to prod traffic. We have some options:
The text was updated successfully, but these errors were encountered: