Posts

Showing posts from 2024

Getting Started with Terraform for Azure

Image
Getting Started with Terraform for Azure This blog post is an attempt by myself to learn Terraform and share insights on getting started with Terraform for managing Azure resources. 1. Installation Follow these steps to install Terraform: Download Terraform from the official Terraform downloads page . Extract the downloaded file and move the Terraform executable to a directory included in your system's PATH . Verify the installation by running: terraform --version 2. Setting Up Azure CLI You need the Azure CLI to authenticate Terraform with Azure. Install it by following the instructions on the Azure CLI installation page . Log in to your Azure account using: az login 3. Initialize a Terraform Project Create a directory for your Terraform configuration files and navigate to it: mkdir terraform-azure-demo cd terraform-azure-demo Create a fil...

Turn your Tiny Pi into a Mighty NAS: Secure Network Sharing with Raspberry Pi Zero

Image
Turn Your Tiny Pi into a Mighty NAS: Secure Network Sharing with Raspberry Pi Zero The Raspberry Pi Zero, with its miniature size and budget-friendly price tag, is a true champion of DIY tech. But did you know this pocket powerhouse can also become a secure network storage device, sharing your files across your home network? Let's dive into creating a secure network share on your Pi Zero, complete with relevant code and security tips. What you'll need: Raspberry Pi Zero (preferably Zero W for wireless connectivity) MicroSD card with Raspbian OS pre-installed USB storage drive (for your shared files) Basic understanding of Linux commands Step 1: Setting Up Samba Samba is the open-source software that allows Windows, Mac, and Linux systems to communicate and share files on a network. Install Samba with the following command: sudo apt install samba Step 2: Creating the Share Directory Connect your USB drive and identify its mount point (e.g., /media/pi/USBDRIVE ). Create a directo...