DevOps Bulletin #89: Pipeline as Code
Tags: devops, aws, programming, kubernetes
Published: 2023-02-12 20:20:24

This week, I have a lot of exciting topics for you. To start off, we cover the basics of effective dashboard design and how you can create a Grafana dashboard that will make troubleshooting incidents a breeze. If you’re looking to break into the Linux industry, I’m sharing a month-long free course. We explore cloud governance using Infrastructure as Code and provide tips to eliminate Kubernetes node scaling lag.

In addition, I cover best practices for debugging and provide an extension review for AWS SSM Lambda. And why you shouldn’t teach during code reviews and provide a complete guide to AWS Lambda pricing. I also have an open-source browser extension to download eBooks from AWS Resource Hub without filling out forms, as well as a learning roadmap to master Kubernetes. I also cover how Cloudflare uses Terraform to manage its infrastructure and highlight a vulnerability in AWS CloudTrail. And that’s not all! I also have a book on Pipeline as Code, which covers building your CI/CD pipeline in a cloud-native world and more 🔥

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:contact@devopsbulletin.com?subject=DevOps%20Bulletin%20topic%20suggestion), or send me a DM on [Twitter](https://twitter.com/mlabouardy) about topics you’d like to hear about in future editions.

## Headline Tutorials:

👀 “[Why you can’t find anything in your monitoring dashboards](https://horovits.medium.com/unreadable-metrics-why-you-cant-find-anything-in-your-monitoring-dashboards-12fcc23d34c8?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — This guide will go over the basics of effective dashboard design, and how to create a Grafana dashboard that will make it easy for you to troubleshoot an incident.

🛠 “[The Linux upskill challenge](https://theleo.zone/posts/linux-upskill/?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — A month-long free course aimed at those who aspire to get Linux-related jobs in the industry — junior Linux sysadmin, DevOps, etc

🔒 “[Cloud governance using Infrastructure as Code](https://compellingcloud.substack.com/p/cloud-governance-using-infrastructure?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — Organizations often adopt Terraform without proper planning, leading to issues. This blog post proposes a governance model to effectively utilize Terraform.

🚀 “[Eliminate Kubernetes node scaling lag with pod priority and over-provisioning](https://aws.amazon.com/blogs/containers/eliminate-kubernetes-node-scaling-lag-with-pod-priority-and-over-provisioning/?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — Using dummy pods to over-provision worker nodes in Kubernetes to reduce lag time in scaling.

💡 “[How to debug](https://philbooth.me/blog/how-to-debug?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — The steps are generalized and applicable across the backend, infrastructure, frontend, etc, they’re not specific to a particular language or paradigm.

⭐️ “[Extension review: AWS SSM Lambda](https://danwakeem.medium.com/extension-review-aws-parameter-store-6da3aca57502?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — This extension retrieves parameter values and caches them for future use. Using the Lambda extension can reduce your costs by reducing the number of API calls to Parameter Store.

🚨 “[Don’t teach during code reviews](https://www.michaelagreiler.com/teach-during-code-reviews/?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — You probably heard it already but, yes, code reviews are an excellent way to teach, learn and help each other. But here’s why you shouldn’t play a teacher during code reviews.

💸 “[AWS Lambda pricing: a complete guide](https://blog.awsfundamentals.com/aws-lambda-pricing-a-complete-guide-to-understanding-the-cost-of-the-serverless-service?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — Learn about the pay-per-use pricing model of AWS Lambda and how it charges based on usage, runtime, and the number of requests.

## Latest open source projects

### Reply to emails with ChatGPT

![Reply to emails with ChatGPT](https://miro.medium.com/max/1400/0*crY0q-iCjGn58nMv.png)

[Open-source project](https://medium.com/@stirpude/use-chatgpt-to-automatically-reply-to-emails-3638441d4720) showcasing how to use ChatGPT to automatically reply to emails using AWS Lambda functions and AWS Simple Email Service.

### AWS eBook Downloader

![AWS eBook Downloader](https://miro.medium.com/max/1400/0*lDbtfJMjF5p_kPsj.jpeg)

An open-source [browser extension](https://github.com/yankeexe/aws-ebook-downloader?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) to download eBooks from AWS Resource Hub without filling out forms.

### Kubernetes Learning Roadmap

![Kubernetes Learning Roadmap](https://miro.medium.com/max/1400/0*lqMJZgEUmw8D8H2b.png)

A learning [roadmap](https://github.com/techiescamp/kubernetes-learning-path?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) to master Kubernetes from scratch covering basic to advanced Kubernetes concepts.

### SBOM Scorecard

When generating first-party SBOMs, it’s hard to know if you’re generating something good or not. [SBOM Scorecard](https://github.com/eBay/sbom-scorecard?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) hopes to quantify what a well-generated SBOM looks like.

### DocsGPT

![DocsGPT](https://miro.medium.com/max/1400/0*oyBiengeSCfR8opY.png)

[DocsGPT](https://github.com/arc53/docsgpt?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) is an open-source tool that streamlines the process of finding information in project documentation. With its integration of powerful GPT models, developers can easily ask questions about a project and receive accurate answers.

### node-latency-for-k8s

![node-latency-for-k8s](https://miro.medium.com/max/1400/0*3tjxbAyj1g7uQZ8n.png)

The [node-latency-for-k8s](https://github.com/awslabs/node-latency-for-k8s?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) tool provides process-level telemetry via prometheus metrics, cloudwatch metrics, and markdown timing charts to optimize K8s node launch times.

## Book of the week

I wrote a book called [Pipeline as Code](https://www.manning.com/books/pipeline-as-code?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) which focuses on automating your development pipeline in a cloud-native, service-driven world. The book covers the use of infrastructure-as-code tools such as Packer and Terraform to create robust CI/CD pipelines for various cloud-native applications, including Kubernetes and Serverless. It also teaches how to build and deploy a Jenkins cluster from scratch on AWS, GCP, and Azure.

## Tweet of the week

Collection of Twitter [threads](https://twitter.com/danielepolencic/status/1298543151901155330) to learn K8s (or at least the tip of the iceberg lol) 👇🏻

![Kubernetes threads](https://miro.medium.com/max/1178/0*fLFaizsj9Xb1_M-N.png)

## Meme of the week

![AWS meme](https://miro.medium.com/max/750/0*u5qPNvE1pYwYQw-M.png)

I hope this summary has been useful. Remember to [subscribe to the newsletter](https://www.devopsbulletin.com/) to receive the latest DevOps trends in your inbox every week 🔥