Hot answers tagged

21 votes
Accepted

How to have multiple git repos in an Azure DevOps project?

Following works for me: Click on your Project and then [Repos] in the left hand menu. Along the top, you'll see the bread-crumbs: Organization / Project / Repos / Files / {NameOfCurrentRepo} Click ...
DrGriff's user avatar
  • 426
20 votes
Accepted

How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?

The three major cloud platforms you mentioned have either free trials or a free tier; these all include spending and resource caps which prevent you from spending more than your free trial allows: ...
Richard Slater's user avatar
15 votes
Accepted

On Azure, how do I run a short-lived Docker container on a schedule?

Azure Container Instances (ACI) may be a good option as you suggest. These let you run a container directly on Azure, without having to manage a VM, with per-second billing for the time the container ...
RichVel's user avatar
  • 872
14 votes

How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?

Emulate the cloud on your own hardware Doing anything substantial with the free tier is challenging. But you probably have some hardware lying around that you can build your own minicloud on. If you ...
chicks's user avatar
  • 1,838
9 votes
Accepted

Azure - Connection String in Key Vault vs Application Settings

The benefits as I see them are the general reasons to use Azure Key Vault Secrets are centrally stored with options for authorization, auditing, etc. Azure can be scripted to update the secrets on a ...
Nicolai Skovvart's user avatar
9 votes
Accepted

How to use tags in Amazon Web Services and Azure

I would set up a base taxonomy to start with, you can use automation across your estate to ensure that all resources follow the taxonomy. You have a choice between simply deleting resources that don'...
Richard Slater's user avatar
8 votes
Accepted

Separate SQL Server or just separate SQL Database for test and production?

Go with a separate logical server: It is going to cost the same because you are charged on the tier of the database not the database server. By providing separate servers you provide isolation ...
Richard Slater's user avatar
7 votes
Accepted

Memory being abruptly freed up every day at about the same time

I think have found out why this graph looks like this. I am also gathering metrics for the ASP.NET Applications / Errors Total performance counter, and I have noticed that exactly at the same time ...
António Sérgio Simões's user avatar
7 votes

Memory being abruptly freed up every day at about the same time

