Forwarded from Українська девопсарня (Seva Poliakov)
Очень полезный маленький гайд по очередям. Прочитайте, чтобы не изобретать свои https://sudhir.io/the-big-little-guide-to-message-queues/
sudhir.io
The Big Little Guide to Message Queues
A guide to the fundamental concepts that underlie message queues, and how they apply to popular queueing systems available today.
A Medium post with some benchmarks of gp2 vs gp3 AWS volumes
Putting it into the author's words: "There is no such thing as free lunch". You have cosider tradeoffs. When you're getting cheaper disks, you may see lower performance. This is not a critical issue, this is something you have to always keep in mind.
#aws
Putting it into the author's words: "There is no such thing as free lunch". You have cosider tradeoffs. When you're getting cheaper disks, you may see lower performance. This is not a critical issue, this is something you have to always keep in mind.
#aws
Medium
Looking into performance of the new EBS gp3 volumes
Just recently, I found out that AWS has introduced a new type of Elastic Block Storage called gp3 in addition to the popular gp2 volume…
Forwarded from Security Wine (бывший - DevSecOps Wine) (Denis Yakimov)
How GitOps Improves the Security of Your Development Pipelines
Наткнулся на свежую статью, приводящую примеры того, как методология GitOps может улучшить безопасность вашей среды. К основным примерам относятся аудит и ограничение доступа CI/CD системы. Про проблемы классического подхода DevOps и решения GitOps также можно прочитать в статьях:
- How secure is your CICD pipeline?
- How GitOps Raises the Stakes for Application Security
Однако, как и везде, есть подводные камни. Хорошая статья на тему рисков, связанных с GitOps:
- Securing GitOps Pipeline
В основном здесь все сводится к угрозам системы контроля версий, но не стоит также забывать про RBAC. Ведь, несмотря на широкое ограничение доступа согласно методологии, оператор GitOps все еще может стать отправной точкой для злоумышленника. Еще одна проблема - сильная зависимость от кода и уход от подходов, связанных с контролем Run-time через тот же OPA. Как показывает практика, статические анализаторы далеко не всегда хороши в определении полной картины проблем, связанных с ИБ.
Пока комьюнити ищет золотую середину в подходах, предлагаю вам также прочитать следующий материал:
- GitOps Security with k8s-security-configwatch by Sysdig
- Access Control & Security (GitOps and Kubernetes Book) (у кого есть полная версия книги, буду рад почитать)
Кстати, если вы не знакомы с методологией, то мне нравится перевод от Flant.
#ops #k8s
Наткнулся на свежую статью, приводящую примеры того, как методология GitOps может улучшить безопасность вашей среды. К основным примерам относятся аудит и ограничение доступа CI/CD системы. Про проблемы классического подхода DevOps и решения GitOps также можно прочитать в статьях:
- How secure is your CICD pipeline?
- How GitOps Raises the Stakes for Application Security
Однако, как и везде, есть подводные камни. Хорошая статья на тему рисков, связанных с GitOps:
- Securing GitOps Pipeline
В основном здесь все сводится к угрозам системы контроля версий, но не стоит также забывать про RBAC. Ведь, несмотря на широкое ограничение доступа согласно методологии, оператор GitOps все еще может стать отправной точкой для злоумышленника. Еще одна проблема - сильная зависимость от кода и уход от подходов, связанных с контролем Run-time через тот же OPA. Как показывает практика, статические анализаторы далеко не всегда хороши в определении полной картины проблем, связанных с ИБ.
Пока комьюнити ищет золотую середину в подходах, предлагаю вам также прочитать следующий материал:
- GitOps Security with k8s-security-configwatch by Sysdig
- Access Control & Security (GitOps and Kubernetes Book) (у кого есть полная версия книги, буду рад почитать)
Кстати, если вы не знакомы с методологией, то мне нравится перевод от Flant.
#ops #k8s
A list of blogs about Go programming language rated by writing quality, technical depth, and usefulness.
Also, here on Reddit people are suggesting even more online resources.
#go #programming
Also, here on Reddit people are suggesting even more online resources.
#go #programming
Reddit
From the golang community on Reddit: Go blogs rated by consistency, writing quality, and technical depth
Explore this post and more from the golang community
A basic introduction into strategic planning and Wardley mapping by Simon Wardley himself:
- Read on Twitter
- Read on UnrollApp
#culture
- Read on Twitter
- Read on UnrollApp
#culture
Twitter
Simon Wardley
X : We need to adapt to our new reality. Me : A question? X : Should we start with organisation or operating model first? Me : Neither. Start with doctrine i.e. basic principles of your company. This will lead you to landcape which will lead you to structure…
My former collegue created a tool to set arbitrary tags for AWS EBS volumes, which are created by Kubernetes Persistent Volume Claims
#aws #kubernetes
#aws #kubernetes
Medium
Introducing the k8s-aws-ebs-tagger
The k8s-aws-ebs-tagger brings tagging to the AWS EBS volumes created by Kubernetes PersistentVolumeClaims (PVC). This new utility enables…
HUG Kyiv #11: Terraform is comming!
Program:
- Nicolai Antiferov will tell about
Non-obvious things with a lock file in Terraform 0.14
- And Anton Babenko with 5+ Ways to Know the Cost of AWS Infrastructure Using Terraform.
Will be 26th Jan, 19:00 (Kyiv TZ) in Zoom and YouTube
Link accessible after registration
#event
Program:
- Nicolai Antiferov will tell about
Non-obvious things with a lock file in Terraform 0.14
- And Anton Babenko with 5+ Ways to Know the Cost of AWS Infrastructure Using Terraform.
Will be 26th Jan, 19:00 (Kyiv TZ) in Zoom and YouTube
Link accessible after registration
#event
Some feedback on an upgrade to Terraform 0.14 by Patrick Picard.
Apart from provider configuration, this article focuses on the new
#terraform #hashicorp
Apart from provider configuration, this article focuses on the new
sensitive output feature and some possible issues with it.#terraform #hashicorp
Imgflip
Roll Safe Think About It
A Roll Safe Think About It meme. Caption your own images or memes with our Meme Generator.
I've been looking forward to reading "It Doesn't Have to Be Crazy at Work for a while now. And today it's discounted on Amazon US for only $2.99!
#books
#books
MS Excel now is Turing complete
It means that it's time to return MS Excel to your resume and write next pet project on really popular language :)
#programming
It means that it's time to return MS Excel to your resume and write next pet project on really popular language :)
#programming
Microsoft Research
LAMBDA: Making Excel Turing-complete
Microsoft Excel the programming language is evolving. With the recent release of LAMBDA, users can now define new functions in the program’s formula language. Learn about the capability & its role in the transformation of spreadsheet formulas.
Forwarded from AWS Notes
Разбор падения Slack от 4 января:
https://slack.engineering/slacks-outage-on-january-4th-2021/
Весьма полезное чтиво – хронология, детали, выводы. Кроме ставшего классическим
Масштабирование AWS Transit GateWay (TGW)
TGW менеджится Амазоном, потому повлиять на него мы не можем. В то время, как часть проблем у Slack возникла из-за того, что резко возросший трафик через их корневой TGW, через который завязаны их окружения, давал ошибки, не успевая масштабироваться, добавляя проблем во время падения Slack. Амазоновцы вручную боролись с этой ситуацией:
However, our TGWs did not scale fast enough. During the incident, AWS engineers were alerted to our packet drops by their own internal monitoring, and increased our TGW capacity manually.
Чтобы такого избежать, нужно "прогревать" TGW, аналогично тому, как такое предусмотрено для ELB:
https://aws.amazon.com/articles/best-practices-in-evaluating-elastic-load-balancing/#pre-warming
Shared VPC vs different VPCs
Другой момент – отрицательные стороны от использования отдельных VPC. Если бы у Slack использовалась Shared VPC – и для окружения, и для мониторинга, то трафик бы не упёрся бы в узкое горлышко TGW (его скорости масштабирования), через который и соединяются отдельные VPC.
#TGW #Shared_VPC #design
https://slack.engineering/slacks-outage-on-january-4th-2021/
Весьма полезное чтиво – хронология, детали, выводы. Кроме ставшего классическим
/proc/sys/fs/file-max, есть и специфичные амазоновские причины.Масштабирование AWS Transit GateWay (TGW)
TGW менеджится Амазоном, потому повлиять на него мы не можем. В то время, как часть проблем у Slack возникла из-за того, что резко возросший трафик через их корневой TGW, через который завязаны их окружения, давал ошибки, не успевая масштабироваться, добавляя проблем во время падения Slack. Амазоновцы вручную боролись с этой ситуацией:
However, our TGWs did not scale fast enough. During the incident, AWS engineers were alerted to our packet drops by their own internal monitoring, and increased our TGW capacity manually.
Чтобы такого избежать, нужно "прогревать" TGW, аналогично тому, как такое предусмотрено для ELB:
https://aws.amazon.com/articles/best-practices-in-evaluating-elastic-load-balancing/#pre-warming
Shared VPC vs different VPCs
Другой момент – отрицательные стороны от использования отдельных VPC. Если бы у Slack использовалась Shared VPC – и для окружения, и для мониторинга, то трафик бы не упёрся бы в узкое горлышко TGW (его скорости масштабирования), через который и соединяются отдельные VPC.
#TGW #Shared_VPC #design
slack.engineering
Slack’s Outage on January 4th 2021
And now we welcome the new year. Full of things that have never been. — Rainer Maria Rilke January 4th 2021 was the first working day of the year for many around the globe, and for most of us at Slack too (except of course for our on-callers and our customer…
A bit of original content for you today.
I’ve wrote an article about my brief experiments with Crossplane.
This is a toolset, which allows you to manage infrastructure as Kubernetes objects.
I promised to write it up last year, but got a chance to actually publish it just now.
Hope you enjoy the reading!
#kubernetes #iac
I’ve wrote an article about my brief experiments with Crossplane.
This is a toolset, which allows you to manage infrastructure as Kubernetes objects.
I promised to write it up last year, but got a chance to actually publish it just now.
Hope you enjoy the reading!
#kubernetes #iac
HCP Consul, a fully managed service mesh, is now generally available on AWS.
It means that you can create a Consul cluster with HashiCorp Cloud Platform, which will run in your AWS cloud environment.
Prices are currently available for Development clusters and start at $0.027/hour. New users will get a free month offering.
#hashicorp #aws
It means that you can create a Consul cluster with HashiCorp Cloud Platform, which will run in your AWS cloud environment.
Prices are currently available for Development clusters and start at $0.027/hour. New users will get a free month offering.
#hashicorp #aws
Interesting thread about Nginx Service Mesh by Daniele Polencic
So yeah, Nginx had a service mesh too!
- Read on Threadapp
- Read on Twitter
I'm not sure, if anybody gonna use it for real, though
#kubernetes #nginx #networking
So yeah, Nginx had a service mesh too!
- Read on Threadapp
- Read on Twitter
I'm not sure, if anybody gonna use it for real, though
#kubernetes #nginx #networking
Threadreaderapp
Thread by @danielepolencic on Thread Reader App
Thread by @danielepolencic: THREAD Nginx has a service mesh too. Is it any good? Let's find out. 1/ Most service meshes use Envoy as a proxy and for good reasons: 1. It's fully open-source 2. It...
A list of awesome Prometheus alerts, divided by the nature. I.e. there are alerts for data bases, proxies and load balancers, storage, etc.
You can just copy-paste these into your monitoring code. Just keep in mind that the thresholds may be different for your particular case!
#observability #monitoring #prometheus
You can just copy-paste these into your monitoring code. Just keep in mind that the thresholds may be different for your particular case!
#observability #monitoring #prometheus
Forwarded from DevOps Deflope News
Если кто не знал, то завтра стартует конференция Fosdem`21.
Держите ссылку, смотрите расписание
http://amp.gs/5PTs
Держите ссылку, смотрите расписание
http://amp.gs/5PTs
iamlive - a tool, which generates a basic IAM policy from AWS client-side monitoring (CSM)
iamlive can generate policies based on aws cli commands that you execute. Also, you can configure it to only append required policies for the failed calls. There is a quick GIF demo in the README
Should be useful for everybody who works with AWS
#aws #iam
iamlive can generate policies based on aws cli commands that you execute. Also, you can configure it to only append required policies for the failed calls. There is a quick GIF demo in the README
Should be useful for everybody who works with AWS
#aws #iam
And we continue with the tools list.
hcltomd is a tool, which as you may guess, converts Terraform variables from HCL into a Markdown table, which you can put into your documentation or a README file.
It would be useful if you're creating Terraform modules for external customers as well asif the people ouside your team are using your modules.
#terraform #hcl #hashicorp #docs
hcltomd is a tool, which as you may guess, converts Terraform variables from HCL into a Markdown table, which you can put into your documentation or a README file.
It would be useful if you're creating Terraform modules for external customers as well asif the people ouside your team are using your modules.
#terraform #hcl #hashicorp #docs
GitHub
GitHub - idestis/hcltomd: Simple HCL (HashiCorp Configuration Language) parser for your vars.
Simple HCL (HashiCorp Configuration Language) parser for your vars. - GitHub - idestis/hcltomd: Simple HCL (HashiCorp Configuration Language) parser for your vars.