© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Gustavo Martins T Borges
Trying to be better than me yesterday.
You can push your static files to AWS S3 bucket and serve with CloudFront. I'm using this away in my projects. On ClouldFront you need to config to always returns de index.html.
Pranay Ankit
console.log('hello hashnode');
Can you elaborate the process? I am pretty new to AWS
Create a S3 bucket > upload your static files > Go to properties and allow static web hosting. You can find a tutorial at AWS S3 docs.
Reuven Etzion
Dev
How do you handle environmental variables. Is it possible with S3?
I handle env variables at build time with webpack. If you wanna a staging and production env you can create one bucket for each.