Author Archives: abatishchev

How to hook up child DNS zone into parent by updating its NS records using ARM template

Imagine a scenario: you have one global DNS zone in Prod subscription and several child DNS zones for each environment in their own subscriptions, e.g.: infra.example.com Subscription: Prod dev.infra.examle.com Subscription: Dev test.infra.example.com Subscription: Test prod.infra.example.com Subscription: Prod Each zone is … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to enable automatic clean up of provisioned application types on a Service Fabric cluster

As time goes by and you deploy applications, a new build every time what means a new application type is getting provisioned. Application packages are piling up and after some time old versions become just a clutter that eats up … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

How to use EndpointCertificate with proper ACL for Network Service in Service Fabric

Presentiments: your Service Fabric cluster must be of version 7.1. Since the automatic rollout was postponed, you would need to temporarily switch to the manual mode, select the latest version, and then switch back once the upgrade is complete. To … Continue reading

Posted in Programming | Tagged | Leave a comment

The benefits of using Arrays over Lists in C#

I’m an ardent proponent of using Arrays (T[]) over Lists (Lisf<T>) in C#. In my case, it’s mostly web services running in Azure and libraries, consumed by such services. In this blog post I’ll be collecting the pros and cons … Continue reading

Posted in Programming | Tagged | Leave a comment

How to set access policy on Key Vault in another subscription aka How to deploy to resource group in another subscription using ARM template?

The model for my Service Fabric infrastructure consists of two major parts: Data Center (think Azure region) Scale Unit (think Service Fabric cluster and its child resources) But today due to the limitation around AAD first party application we decided … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to split array into string for Service Fabric cluster ARM template

In order to use a certificates for Service Fabric cluster issues by custom, non publicly trusted CA you’d need to supply a list of thumbprints of intermediate CAs. In a form of a comma-separated string. What means if you have … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

Carnation Anapa Winery, vol 2, day 33: topping up

Since the second carboy with Cabernet Sauvignon was lacking some volume to do proper anaerobic fermentation I needed to top it up. But unfortunately I couldn’t find any juice that’d match (grape, location, year) mine so I decided to add … Continue reading

Posted in Winemaking | Tagged | Leave a comment

Carnation Anapa Winery, vol 2, day and 30: oak chips

I’ve ordered a 1-pound bag of medium toasted French oak chips on Amazon and over the course of past two days added about 55g (~2oz) in each of the filled full carboys: B#1 Syrah “wild” B#2 Syrah “calm” B#3 Cabernet … Continue reading

Posted in Winemaking | Leave a comment

Carnation Anapa Winery, vol 2, day 22: Specific gravity

I’m measuring specific gravity in the buckets with Cabernet Sauvignon: Bucket #4: 1.006 Bucket #5: 1.022 Bucket #6 “bad boy”: 1.080 I also measured the temperature inside the carboys: Batch #1 “wild”: 60.09F Batch #2 “calm”: 67.09F

Posted in Winemaking | Tagged | Leave a comment

Carnation Anapa Winery, vol 2, day 21: racking, specific gravity

I’m racking my Syrah and measure specific gravity in each of two 5-gallon carboys. Now on I’ll come them batches with specific name that describe their behavior. Syrah Batch #1 “wild”: 0.992. I decided to keep in garage where it’s … Continue reading

Posted in Winemaking | Tagged | Leave a comment