This post describes how to deploy a static website in AWS just like the one you are reading right now.
Despite being pretty easy in the basic scenario, serving files with pretty URLs is not straightforward.
As a result, I decided to write this post.
Nowadays, if you use a computer, you are likely to run untrusted code and work with untrusted data.
Everyday scenarios include executing a JavaScript code in a browser and opening an email in an email client.
While any modern web browser and email client will provide some sandboxing, this is not a general case for most software.
I find software development to be particularly risky because, as software developers, we tend to use various third party code from public repositories.
In this post, I’m describing an approach to sandboxing specific to the NixOS.
I found it surprisingly easy and flexible, so I thought that I might write about it. :)