DALL-E generated image courtesy of open.ai
Nexteam is sponsoring this newsletter. Please tell your friends and colleagues about this publication. Thank you.
Royal Mail making limited progress on ransomware recovery
This hack is causing serious issues for many companies using Royal Mail, after many strikes, now this ransomware attack.
Automating Cybersecurity Metrics (ACM)
A series of blog posts on cybersecurity metrics and security automation.
https://medium.com/cloud-security/automating-cybersecurity-metrics-890dfabb6198
https://medium.com/cloud-security/delegating-scp-management-to-governance-team-via-aws-organizations-53334a31b71c (latest article)
aviary.sh
It's a configuration management tool like Ansible but in Bash! If you are like me and you are frustrated with using YAML as a programming language (it's not a programming language) you could have a look at this project or something similar.
https://github.com/frameable/aviary.sh
precloud
This package is an open-source command line interface that is run before deploying to the cloud. It contains rules that check for names, quotas, and resource-specific constraints to make sure that your infrastructure code can be deployed successfully.
https://github.com/tinystacks/precloud
Streaming Big Data Files from Cloud Storage
The article discusses the challenges and solutions for streaming large data files from cloud storage, such as Amazon S3 or Google Cloud Storage, to a local machine or a distributed computing cluster. The author suggests using a technique called "chunking" to break the large files into smaller pieces that can be streamed and processed in parallel. The author also mentions several open-source tools and libraries, such as Apache Nifi, Apache Kafka, and PySpark, that can be used to implement this technique. Additionally, the article explains how to use these tools to create a pipeline for streaming and processing data in real time.
https://towardsdatascience.com/streaming-big-data-files-from-cloud-storage-634e54818e75
Bind multiple CVEs released
https://kb.isc.org/v1/docs/cve-2022-3094
https://kb.isc.org/v1/docs/cve-2022-3488
https://kb.isc.org/v1/docs/cve-2022-3736
https://kb.isc.org/v1/docs/cve-2022-3924
Building a Staging Environment for Data Teams
Many data teams are incorporating software development techniques to boost their quality and dependability. This article focuses on creating staging environments for data.
https://medium.com/riskified-technology/building-a-staging-environment-for-data-teams-855700fa390f
We invested 10% to pay back tech debt; Here's what happened
The article on "Tech Debt Day" discusses the concept of technical debt in software development, which refers to the trade-off made between short-term efficiency gains and long-term code maintainability. The author argues for the need for a dedicated day to address technical debt in the development process, to ensure code quality and prevent problems from compounding over time.
The life of a DNS query in Kubernetes
An overview of how a Domain Name System (DNS) query works in the Kubernetes environment. It explains the process of resolving a hostname to an IP address, starting from the client to the DNS resolver, to the authoritative name server. The article also discusses the role of the Kubernetes DNS service in the DNS query process and its importance for ensuring proper communication between pods in a Kubernetes cluster.
https://www.nslookup.io/learning/the-life-of-a-dns-query-in-kubernetes/
What are Structured Logs and Why do They Improve Performance?
https://medium.com/@func25/why-you-should-use-structured-logging-format-47a388711316
AWX 21.11.0 Released
There is a long list of improvements in the changelog.
https://github.com/ansible/awx/compare/21.10.2...21.11.0
Ansible News
Pure Storage - Pure Collection v1.1.0 released: https://github.com/Pure-Storage-Ansible/Pure1-Collection/releases/tag/1.1.0
Community AWS released: https://github.com/ansible-collections/community.aws/releases/tag/5.2.0
Hetzner Robot Collection released: https://github.com/ansible-collections/community.hrobot/blob/main/CHANGELOG.rst#v1-7-0
AH Configuration released: https://github.com/redhat-cop/ah_configuration/releases/tag/1.1.0
Vultr Collection released: https://github.com/vultr/ansible-collection-vultr/blob/v1.7.0/CHANGELOG.rst
community.skydive is unmaintained: https://github.com/ansible-community/community-topics/issues/171
Functional Python, Part II: Dial M For Monoid
Tweag is a great company, they employ the creator of Nix and they are behind Nix Flakes, they also use Haskell a lot in their projects. This is the second part of a very good functional programming tutorial for Python, including type classes, monoids, continuation-passing, and an implementation of foldr. Fantastic.
https://www.tweag.io/blog/2023-01-19-fp2-dial-m-for-monoid/
Thoughts on the Python packaging ecosystem
A list of packaging solutions for Python with a preference for Poetry, which I agree, seems to be the best at the moment.
https://pradyunsg.me/blog/2023/01/21/thoughts-on-python-packaging/
Smithy
A language to specify services and SDKs.
https://smithy.io/2.0/index.html
Why PostgreSQL: Advantages
I have written this article discussing the advantages of PostgreSQL. The article was sponsored by Nexteam.
https://nexteam.co.uk/post/technology/postgresql/why-postgresql-advantages
PGConf NYC 2022 The MERGE Command by Simon Riggs
Walk-through of implementing a simple Postgres patch. From sources to CI.
A Comprehensive Guide to Generics in Go
Generics can reduce the length of your code by having polymorphic types in your functions.
https://itnext.io/a-comprehensive-guide-to-generics-in-go-5a9dcda5669c
Buffalo 1.1
New 1.1 release of this popular Go web framework.
https://github.com/gobuffalo/buffalo
Newsletter sponsor: Nexteam
Technology, Experience, Delivered.
Thanks for reading Infra Weekly Newsletter! Subscribe for free to receive new posts and support my work.