Cloudflare

As stated on the previous post, this domain balealabs.com was purchased from Cloudflare’s registrar. Even though it is not mandatory, it is very convenient to use Cloudflare’s Domain Name Server (DNS for the intimate) as authorative for this domain. Besides that, Cloudflare free plan has a lot of very nice features.

One of these features is that Cloudflare acts as a reverse proxy for our origin server (the nginx instance running on EC2). This means that every request made from anyone on the internet first goes through Cloudflare and only Cloudflare talks directly to our server. This has a nice side effect that Cloudflare can cache the website’s content. So, sometimes when someone visits this website, the content is served from Cloudflare’s cache, sparing our webserver. Another side effect is that the Cloudflare handles the internet facing certificate renewal. The certificate used between the origin server and Cloudflare does not need to be renewed very often (in fact, its validity is 15 years).

How this website runs

Just to keep the daily streak of content going (the about section was written yesterday), this post verses about the nitty gritty aspects of how this site come to be, one request at a time.

First of all, as of now, this is a fully static website, meaning that it is just html, css and javascript that goes from server to the client (your browser) and stays there. There is no back and forth between the site (a front-end, if I may) and a backend of any kind. In the future, however, I would like this to be a web application (for my own pedagogical reasons).

Here be dragons

Not everything has a beginning, but this blog starts here.

This website aims to be a storage, a repository, a portfolio, a collection of things generated, curated and liked by me: iury.

I am a former economist who worked during 9 years on the Brazil Stock and Exchange Commission and has transitioned into the software development industry.

I intend to document all aspects of this career transition and all tech subjects that interest me in this website. Expect posts on the hosting setup, traffic data analysis, leetcode questions, software architecture and possibly some gaming and other stuff.