I've seen this same "sawtooth" pattern in other systems, in particular a Java-based data tool. Based on your description, I think you're looking at .NET garbage collection (assuming this is a .NET ...
Dave Swersky's user avatar
  • 4,058
6 votes

Need a folder, always updated with the latest code from Git

Use a Git post-receive hook to issue a git pull in the directory you want to keep updated. You might want to mount the directory you want to keep updated locally to the Git server, or execute that ...
Gaius's user avatar
  • 1,086
6 votes

How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?

There are quite a few services that offer 'free tiers' of some description to help new developers get started with a cloud platform without the cost you've mentioned. AWS have quite a generous free ...
Aurora0001's user avatar
  • 1,512
6 votes

Separate SQL Server or just separate SQL Database for test and production?

Putting them both on the same server is certainly the easiest. However, I'd argue in a business situation you shouldn't be able to do it. A production database is one of the most important resources ...
Xiong Chiamiov's user avatar
6 votes
Accepted

Is Azure's confidential computing essentially encrypted RAM?

The article you are referencing mentions encrypted RAM but that was only a reference to possibilities of enhancing the technology more in the future, not about the current state of confidential ...
mico's user avatar
  • 525
6 votes
Accepted

Terraform | The "count" object can be used only in "resource" and "data" blocks,

The resource "azurerm_network_interface_backend_address_pool_association" "network_interface" block doesn't have the count argument set, so count.index is not meaningful in that block. Given the ...
Martin Atkins's user avatar
5 votes

On Azure, how do I run a short-lived Docker container on a schedule?

For an alternative approach, I would investigate Azure functions: https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview https://docs.microsoft.com/en-us/azure/azure-functions/...
Mark O'Connor's user avatar
5 votes

Azure Equivalent for CodeDeploy

Azure has a robust CI/CD pipeline which is much easier to use than CodeDeploy on AWS. It is called Build/Release pipelines under Azure DevOps. It allows you to configure multiple environments with ...
Sashi's user avatar
  • 151
5 votes

Reading two Repos in Azure Build pipeline

I also use the classic editor, and I have implemented this for our builds. My use case was that I have a set of common set of build/release scripts stored in their own repository, and I want the ...
AHaleIII's user avatar
  • 179
4 votes

Need a folder, always updated with the latest code from Git

The standard pattern for this is to have a build that is triggered upon change to the git repository. The build will do nothing more than checkout the repository and make an archive of everything but ...
M. Ayers's user avatar
  • 141
4 votes

Azure Powershell DSC or Ansible

PowerShell Desired State Configuration: Pro's Great support for Microsoft Technologies (IIS, Exchange, SharePoint, etc.) Con's OS and PowerShell Version requirements can become prohibitive. WinRM ...
Richard Slater's user avatar
4 votes
Accepted

Azure DevOps service connection: lifetime of service principal

I will try to elaborate a lite about those topics. When secret expires and you got error, you have to refresh connection. Go to Edit dialog for connection and save without any changes. Described here:...
Paweł Tajs's user avatar
3 votes

Azure - Connection String in Key Vault vs Application Settings

I have the same opinion as you, I see no point in using the Key Vault in such scenarios. Instead I utilize Azure App Configuration https://docs.microsoft.com/en-us/azure/azure-app-configuration/...
Janus007's user avatar
  • 131
3 votes
Accepted

availability calculation of a azure service fabric stateful application

Virtual Machine Scale Sets (VMSSs) don't have a SLA of their own: Virtual Machine Scale Sets is a free service, therefore, it does not have a financially backed SLA itself. However, if the Virtual ...
Richard Slater's user avatar
3 votes

In the HashiCorp stack, where's the appropriate place to add users?

I am less familiar with what Azure offers, but other cloud providers offer a way to manage users external to the VMs the provide (normally IAM permissions). I would not bake user into the system but ...
Michael Daffin's user avatar
3 votes

In the HashiCorp stack, where's the appropriate place to add users?

I would agree with previous statements: avoid baking users into your base image with Packer. Likewise, you should avoid baking them with Terraform as well. Terraform does not provide a mechanism to ...
BoomShadow's user avatar
  • 1,432
3 votes
Accepted

Can I run Chef/Puppet server from Azure and manage my on-premise infrastructure?

The prerequisites for a chef server are here and common to any installation. You only need to allow https to port 443 from your inner infrastructure to the cloud server. If you have a proxy with SSL ...
Tensibai's user avatar
  • 11.3k
3 votes
Accepted

docker compose & azure key vault - passing secrets to a container on startup

Found this --> Passing secrets to a Docker container Environment variables appear the preferred method - will need to run a prebuild script to fetch the secrets and then follow this https://docs....
Chris McKelt's user avatar
3 votes
Accepted

Can't get either Postgres permissions or PVC working in AKS

The following setup works for me. When using the subPath in volumeMounts, the permission issue is automatically addressed, as the user postgres owns the folder corresponding to the subPath. spec: ...
kca2ply's user avatar
  • 146
3 votes
Accepted

Cloud agnostic infrastructure automation better than terraform?

There are no "agnostic" products due to the dramatic differences of the design of the Cloud Services provided by different companies. My best recommendation is to write your code to support the ...
Steven K7FAQ's user avatar
3 votes
Accepted

Azure Pipelines: Exclude folders using Azure App Service Deploy

As @yang-shen-msft notes on Stack Overflow, there doesn't appear to be a way to honor the MSDeploySkipRules defined in the csproj file. Instead, files and folders can be skipped by defining the ...
Jeremy Caney's user avatar
3 votes
Accepted

Kibana slow performance optimization

So basically I've ended up turning these flags off (/app/management/kibana/settings) filterEditor:suggestValues discover:searchOnPageLoad doc_table:highlight visualize:enableLabs telemetry:enabled ...
Most Wanted's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible