DevOps Bulletin - Digest #86: Serverless Testing 😄

#86: Serverless Testing

This week, we're diving deep into the world of serverless and exploring the latest techniques for testing and cost optimization. Are you tired of mocking AWS SDK calls when testing your serverless functions? We've got you covered with a new approach to serverless testing that doesn't require mocking. Plus, we'll show you how to keep your costs in check with serverless MongoDB Atlas.

But that's not all, have you ever wondered how a hacker can waste $13000 on your AWS account? We'll take a look at a real-life example and share the steps you can take to prevent this from happening to you.

We'll also explore some of the latest developments in Kubernetes, including a deep dive into DNS and service discovery and tips on how to detect insecure VSCode extensions. Additionally, we'll share some of our favorite open-source DevOps tools of the week and discuss the ongoing debate around Platform Engineering vs DevOps is Dead. Don't miss out on our coverage of finding active resources in your AWS account, building AWS Lambda layers with AWS CDK, and how to fix common issues in Kubernetes clusters.


I hope you enjoy this week’s newsletter! Share it with a friend or colleague if you find it helpful, drop me an email or send me a DM on Twitter about topics you’d like to hear about in future editions.
📖 POSTS OF THE WEEK
Serverless testing: simplify testing with SOLID architecture
Article on Testing Serverless architectures using SOLID and Hexagonal software architecture principles without needing to mock AWS SDK calls at all!
Read more »
"Avoid becoming bankrupt while using serverless MongoDB Atlas" - The author suggests several best practices to avoid financial issues such as: setting up an alert system to monitor usage, properly configuring the data storage, and using the MongoDB Atlas's auto-scaling feature - Read more »
"It happened to me: how I suddenly owed AWS $13,000…" - The hack could have been avoided if they had set up Multi-factor Authentication (MFA), CloudTrail and Budgets from the start - Read more »
"A debugging story: a bug in the S3 API" - The AWS S3 API has a bug in it where if the configuration is modified on create, the API responds with 404 for those attributes - Read more »
"The life of a DNS query in Kubernetes" - Understanding how DNS and service discovery work in Kubernetes can be helpful for debugging issues - Read more »
"Can you trust your VSCode extensions?" - The post covers how to detect and mitigate risks associated with malicious extensions and how to secure your development environment - Read more »
"Komiser vs AWS Resource Explorer" - Finding resources within the AWS Console has been a tedious and often frustrating task, particularly for those who have a large number of resources and use multiple AWS regions. This has been the case for a long time ... until the release of AWS Resource Explorer - Read more »
"Build AWS Lambda layers with AWS CDK" - This blog post covers AWS Lambda layers basics and how to build them with Docker & AWS CDK in Python - Read more »
"Platform Engineering as a startup" - This article discusses the importance of internal tools, the evolution of the term "platform engineering," and the challenges of aligning vendor and customer incentives in this space - Read more »
🛠 PROJECTS OF THE WEEK
Basti is a CLI tool for accessing DB instances and other AWS resources in private networks almost at no cost. You can securely connect to your RDS/Aurora/Elasticache/EC2 instances in private VPC subnets from a local machine or CI/CD pipeline - Learn more »
Adrenaline is an open-source debugger powered by the OpenAI Codex. It not only fixes your code, but teaches you along the way - Learn more »
Copacetic is a CLI tool for directly patching container images using reports from popular vulnerability scanners like Trivy - Learn more »
AWS Terraform Dev Container is a VScode extension with tools to help you build and manage AWS infrastructure with Terraform  - Learn more »
A Chrome extension that enables real-time sync between StepFunctions Workflow Studio and your local file system - Learn more »
Convox Rack is an open-source private PaaS that runs in your AWS account - Learn more »
📰 NEWSWORTHY STORIES
"CircleCI says hackers stole encryption keys and customers’ secrets" - Read more »
"Amazon S3 now automatically encrypts all new objects" - Read more »
"How Docker 2.0 went from $11M to $135M in 2 years" - Read more »
"Security state of the Azure DevOps Marketplace" - Read more »
📕 BOOK OF THE WEEK
The book is based on the premise that teams, whether in a business or other organization, often struggle with five key dysfunctions: absence of trust, fear of conflict, lack of commitment, avoidance of accountability, and inattention to results. Lencioni provides a model and actionable steps that can be taken to overcome these dysfunctions and build a cohesive, high-performing team.
🎧 PODCAST/WEBINAR OF THE WEEK
What if these Kubernetes clusters were intentionally broken by members of the Kubernetes community, tasked with making your chances of fixing said clusters as slim as possible? Watch this hands-on video to learn the key methods, tools, and takeaways David has learnt fixing over 50 Kubernetes 🔥
💼 OPEN JOBS OF THE WEEK
Lead SRE @GoGuardian
Kubernetes, Terraform, Python

