Create Windows KVM VM from Command Line
Created: 2020-06-05, Modified: 2020-06-05
Create a Windows KVM virtual machine on Ubuntu 18.04 from the command line with qemu-kvm, libvirt, virt-install, and a netplan bridge. No OpenStack required.
Packet Tracing Reference
Created: 2020-06-04, Modified: 2020-06-04
Quick reference for capturing and filtering network traffic on Ubuntu using tcpdump and tshark. Covers port filters, host filters, combined expressions, and tshark HTTP capture.
Ubuntu NFS Server Setup
Created: 2020-03-09, Modified: 2020-03-09
Install and configure an NFS server on Ubuntu 18.04 with nfs-kernel-server, set up /etc/exports for a subnet, apply with exportfs, and mount from a client.
Transferring files to Windows through Python's SimpleHTTPServer
Created: 2020-03-06, Modified: 2020-01-13
Push a one-off file to a locked-down Windows box from Linux by hosting it with `python -m SimpleHTTPServer` and grabbing it in Internet Explorer.
Ceph Reference Page
Created: 2020-03-05, Modified: 2020-03-05
Quick reference for Ceph storage commands: pool replica management, RBD volume create/map/delete, snapshot rollback, and exporting RBD images to files.
Github Pages: Basics
Created: 2020-02-27, Modified: 2019-10-25
Spinning up a GitHub Pages site from the docs folder on master, with a custom domain via Cloudflare CNAME, a Jekyll theme, and Markdown-based sub-pages.
Python Ceph Examples
Created: 2020-02-03, Modified: 2020-02-03
Use Ceph's rados and rbd Python libraries to check cluster health, list and create pools, and manage RBD block-device images with real code samples.
AWS CodeBuild CICD - Deploy to Lambda
Created: 2020-01-27, Modified: 2020-01-27
Build a CI/CD pipeline for Python Lambda functions using CodeCommit, CodeBuild, and AWS SAM templates to test and auto-deploy on every commit.
OpenStack Cloudbase-init: PowerShell user_data Scripts
Created: 2020-01-25, Modified: 2020-01-25
How to run PowerShell scripts via Cloudbase-init user_data when deploying Windows instances in OpenStack. Covers the #ps1 script format and the --user-data launch flag.
Authenticating with AWS IAM in AWS API Gateway
Created: 2020-01-21, Modified: 2020-01-21
Lock down an AWS API Gateway endpoint with IAM auth, wire it to a Python Lambda, and call it from a signed client using policies and access keys.
CircleCI: Continuous Delivery for Firebase
Created: 2020-01-16, Modified: 2020-01-16
Set up continuous deployment for a Firebase Hosting app using CircleCI, a firebase login:ci token, and a minimal config.yml that runs firebase deploy.
CodePipeline - Continuous Delivery to AWS ECR
Created: 2020-01-15, Modified: 2020-01-15
Wire up AWS CodeCommit, CodePipeline, and CodeBuild with a buildspec.yml to auto-build Docker images and push them to ECR on every commit.
Free HTTPS Certs with LetsEncrypt's Certbot
Created: 2020-01-13, Modified: 2020-01-13
Install LetsEncrypt's certbot on Ubuntu and issue a free HTTPS certificate using the standalone HTTP challenge, then convert the files for HAProxy use.
Firebase Basics: Hello World
Created: 2020-01-11, Modified: 2026-04-11
Set up Firebase CLI and deploy a Hello World app from Ubuntu. Includes a Vagrant port-forwarding trick for authenticating the Firebase CLI without a desktop browser.
Create & Terminate EC2 Instances from Python
Created: 2020-01-09, Modified: 2020-01-09
Launch and terminate EC2 instances from Python using boto3, with a working example covering Ubuntu AMIs, security groups, tags, and wait_until_running.