@DevOps News & Tutorials
@devopsblogposts
659
subscribers
35
photos
451
links
News and topics from the DevOps world. Feel free to share your devops blog posts, stories and opinions.
Download Telegram
Join
@DevOps News & Tutorials
659 subscribers
@DevOps News & Tutorials
https://devcoops.com/azure-service-principal-vs-managed-identities/
DevCoops
Service Principal vs Managed Identities in Azure
Two more arguably confusing identity objects in Azure AD – Service Principal and Managed Identities. Let’s tackle them down by defining what they are and how they distinguish from each other.
@DevOps News & Tutorials
https://shkspr.mobi/blog/2022/07/dns-esoterica-why-you-cant-dig-switzerland/
Terence Eden’s Blog
DNS Esoterica - Why you can't dig Switzerland
As part of my new job, I'm learning a lot more about the mysteries of the Domain Name System than any mortal should know I thought possible. The humble unix dig command allows you to query all sort of DNS information. For example, to see name server records…
@DevOps News & Tutorials
https://devcoops.com/azure-user-vs-system-assigned-managed-identities/
DevCoops
User-assigned vs System-assigned Managed Identities in Azure
In one of the last Azure posts, I wrote about the differences between Service Principal and Managed Identities. Since there are two types of MIs – User-assigned and System-assigned, I’m going to cover them both broadly.
@DevOps News & Tutorials
https://devcoops.com/terraform-azure-microsoft-graph-api-permission-ids/
DevCoops
Get Azure AD Microsoft Graph API Delegated / Application permission IDs in Terraform
Getting Microsoft Graph API Delegated and Application permission IDs are definitely hard to find, if you are doing things right – the programmatic way.
@DevOps News & Tutorials
https://devcoops.com/terraform/
DevCoops
Enable/Disable resources conditionally in Terraform
Since there isn’t any resource_enabled = false feature developed by Terraform yet, here’s a quick hack to enable / disable resources.
@DevOps News & Tutorials
https://devcoops.com/terraform-get-current-working-directory-name-only/
DevCoops
Get current working directory name in Terraform
Another probably valuable Terraform nugget to share. Suppose that you want to get the current working directory name only for some reason. There are few helpful built-in references and functions that could help.
@DevOps News & Tutorials
https://github.com/docker-slim/docker-slim
GitHub
GitHub - slimtoolkit/slim: Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled…
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source) - slimtoolkit/slim
@DevOps News & Tutorials
https://devcoops.com/terraform-run-local-commands-scripts/
DevCoops
Run local commands and scripts with Terraform
Every once in a while, using built-in Terraform modules is just not enough. From time to time as new cloud features are developed and released, there is no native support yet, so it always takes time for them to be added in the respective TF module pipelines.…
@DevOps News & Tutorials
https://devcoops.com/gcp-service-networking-not-enabled-error/
DevCoops
SERVICE_NETWORKING_NOT_ENABLED error in Terraform
Another GCP Terraform issue I was facing this week to share. It was related to not having API enabled as with most of them. This time the error I saw in the default console output was: Error: Error, failed to create instance xxxx: googleapi: Error 400: Invalid…
@DevOps News & Tutorials
https://podman.io/releases/2022/02/22/podman-release-v4.0.0.html
@DevOps News & Tutorials
https://devcoops.com/fix-no-basic-auth-credentials-ecr/
DevCoops
How to fix ‘no basic auth credentials’ AWS ECR
If you are struggling to get login credentials for ECR authentication to be able to push or pull a Docker image from ECR, then you are probably executing the aws ecr get-login command. Since AWS announced version 2 of the AWS CLI, this command doesn’t work…
@DevOps News & Tutorials
https://badshah.io/guardduty-good-bad-ugly/
badshah.io
GuardDuty - the Good, the Bad and the Ugly
If you listen to anyone discussing AWS security, you probably heard about Amazon GuardDuty. It's an intelligent "threat detection" service from AWS. Should you enable GuardDuty? I hope you'll reach closer to your answer by the end of this blog post.
@DevOps News & Tutorials
https://prod.releasehub.com/blog/6-docker-compose-best-practices-for-dev-and-prod
Releasehub
6 Docker Compose Best Practices for Dev and Prod — Release
Docker Compose is an excellent optimization tool for development and production. Learn best practices for Docker Compose
@DevOps News & Tutorials
https://devcoops.com/redis-warning-overcommit-memory-set-0/
DevCoops
How to solve Redis WARNING overcommit_memory is set to 0!
As I was working on a docker-compose stack I received the following warning message that was coming from the Redis service: WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory…
@DevOps News & Tutorials
https://carlogecker.dev/posts/ssh-tips-and-tricks/
@DevOps News & Tutorials
https://azure.github.io/AppService/2022/08/16/A-Heavy-Lift.html
Azure App Service
A Heavy Lift: Bringing Kestrel + YARP to Azure App Services
In this post, we get a behind-the-scenes look at the engineering work required to change a critical platform component with code paths that are exercised billions of times a day while minimizing service disruptions and maintaining SLA for our customers. We…
@DevOps News & Tutorials
https://devcoops.com/git-commit-empty-folder/
DevCoops
Commit empty folders in Git with .gitkeep
By default, Git completely ignores directories because it’s an intentional design choice. Since empty dirs don’t include any files or content, therefore they’re ignored. And sometimes, we might need to add an empty directory in a repo for some reason. There…
@DevOps News & Tutorials
https://www.netmeister.org/blog/ops-lessons.html
www.netmeister.org
(A few) Ops Lessons We All Learn The Hard Way
Ops is hard. What have learned so far?
@DevOps News & Tutorials
https://github.blog/changelog/2022-08-23-ssh-commit-verification-now-supported/
The GitHub Blog
SSH commit verification now supported - GitHub Changelog
GitHub now supports SSH commit verification, so you can sign commits and tags locally using a self-generated SSH public key, which will give others confidence about the origin of a…
@DevOps News & Tutorials
https://github.com/jetpack-io/devbox
GitHub
GitHub - jetify-com/devbox: Instant, easy, and predictable development environments
Instant, easy, and predictable development environments - jetify-com/devbox
@DevOps News & Tutorials
https://devcoops.com/git-list-unpushed-commits/
DevCoops
How to list unpushed commits with git log
Another cool command by Git and this time we are going to try to list all local (unpushed) commits. As always, there’s more than one way to shine a penny.