DevOptimize
banner
devoptimize.org
DevOptimize
@devoptimize.org
Achieve faster releases by optimizing DevOps, MLOps, PE, and deployment processes. We specialize in reducing pipeline complexity and build steps. Subscribe to explore strategies for efficient software delivery and artifact use.
Terraform modules as artifacts, not source
Source code ≠ deployable infrastructure
• Build once, deploy many
• Immutable, auditable modules
• Clean promotion paths
• Environment consistency
Stop promoting Git branches. Start promoting artifacts.

devoptimize.org/cloud/tf-art...
Terraform Artifacts: Publishing and Using Modules
Learn how to publish Terraform modules as versioned artifacts and consume them in deployment pipelines. Build once, deploy many with proper artifact promotion.
devoptimize.org
July 7, 2025 at 1:48 PM
Monday Questions June 30, 2025

• Have questions about optimizing deployment or packaging? Drop them below!
• Have tips to help other packagers? We’d love to hear!
• Read other people’s tips, or answer any questions you know the answer to!

devoptimize.org/posts/202506...
Monday Questions June 30, 2025
Weekly thread for deployment and packaging questions.
devoptimize.org
June 30, 2025 at 7:59 PM
Want to write Terraform like a pro?
This cheatsheet covers `for_each`, `dynamic` blocks, `templatefile`, `terraform_remote_state`, CI/CD patterns, and more.
Build scalable, testable, production-grade IaC.

devoptimize.org/bibliography...
A Cheatsheet to Level Up Your Terraform
Master Terraform with advanced patterns, dynamic blocks, and CI/CD best practices. This cheatsheet takes your IaC from basic to bulletproof.
devoptimize.org
June 28, 2025 at 7:09 PM
Structure AWS accounts with purpose, not just need
Clear boundaries improve security and scalability

* Dev/Test/Stage/Prod environments
* Workload or function-based accounts
* Map to business units
You’ll thank yourself later when access and billing stay clean
June 15, 2025 at 9:57 PM
🧵 AWS Bootstrapping: From Root to Org

1/
Manual steps matter—even in automation-heavy setups.
Before spinning up VPCs or deploying IaC, you need a secure AWS root and organization setup. Here’s how to lay the foundation with clarity and future-proofing.

devoptimize.org/aws/aws-root...
AWS Root to Org
Manually set up a secure AWS root account and organization to prepare for infrastructure automation.
devoptimize.org
June 2, 2025 at 6:21 PM
Cloud isn’t just a runtime—it's your delivery platform.
Structure it like you’ll run 10 apps, even if you're starting with one.

devoptimize.org/cloud/intro/
Cloud Introduction
Intro to cross-platform cloud structure for artifact-based delivery. Build once, deploy many. Avoid Git promotion. Treat environments as real.
devoptimize.org
May 21, 2025 at 11:15 PM
Hugging Face: more than pip install
Why: Installing isn’t the same as packaging
• You need clean boundaries
• Consistent promotions
• Repeatable builds
• Portability across stages
Treat models like code—versioned, immutable, auditable.

devoptimize.org/ai/hugging-f...
Hugging Face Packaging
Learn how Hugging Face models, datasets, and tools can be packaged and promoted as artifacts for cleaner workflows, versioning, and production readiness.
devoptimize.org
May 18, 2025 at 2:31 AM
RHEL AI Developer Preview Guide

Red Hat just launched a containerized AI workflow built on RHEL. You can now train, fine-tune, and serve models using GPU-accelerated containers—no glue scripts required. Here’s how it works 👇

devoptimize.org/bibliography...
RHEL AI Developer Preview Guide
Explore RHEL AI with Red Hat’s dev preview: open-source generative AI tools, models, and containerized workflows on RHEL.
devoptimize.org
May 16, 2025 at 11:04 PM
Hey, I’ve been putting together DevOptimize.org

It’s all about the Art of Packaging in modern software delivery.

If you get a minute, check it out and let me know what you'd be most interested in seeing covered. Always curious what clicks with other engineers.
DevOptimize
DevOptimize.org
May 16, 2025 at 7:08 PM
1. Drop-in config revolutionizes system management.
Break complex configs into logical units.
Place files in drop-in dirs.
System merges them.
Vendor & custom configs stay separate.
Updates stop being scary.
May 15, 2025 at 11:55 PM
Scale your packaging with `make install`:

The make install technique bridges development and deployment seamlessly.
• Create a standard Makefile
• Define installation paths
• Add custom install targets
• Use DESTDIR for package building
No more manual copying.

devoptimize.org/practices/ma...
`make install`
Create standardized installation processes with a Makefile 'install' target that places files in their proper locations following filesystem hierarchy …
devoptimize.org
May 14, 2025 at 10:55 PM
Makefile Conventions

Common conventions for building local packages.
Why you should care? Because clean builds, simple installs, and easy packaging depend on them.

devoptimize.org/bibliography...

🧵 Read on:
Makefile Conventions (GNU Make)
Standard GNU Makefile conventions shape how software is built and packaged, with targets like install, clean, and check plus support for DESTDIR staging.
devoptimize.org
May 13, 2025 at 9:22 PM
Just published our intro on Python packaging! Learn how to build wheels, package virtual environments, and create system-native deployments that scale. Perfect for platform teams managing production Python apps. #DevOptimize #Python #Packaging

