How does B12 host my website?

Written by Adam Marcus


We statically compile the HTML, CSS, and JavaScript that powers each B12 website every time you click the Preview or Publish buttons in the website editor. By compiling the content on preview or publish, we ensure that we run no dynamic code in serving your website, reducing the surface area of potential attacks against your website.

We then deploy the website content to Amazon's Simple Storage Service (S3), which Amazon describes as "designed for 99.999999999% (11 9’s) of data durability because it automatically creates and stores copies of all S3 objects across multiple systems." In simple terms, this means that your website's content is in a safe place, and its backing storage is likely to only go down if the rest of the Internet is experiencing a once-in-a-blue-moon event.

We serve your website from tens of Amazon EC2 servers across several availability zones in Virginia. In simple terms, if any of the servers or even a data center in which the servers are located were to go offline, your website would see no interruption. Your larger assets such as images are served through a content distribution network (CDN) called Amazon CloudFront, which quickly serves content from one of the hundreds of locations that's closest to your website's visitors. Finally, our web servers utilize a service called LetsEncrypt, through which we're able to install HTTPS/TLS certificates, serving your website in a way that allows your visitors to verify your identity.