Cloud Engineering

  • Blog
  • About
  • 🛡️Building a Linux Web Server with Terraform & Ansible – Part 3: Securing the Server with Ansible Roles

    Apr 14, 2025

    •

    4 min read

    So we have our droplet and our admin user. The next step is securing our web server before we start deploying app. 🧹 Let’s Tidy Things Up: From Playbooks to Roles Previously, we created a separate playbook file for each task (like creating the admin user). While this works for small projects, it quickly becomes…

    0

  • 🔐 Building a Linux Web Server with Terraform & Ansible – Part 2: Creating a Sudo User

    Apr 13, 2025

    •

    4 min read

    Now that we’ve provisioned our droplet with Terraform, it’s time to create a proper admin user. It’s bad practice to SSH into a server as root, so we’ll create a limited user with sudo privileges for day-to-day admin tasks. We’ll use Ansible to automate this step, just like a real production environment. 📁 Step 1:…

    0

  • 🧱 Building a Linux Web Server with Terraform & Ansible – Part 1: Provisioning a DigitalOcean Droplet

    Apr 13, 2025

    •

    4 min read

    In this post, we’ll walk through how to use Terraform to create and configure a DigitalOcean droplet, which will serve as the foundation for deploying a Python Flask app. We’ll automate infrastructure provisioning step-by-step to make future deployments repeatable and easy. 🌐 Step 1: Configure the Terraform Provider The first thing we need to do…

    0

  • 🚀Building a Linux Web Server with Terraform & Ansible – Introduction

    Apr 13, 2025

    •

    2 min read

    In this series, we’ll walk through a hands-on example of setting up a Linux web server from scratch. This is a great project for junior DevOps or cloud engineers—you’ll practice Linux fundamentals, explore infrastructure as code, and get familiar with tools that are widely used in real-world environments. Even if your end goal is to…

    0

←Previous
1 2

© 2025

Cloud Engineering

Theme by Anders Norén