Digest #134: TDD with Serverless, Terraform AI Conversions, K8s Cost Metrics & OpenTofu Response
Learn to convert Terraform templates, deploy SSR on AWS Amplify, and apply TDD to Serverless. Gain insights on PostgreSQL, microfrontends, and secure APIs.
Welcome to this week’s edition of the DevOps Bulletin!
Discover how to change Azure Terraform templates for use with AWS through Amazon Bedrock, and learn about deploying applications with SSR on AWS Amplify. We'll also explore how to use Test-Driven Development (TDD) to make your serverless projects stronger and more reliable.
Wondering how to manage integration tests with PostgreSQL? We've got useful tips and common errors to watch out for. Plus, learn how to split up your front end into several independent parts.
This week's featured projects include Chalk, a tool that follows your code from development to production, and Inkdrop, a CLI tool that lets you create interactive diagrams to visualize your Terraform setups.
In the news section, catch up on Figma's journey in scaling their databases, the OpenTofu project's response to accusations of code theft, and the support of Kubernetes cost insights on AWS CUR reports. We'll also look at why staging environments are essential and the latest uses of AI to boost engineering productivity.
Tutorials of the week
Terraform templates to AWS: How to convert a Microsoft Azure-based Terraform template to AWS using Amazon Bedrock.
Deploy Remix apps with SSR to AWS: How to deploy applications to AWS Amplify with server-side rendering (SSR) support.
Using TDD with Serverless: How to leverage Test-Driven Development (TDD) while building Serverless apps.
Running Integration Tests on PostgreSQL: How to set up PostgreSQL for tests and some common pitfalls to avoid.
Introduction to Microfrontends: How to split the frontend into multiple self-contained modules, each responsible for a specific functionality or feature of the application.
Serverless Reporting: Learn how to create reports without managing AWS servers.
WebSockets with Serverless: Four methods to implement WebSockets in serverless applications.
Fixing AWS Step Function Errors: Solve errors related to inactive AWS Batch job definitions.
Mastering Long-Duration Workflows: Combine AWS Lambda, DynamoDB, and WebSocket for long tasks.
DevOps Automation with Terraform: Secure your API Gateway and custom domains in AWS.
Global Serverless Deployment: Build and deploy a Nuxt SSR app globally using Cloudflare and Postgres.
Orchestrate Terraform Stacks with Terramate: How to manage Terraform and OpenTofu with stacks using Terramate efficiently.
Terraform AWS IAM Role Errors DNS: If you're facing this error then this may be the solution you're looking for.
Cross-Account Replication of S3 buckets: How to set up Cross-Account Replication for S3 buckets using Terraform.
Running DOS Apps on Windows: A rough comparison of the experience of running DOS apps under each early release of Windows.
Projects of the week
Highlighting cool DevOps projects to keep an eye on:
Chalk allows you to follow code from development, through builds and into production.
Daytona is a simple open-source development environment manager.
FyneDesk is an easy-to-use Linux/Unix desktop environment following material design.
A PostgreSQL extension for recommending indexes to improve query performance.
Inkdrop is a CLI tool that creates interactive diagrams to visualize your Terraform.
Newsworthy Stories
Stay informed with the latest news impacting the DevOps and SRE world: