Serverless Patterns
Tags: programming, aws, kubernetes, serverless
Published: 2023-02-17 17:36:31

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 and 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:

🚀 “[Deploying resources on Kubernetes with GitOps and Terraform](https://awstip.com/102-deploying-resources-on-kubernetes-with-gitops-and-terraform-369814e0d362?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — The goal of this article is to help readers understand how to use a GitOps tool in conjunction with Kubernetes.

⭐️ “[The FIRST principles for a successful Serverless adoption!](https://sbrisals.medium.com/the-first-principles-for-a-successful-serverless-adoption-c7d86075342b?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — Serverless requires a new way of thinking (stateless, asynchronous), architecting (event-driven, microservices), building (incremental, iterative), and operating (observability, metrics) applications.

🏷 “[Enforce and validate AWS tags with Atlantis + OPA + Terraform](https://medium.com/@wendellbarcellos/enforce-and-validate-aws-tags-with-atlantis-opa-terraform-46f7bfd453cb?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — This article shows how to force specific tags and specific tag values in AWS resources with Terraform, Atlantis, and Open Policy Agent.

💡 “[Don’t call It a Platform](https://samnewman.io/blog/2023/02/08/dont-call-it-a-platform/?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — The reality is, much of the effort around platform engineering is NOT about empowering developers, it’s about hiding the towering pile of crap we’ve assembled and now have to hide from the people we apparently got it for in the first place.

🔥 “[Serverless patterns](https://dev.to/aws-builders/serverless-patterns-4439?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — This post will give you an overview of why to use them and how to implement them in a serverless, and often the event-driven, way on AWS.

😇 “[Getting a job as an engineering executive](https://lethain.com/getting-engineering-executive-job/?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — If you’re looking to find an executive role, [Will Larson](https://www.linkedin.com/in/ACoAAAC0KdQBkikUIfCPY2nyso3lWQqRKXj_ViQ), author of Staff Engineer and Elegant Puzzle books, condensed the many stories he has heard, along with his own experiences.

🛠 “[Extract code and resources from the Terraform state file](https://betterprogramming.pub/deep-state-create-terraform-code-from-the-state-file-b64b3c924af3?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin)” — A series of Terraform tips from the folks at BigPanda. This hands-on tutorial shows how to re-create a deleted resource and generate its Terraform code.

📊 “[Datadog CI Visibility — an alternative solution](https://www.runforesight.com/blog/datadog-ci-visibility-an-alternative-solution?utm_source=devopsbulletin&utm_medium=partner&utm_campaign=datadog-ci-observability)” — What is CI visibility, why you should care about it, and an alternative solution ([Foresight](https://www.linkedin.com/company/runforesight/)) to Datadog CI visibility that you can use to apply in your development process.

## Latest open source projects

### Sieve

[Sieve](https://github.com/sieve-project/sieve?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) is an open-source tool to help developers test their Kubernetes controllers by injecting faults and detecting dormant bugs at development time.

### Terradrift

[Terradrift](https://github.com/rootsami/terradrift) is an open-source tool that will navigate through all terraform directories (stacks) to run terraform plan to detect the current drift between the committed code and applied infrastructure

### AWS Observability

The [AWS Observability accelerator](https://github.com/aws-observability/terraform-aws-observability-accelerator?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) for Terraform is a set of modules to help you configure Observability for your Amazon EKS clusters with AWS Observability services (Prometheus, Grafana, OpenTelemetry).

### DuckDB

[DuckDB](https://github.com/duckdb/duckdb?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) is an open-source in-process SQL OLAP database management system. DuckDB supports arbitrary and nested correlated subqueries, window functions, collations, complex types (arrays, structs), and more.

### Semgrep

[Semgrep](https://github.com/returntocorp/semgrep?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) is a fast, open-source, static analysis engine for finding bugs, detecting vulnerabilities in third-party dependencies, and enforcing code standards.

### ShellGPT

[ShellGPT](https://github.com/TheR1D/shell_gpt?utm_source=newsletter&utm_medium=email&utm_campaign=devopsbulletin&utm_content=devopsbulletin) is an open-source CLI productivity tool powered by OpenAI’s Davinci model, will help you accomplish your tasks faster and more efficiently.

## Tweet of the week

The importance of having an [assets inventory](https://twitter.com/mlabouardy/status/1624096766948782080) of your cloud resources and how it could help you to improve your security posture, optimize your cloud costs, and empower your developers 👇🏻

![Cloud asset inventory](https://miro.medium.com/max/590/0*M-foqihsmJ1CxPU-.png)

## Meme of the week

![Meme of the week](https://miro.medium.com/max/700/0*Z4JDSu-3UPxZApdV.jpeg)

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