Kubernetes Broke Reddit
Tags: kubernetes, aws, devops, programming
Published: 2023-03-31 15:58:19

Get ready to supercharge your DevOps knowledge with another jam-packed edition of our [weekly DevOps newsletter](https://devopsbulletin.com/)! Unravel the mystery behind unexpected charges on your AWS bill, get practical tips for rightsizing your Kubernetes workloads, and explore the benchmarking results of the AWS SDK v2 and v3.

Dive into using Terraform to deploy a Counter-Strike server, learn about the notorious Lambda — S3 infinite loop, and discover how to implement magic links with Amazon Cognito. Plus, we’ll discuss testing AWS Serverless Microservices and share an insightful Reddit incident postmortem.

As always, our open-source projects of the week won’t disappoint! Get your hands on a bash script to build a minimal Linux operating system just to play Doom. An open-source GitHub Copilot server, the cloud-nuke tool for cleaning up your cloud accounts, and others.

Lastly, don’t miss my video tutorial on building a Serverless gym app that sends personalized workout plans to your WhatsApp using ChatGPT, Twilio, AWS SAM, and GitHub Actions from scratch, along with other exciting content!

## **Tutorials of the week**

**💰 “Unexpected charges on your AWS bill” —** Are you a new AWS user who has experienced bill shock while being in a free-tier plan or a cloud practitioner struggling to understand your team’s cloud expenses? This post can be useful — [Read more »](https://www.tailwarden.com/blog/unexpected-charges-on-your-aws-bill?utm_source=devopsbulletin&utm_id=newsletter)

**🔨 “Practical tips for rightsizing your Kubernetes workloads”** — How resources are allocated in K8s envs and tips for rightsizing your workloads for cost efficiency and performance — [Read more »](https://www.datadoghq.com/blog/rightsize-kubernetes-workloads/?utm_source=devopsbulletin&utm_id=newsletter)

**📊 “Benchmarking the AWS SDK”** — I would have expected the v3 to perform better than v2 — [Read more »](https://dev.to/aws-builders/benchmarking-the-aws-sdk-2pd4?utm_source=devopsbulletin&utm_id=newsletter)

**🎮 “Using Terraform to deploy a Counter-Strike”** — For the geeks out there, learn how to build CS: GO server with Terraform from scratch — [Read more »](https://techblog.zrp.com.br/deploy-a-counter-strike-go-server-using-terraform-db3f8ad68442?utm_source=devopsbulletin&utm_id=newsletter)

**😅 “The S3 — Lambda death spiral loop”** — The infamous Lambda — S3 infinite loop and easiest way to lose money — [Read more »](https://medium.com/@stefansarmir/how-to-go-broke-developing-on-aws-the-s3-lambda-death-spiral-loop-fab763363499?utm_source=devopsbulletin&utm_id=newsletter)

**🔒 “Implementing magic links with Amazon Cognito”** — Tutorial on how to build a Lambda function that sends an email with a time-limited URL for passwordless authentication — [Read more »](https://theburningmonk.com/2023/03/implementing-magic-links-with-amazon-cognito-a-step-by-step-guide?utm_source=devopsbulletin&utm_id=newsletter)

**🚀 “Managing risk as an SRE”** — While evangelism can be a cap on advancement as an SRE, risk management ability is a hard requirement — [Read more »](https://hross.substack.com/p/managing-risk-as-an-sre?utm_source=devopsbulletin&utm_id=newsletter)

**🧪 “How to test AWS Serverless Microservices”** — It covers unit, solitary, sociable, integration, API, and E2E tests — [Read more »](https://dev.to/epilot/how-to-test-aws-serverless-microservices-the-proper-way-1f05?utm_source=devopsbulletin&utm_id=newsletter)

## Open source projects of the week

1️⃣ A bash script to build a minimal Linux operating system just to play Doom — [Learn more »](https://github.com/shadlyd15/DoomLinux?utm_source=devopsbulletin&utm_id=newsletter)

2️⃣ Autometrics is a set of open-source libraries that make it fun and easy to understand the performance of your code in production.- [Learn more »](https://github.com/autometrics-dev?utm_source=devopsbulletin&utm_id=newsletter)

3️⃣ FauxPilot is an open-source GitHub Copilot server — [Learn more »](https://github.com/fauxpilot/fauxpilot?utm_source=devopsbulletin&utm_id=newsletter)

4️⃣ cloud-nuke is a tool for cleaning up your cloud accounts by nuking (deleting) all resources within it — [Learn more »](https://github.com/gruntwork-io/cloud-nuke?utm_source=devopsbulletin&utm_id=newsletter)

5️⃣ Markprompt is an open-source GPT-4 platform for Markdown, Markdoc and MDX with built-in analytics — [Learn more »](https://github.com/motifland/markprompt?utm_source=devopsbulletin&utm_id=newsletter)

6️⃣ Untitled Goose Tool is an incident response tool that runs a full investigation against a customer’s AzureAD, Azure, and M365 environments — [Learn more »](https://github.com/cisagov/untitledgoosetool?utm_source=devopsbulletin&utm_id=newsletter)

## Thread of the week

Outage due to upgrading to a [newer Kubernetes version](https://www.reddit.com/r/RedditEng/comments/11xx5o0/you_broke_reddit_the_piday_outage/)…

![kubernetes](https://miro.medium.com/v2/resize:fit:1388/0*2r8MOvrREMJijkxy.png)

## Memes of the week

![meme](https://miro.medium.com/v2/resize:fit:1400/0*LIItGUxtKeETALZO.jpeg)

I hope you enjoy this week’s newsletter! Share it with a friend or colleague if you find it helpful, drop me an [email](mailto:mohamed@labouardy.com) or send me a [DM](https://twitter.com/mlabouardy) on Twitter about topics you’d like to hear about in future editions.