Skip to main content

From Cloud to Couch, My Blog's Quirky Journey Home

· Waktu baca 5 menit
Agastya Darma Laksana

Selamat datang di perjalanan digital terbaru saya – sebuah kisah yang menggabungkan teknologi dan humor, serta sepenuhnya berdasarkan kenyataan. Saya ingin berbagi tentang bagaimana blog saya, yang sebelumnya hanya merupakan bagian kecil dari awan digital yang luas, akhirnya berpindah ke lingkungan yang lebih hangat di rumah saya sendiri. Benar, Anda tidak salah membaca. Blog saya sekarang dihosting pada server Raspberry Pi 4, yang berada langsung di bawah atap rumah saya. Mari kita ikuti bersama perjalanan menarik ini

The Origin Story

Setiap petualangan besar dimulai dengan sebuah visi. Visi saya terwujud dengan menggunakan Docusaurus – sebuah platform luar biasa yang memudahkan proses pembuatan dokumentasi dan juga berfungsi ganda sebagai kerangka kerja blog yang cemerlang. Ini ibarat memiliki Pisau Swiss, namun untuk keperluan blogging. Menarik, bukan?

Saya harus mengakui, dalam dunia digital, saya cenderung sangat rapi dan terorganisir. Oleh karena itu, blog saya di-dockerisasi. Bayangkan seolah-olah Anda memasukkan seluruh isi rumah ke dalam sebuah koper ajaib, siap untuk dipindahkan ke mana saja, kapan saja. Teknik cerdas ini membuat proses migrasi saya lebih mulus daripada membuat espresso di pagi hari.

A Raspberry Homecoming

Sekarang, mari kita bicarakan tentang bintang utama acara kita – Raspberry Pi 4. Perangkat kecil namun perkasa ini bertransformasi dari mainan penggemar menjadi kekuatan di balik blog saya. Menghosting blog di Raspberry Pi? Terdengar gila, bukan? Tapi itulah yang saya lakukan. Di sudut tenang rumah saya, gadget kecil ini berdengung dengan kehidupan blog saya, membuktikan bahwa Anda tidak memerlukan server besar untuk membuat dampak besar di panggung digital.

Tunnels and Clouds

cludflare argo tunnel config

Navigating the complexities of the internet, especially when hosting a website or blog, requires a secure and reliable connection. This is where Cloudflared's Argo Tunnel comes into play in my setup. It's not just any regular internet connection – it's a fortified, encrypted pathway designed to ensure secure and efficient communication between my Raspberry Pi and the wider internet. Imagine a secret underground tunnel, hidden away from the chaos of surface traffic, providing a safe and speedy route for my data. This setup guarantees that my blog remains accessible and secure, avoiding potential cyber threats and ensuring uninterrupted service to my readers.

The domain of a blog is more than just a web address; it’s an integral part of its identity, its brand. For my blog, www.agas.dev is that digital signature, a unique identifier in the vast sea of the internet. Linking this domain to my Raspberry Pi hosted blog was an essential step in establishing its new home. By routing www.agas.dev through the Cloudflared Argo Tunnel, I’ve created a direct and efficient pathway for traffic to reach my blog. It’s akin to setting up a bespoke postal service, one that ensures prompt and secure delivery of content – my digital letters, if you will – to my audience without any detours or delays.

This journey of migration is not just about moving a blog from one hosting environment to another; it's about reimagining what's possible with technology. It's a blend of the old and the new – the tried and tested Raspberry Pi, a favorite among tech hobbyists, coming together with modern solutions like Cloudflared's Argo Tunnel to create a robust, home-based web hosting environment. This blend of technology demonstrates that with the right tools and a bit of ingenuity, you can create a powerful digital presence without relying on traditional, often expensive, hosting solutions.

In essence, this project is a testament to the power of small-scale, home-based technology solutions in a world that's increasingly moving towards decentralization and personal control over digital assets. Hosting my blog on a Raspberry Pi 4, connected securely to the internet through Cloudflared's Argo Tunnel, and accessible via a personalized domain, embodies a shift in how we approach web hosting and content delivery. It’s a shift towards more personal, customizable, and cost-effective solutions, proving that sometimes, the best way to move forward is by bringing things closer to home.

Docker, but Easier

portainer config of this blog

Handling Docker can be a bit like juggling digital cats. To simplify this, I turned to Portainer. It’s a graphical interface that brings simplicity and clarity to managing Docker containers. With Portainer, I could easily update, modify, and maintain my blog’s backend without diving into the command-line abyss. It’s like having a sleek, user-friendly dashboard for your car, making driving (or in this case, managing a blog) a breeze.

Counting the Costs

Running a blog doesn't have to break the bank, and my setup is a testament to that. By moving to a Raspberry Pi hosted at home, I've slashed hosting costs without sacrificing performance. For a blog with modest traffic like mine, this is a game-changer. It's like discovering a secret recipe that makes your favorite dish not just tastier but also cheaper to cook.

You Are Here!

If you're reading this, you've already become a part of this story. Whether you're accessing my blog directly from my Raspberry Pi server or via Cloudflare's cached version, you're experiencing the fruits of this home-grown, tech-savvy labor. Each click, each visit, is a nod to this unique journey from cloud-based to couch-based blogging.