Kyle Pericak

"It works in my environment"

Created: 2020-10-21
Modified: 2020-10-21

Adding Virtio drivers for KVM to RHEL's initrd

Fix a RHEL VM that drops to the dracut prompt after migrating to KVM or OpenStack by chrooting in and injecting virtio drivers into the initrd with dracut.

Created: 2020-06-25
Modified: 2020-06-25

OpenStack: Fixing the CLI (python2) error: No module named queue

Fix the broken python-openstackclient install on Ubuntu 18.04 by swapping `import queue` for `from multiprocessing import Queue as queue` in the SDK files.

Created: 2020-01-27
Modified: 2020-01-27

AWS CodeBuild CICD - Deploy to Lambda

Build a CI/CD pipeline for Python Lambda functions using CodeCommit, CodeBuild, and AWS SAM templates to test and auto-deploy on every commit.

Created: 2020-01-25
Modified: 2020-01-25

OpenStack Cloudbase-init: PowerShell user_data Scripts

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.

Created: 2020-01-21
Modified: 2020-01-21

Authenticating with AWS IAM in AWS API Gateway

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.

Created: 2020-01-15
Modified: 2020-01-15

CodePipeline - Continuous Delivery to AWS ECR

Wire up AWS CodeCommit, CodePipeline, and CodeBuild with a buildspec.yml to auto-build Docker images and push them to ECR on every commit.

Created: 2020-01-09
Modified: 2020-01-09

Create & Terminate EC2 Instances from Python

Launch and terminate EC2 instances from Python using boto3, with a working example covering Ubuntu AMIs, security groups, tags, and wait_until_running.

Created: 2020-01-09
Modified: 2020-01-09

IAM Auth for Lambda

Restrict access to a specific AWS Lambda function using an IAM policy scoped to its ARN, then invoke it from Python with boto3 and access keys.

Created: 2020-01-08
Modified: 2020-01-08

AWS Lambda - Basics

Create your first AWS Lambda function in Python, define a test event, and understand pricing per request and per GB-second of execution duration.

Created: 2019-12-17
Modified: 2019-12-17

Injecting KVM Drivers to Windows 10 for OpenStack

Inject VirtIO KVM drivers (viostor, Balloon, NetKVM) into a Windows 10 VHDX image with Dism so it can boot on OpenStack Glance after qcow2 conversion.

Created: 2019-12-03
Modified: 2019-12-03

Operating OpenStack from Ansible

Automate OpenStack workloads with Ansible os_ modules. Covers auth, projects, users, quotas, networks, volumes, and launching VMs on an existing cloud.

Created: 2019-10-14
Modified: 2019-10-14

Google Cloud Firestore Basics - Python

Read and write Google Cloud Firestore documents from Python, with pricing comparisons against Datastore mode and a walk through collections and references.

Created: 2019-10-11
Modified: 2019-10-11

Google Cloud Functions: Basics

Deploy a Python 3.7 HTTP-triggered Google Cloud Function that returns the caller's IP, with notes on pricing, invocation costs, and testing from the console.

Created: 2019-09-26
Modified: 2019-09-26

Using AWS S3 from Python

Upload and download files to AWS S3 from Python using boto3, with IAM policies, user groups, and a dedicated service account for programmatic access.

Created: 2019-09-10
Modified: 2019-09-10

AWS Fargate - Basics

Step-by-step for launching a Docker container on AWS ECS Fargate from the web console, including task definitions, load balancer setup, and ECR image URLs.

Created: 2019-08-26
Modified: 2019-09-19

AWS ECR - Elastic Container Registry - Basics

Set up an AWS Elastic Container Registry repo, create least-privilege IAM groups for push and pull access, and connect Docker using the AWS CLI.

Created: 2019-08-26
Modified: 2019-08-26

Modifying OpenStack Kolla Docker Images

Add the Pure Storage Cinder plugin to a Kolla OpenStack image with a Jinja2 template override, keeping the upstream Kolla source untouched.

Created: 2019-08-13
Modified: 2019-08-13

Install Non-Prod OpenStack on a Physical Server

Step-by-step Kolla-Ansible install of OpenStack Rocky on a single Ubuntu 18.04 server with Keystone, Nova, Neutron, Cinder LVM, Heat, and Magnum.

Created: 2019-08-11
Modified: 2019-08-11

Install OpenStack with Kolla-Ansible in a VM

Build a throwaway OpenStack Rocky dev cloud inside a single Ubuntu 18.04 VM using Kolla-Ansible, Cinder LVM, and a VLAN provider network.

Created: 2019-08-09
Modified: 2019-08-09

Google Cloud Storage: Website Hosting

Host a static site on Google Cloud Storage with Search Console domain verification, bucket setup, a CNAME to c.storage.googleapis.com, and real pricing numbers.

Created: 2019-08-06
Modified: 2019-12-05

Google Cloud Build: Basics

Intro to Google Cloud Build with real cloudbuild.yaml examples for pushing Docker images to GCR and rsyncing a static site to Cloud Storage on every Git commit.

Created: 2019-08-05
Modified: 2019-08-05

Google Container Registry: Basics

Getting started with Google Container Registry, covering why GCR beats a self-hosted Docker registry, setting up service accounts, and Docker auth via gcloud.