devoptimize.org/python/intro/
Python Packaging Introduction
A practical and opinionated guide to Python packaging with an emphasis on system-native deployment for production.
devoptimize.org
May 12, 2025 at 7:18 PM
Original post: how to use `make sources` with the symlink method to create clean, reproducible RPM tarballs from a local repo. No fluff, just results. #rpm #packaging #DevOptimize

Please comment, like, and share!

devoptimize.org/rpm/make-sou...
`make sources`
Create reproducible RPM source tarballs with a Makefile 'sources' target using the symlink method. Clean, standards-aligned packaging.
devoptimize.org
May 12, 2025 at 3:02 AM
Mock: a powerful tool for building RPMs in isolated chroots. Supports multiple architectures, simplifies BuildRequires, and chains dependent packages. Perfect for streamlining your packaging workflow! #RPM #DevTools #Packaging #DevOptimize

devoptimize.org/tools/mock/
Mock
Mock: A powerful chroot tool that creates isolated environments for building RPMs across different architectures and distributions with minimal setup.
devoptimize.org
May 11, 2025 at 1:41 AM
Peter Gordon's RPM spec file formatting guidelines. Learn about alignment, whitespace, comments, initial tags, sources & patching, RPM conditionals, dates/times, changelog entries, subpackages, license, and more! #RPM #Packaging #Linux #DevOptimize

devoptimize.org/rpm/peter-go...
Peter Gordon - RPM Spec Formatting Guidelines
Peter Gordon's personal guidelines for formatting RPM spec files. Covers alignment, whitespace, comments, tags, dependencies, sources, conditionals, and more.
devoptimize.org
May 9, 2025 at 10:59 AM
Easily package Python virtual environments into RPMs with a JSON config! 🎁 Supports custom scripts, metadata, and system integration via plugins. Perfect for automation & deployment. #DevOps #RPM #Python #Packaging #DevOptimize

devoptimize.org/tools/rpmvenv/
Python rpmvenv
Package Python virtual environments into RPMs with ease using a JSON config and plugin-based tool. Supports customization, scripts, and system integration.
devoptimize.org
May 8, 2025 at 11:05 PM
🚀 Streamline your SDLC with Sonatype Nexus Repository. Centralize binaries, optimize builds, and ship faster. Check it out on DevOptimize.org! #SoftwareDev #NexusRepository #Packaging #DevOptimize

devoptimize.org/tools/nexus/
DevOptimize
DevOptimize.org
May 8, 2025 at 12:40 AM
Level up your DevOps! JFrog Artifactory is your source of truth for managing artifacts, from packages to AI/ML models. Boost automation, ensure integrity, and gain visibility across your software supply chain. #DevOps #Artifactory #Packaging #DevOptimize

devoptimize.org/tools/artifa...
JFrog Artifactory
JFrog Artifactory: Central hub for managing all software artifacts & AI/ML models. Integrates with DevOps tools for automation, integrity, & visibility.
devoptimize.org
May 7, 2025 at 11:37 PM
Level up your Python packaging game 📦—from managing dependencies to publishing packages, the Python Packaging User Guide has you covered with modern tools and best practices. #PythonDev #Packaging #DevOps #DevOptimize

devoptimize.org/bibliography...
Python Packaging User Guide
Learn to distribute and install Python packages with modern tools. Explore tutorials, guides, and best practices from the Python Packaging Authority.
devoptimize.org
May 7, 2025 at 7:00 PM
New to RPM packaging or need a refresher? 📦 The RPM Packaging Guide walks you through everything from source prep to advanced builds. Perfect for RHEL, CentOS & Fedora devs! #DevOps #DevOptimize #RPM #Packaging

devoptimize.org/bibliography...
RPM Packaging Guide
Learn to prepare, build, and manage RPM packages for RHEL, CentOS, and Fedora. Ideal for beginners and developers handling basic to advanced scenarios.
devoptimize.org
May 7, 2025 at 1:46 AM
Deploy Python apps like a pro! dh-virtualenv lets you bundle virtualenvs into Debian packages, keeping dependencies isolated while leveraging apt for system libs. No more backporting nightmares! #DevOps #PythonPackaging #virtualenv #DevOptimize

devoptimize.org/bibliography...
Packaging in your packaging: dh-virtualenv
dh-virtualenv bundles Python packages into Debian packages, combining the best of both worlds: system dependencies with familiar Python packaging in isolated …
devoptimize.org
May 6, 2025 at 12:33 AM
Packaging for other Linux distros? VMs, distro-specific tools (dpkg, rpm), or chroot (debootstrap, dnf) are your friends. OBS for openSUSE. Avoid building as root! #packaging #linux #devops #DevOptimize

devoptimize.org/bibliography...
DevOptimizeopen-menuclosemeblueskytwitterpatreonrsscalendartwitterfacebooklinkedincopyto-top
“Creating Packages for Other Distributions - ArchWiki.” Accessed May 1, 2025. Discusses various methods for creating software packages for various Linux …
devoptimize.org
May 5, 2025 at 8:31 PM
Packaging pain? 😩 fpm makes building rpms, debs, etc., EASY! ✨ Great for starting out. Scale up? Consider custom control files later. #fpm #packaging

devoptimize.org/fpm/index.html
fpm - packaging made simple
The goal of fpm is to make it easy and quick to build packages such as rpms, debs, OSX packages, etc. fpm, as a project, exists with the following principles …
devoptimize.org
May 1, 2025 at 11:26 PM