🌎 Remote, anywhere
💰 $170k - $200k

Read more »
Lead SRE @Livepeer
Kubernetes, Terraform, GitHub Actions

🌎 Remote, anywhere
 $100k - $140k

Read more »
DevOps Engineer @0x Labs
Kubernetes, Terraform, GitHub Actions

🌎 Remote, anywhere
 $125k - $175k

Read more »
Hand-picked DevOps opportunities to work from home, remotely, freelance, full-time, part-time, contract and internships - See more »
💡 QUESTION OF THE WEEK
😂 MEMES OF THE WEEK
Remember to share if you enjoyed this issue!
Share Share
Tweet Tweet
Forward Forward
Want to sponsor an issue? Check out the Sponsor Kit
Copyright © 2023 DevOps Bulletin, All rights reserved.
Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Key phrases

Older messages

Digest #85: What Every DevOps Should Learn in 2023 🙌

Monday, January 9, 2023

Digest #85: What Every DevOps Should Learn in 2023 🙌 #85: What Every DevOps Should Learn in 2023 This week's newsletter highlights what needs to be checked before deploying a Serverless app to

Digest #84: DevOps Stories to Start Fresh in the New Year 🎉

Monday, January 2, 2023

Digest #84: DevOps Stories to Start Fresh in the New Year 🎉 #84: DevOps Stories to Start Fresh in the New Year Well, that's a wrap for 2022, I truly appreciate your trust and really grateful for

Digest #83: IAM Best Practices 🔒

Saturday, December 24, 2022

Digest #83: IAM Best Practices 🔒 #83: IAM Best Practices This week's newsletter highlights AWS Lambda cost optimization by 40%, GitOps ultimate guide, automating cross-post of blogs with Lambda and

Digest #82: Docker Compose for Helm Charts 😁

Sunday, December 18, 2022

Digest #82: Docker Compose for Helm Charts 😁 #82: Docker Compose for Helm Charts This week's newsletter highlights things SRE/DevOps want from developers, how to use Git rebase properly, best

Digest #81: ChatGPT Extension for VSCode 🙀

Sunday, December 11, 2022

Digest #81: ChatGPT Extension for VSCode 🙀 #81: ChatGPT Extension for VSCode This week's newsletter highlights CI/CD metrics, building a Minecraft dashboard in AWS, a complete guide to Jaeger,

You Might Also Like

Is the wind going out of the AI sails?

Friday, April 19, 2024

Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to

Llama 3 is out - Weekly News Roundup - Issue #463

Friday, April 19, 2024

Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1417 [Easy]

Friday, April 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with

Charted | How Hard Is It to Get Into an Ivy League School? 🎓

Friday, April 19, 2024

We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations

Dark Matter & Tortured Poets

Friday, April 19, 2024

New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a

Impact of AI on Product Management

Friday, April 19, 2024

​ Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical

⚙️ Zuck has entered the chat(bot)

Friday, April 19, 2024

Plus: AI video's coming to mobile! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: Just Made my First Dollar With My SaaS After Quitting my Job

Friday, April 19, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with

From Not to Hot 🔥7 Practices to Land a Trending Story

Friday, April 19, 2024

Discover the Insider Secrets to Elevate Your Story's Success! 🚀 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌

iOS Dev Weekly - Issue 657

Friday, April 19, 2024

What's the easiest and least hassle path to launching a custom app store in the EU? 🏪 View on the Web Archives ISSUE 657 April 19th 2024 Comment You probably already saw this week's