@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/es-snapshot-restore-existing-index-with-different-name/
DevCoops
How to restore index with a different name from an Elasticsearch snapshot
You may wonder if it’s possible to rename an Elasticsearch index while doing a restore from an Elasticsearch snapshot but keeping the existing index as it is. Let’s see the scenario. I have an index devcoops and have a backup snapshot of it as well. I will…
@DevOps News & Tutorials
https://devcoops.com/terraform-output-count-for-each-loops/
DevCoops
Terraform output with loops: count and for_each
It’s not a new thing to loop through Terraform outputs though, so here are a few solutions that could help since count can’t be used as part of the output itself.
@DevOps News & Tutorials
https://devcoops.com/terraform-project-iam-binding-removes-gcp-compute-engine-default-service-accounts/
DevCoops
google_project_iam_binding removes GCP compute engine default service accounts from IAM principals
By default, once you enable the Compute Engine API in GCP, two Google-managed service account principals will be created Compute Engine default service account and Google APIs service account. Both assigned with the Editor role.
@DevOps News & Tutorials
https://github.com/openfaas/faas
GitHub
GitHub - openfaas/faas: OpenFaaS - Serverless Functions Made Simple
OpenFaaS - Serverless Functions Made Simple. Contribute to openfaas/faas development by creating an account on GitHub.
@DevOps News & Tutorials
https://devcoops.com/restart-ecs-tasks-with-force-new-deployment/
DevCoops
Restart ECS tasks with –force-new-deployment
If you want to update your currently running ECS tasks and launch new ones, there is a cool option --force-new-deployment which will start a new deployment of the service and recycle all the tasks. It’s very useful if you need to refresh the containers and…
@DevOps News & Tutorials
https://medium.com/@codervinod/i-deleted-78-of-my-redis-container-and-it-still-works-df8310a3a007
Medium
I deleted 78% of my Redis container and it still works
Yes, you read that right. I deleted almost 80% of the code from the Redis bitnami container image on Docker Hub and it still does…
@DevOps News & Tutorials
https://devcoops.com/redis-cli-one-liner-auth-execute-command/
DevCoops
Redis one-liner: AUTH and execute a command
Given that Redis supports optional authentication, it would be outrageous to deploy it to a public subnet hence exposing to the Internet. So, once you setup and configure Redis in a private subnet, bind the address, add a firewall rule, and on top of that…
@DevOps News & Tutorials
https://devcoops.com/no-package-python3-certbot-nginx-available/
DevCoops
Fix ‘No package python3-certbot-nginx available.’ error
While installing some Certbot packages I stumbled upon the No package python3-certbot-nginx available. error. Let’s take a look.
@DevOps News & Tutorials
https://devcoops.com/terraform-error-failed-install-provider/
DevCoops
‘Failed to install provider … doesn’t match checksums from dependency lock file’ error in Terraform
For today’s Terraform error of the week series we are going to take a look at the following one: │ Error: Failed to install provider │ │ Error while installing terra-farm/xenorchestra v0.23.2: the current package for │ registry.terraform.io/terra-farm/xenorchestra…
@DevOps News & Tutorials
https://devcoops.com/docker-x509-certificate-expired-or-not-yet-valid/
DevCoops
Docker and ‘x509: certificate has expired or is not yet valid’ error
It’s been a while since I’ve encountered any issues and errors related to Docker. It has to do with one of two things. Docker became more stable, or I’m not spending time on it as I was before. Either way, here’s the error I’ve faced this week when I was…
@DevOps News & Tutorials
https://devcoops.com/top-command-not-found-debian-based-container/
DevCoops
Top command not found on Debian-based Docker container
Some of your Docker Debian-based containers can be killed due to heavy processes running inside the container. If your preferred choice is the top command, most likely you will get the following error: top: command not found. Let’s see how to install top…
@DevOps News & Tutorials
https://devcoops.com/azure-app-registrations-vs-enterprise-apps/
DevCoops
App Registrations vs Enterprise Applications in Azure AD
There are two important things to differentiate when registering and working with apps in Azure AD: App Registrations and Enterprise Applications.
@DevOps News & Tutorials
https://dev.to/tomgranot/docker-shell-shortcuts-because-writing-full-commands-is-hard-33h
DEV Community
👩💻
👨💻
Docker shell shortcuts - because writing full commands is hard!
Containers for fun and profit! So you're now officially excited about Docker and container...
@DevOps News & Tutorials
https://redbean.dev
redbean.dev
single file distributable web server
@DevOps News & Tutorials
https://devcoops.com/fix-docker-unable-to-start-container-process-exec-bin-bash/
DevCoops
How to fix Docker: unable to start container process: exec: ‘/bin/bash’
If you get this kind of error: docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown. or ERRO[0000]…
@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.