Azure Gold Images

In this article I show how to create  and deploy custom images (also known as Gold Images)  in Azure. A Gold image is a fully patched image that had all our needed software, registry settings, and configurations installed.

In a previous  article,   “DSC with Infrastructure-As-Code and Azure Automation is a potent combination”, I outlined the limitations of using a “Gold Image” to provision your Virtual Machines, that keeping the machines cloned from these golden images up-to-date with latest versions of software and patches is non-trivial task, and in that article I outlined a strategy for provisioning virtual machines that are in a continual state of operational readiness using Azure Automation DSC and infrastructure as code.

However, some clients do want to continue using Gold Images. There is sometimes a reluctance to change established ways of doing things, or  just paucity of time . To satisfy such clients, we do need to create and provision such “Gold Images”, and in this article, I show how.

DSC with Infrastructure-As-Code and Azure Automation is a potent combination

This article shows how DSC, Infrastructure-as-Code and Azure #Automation play together by presenting a fully automated sample of a vm provisioned using an ARM template with a DSC extension, deployed using an Azure Automation Runbook, whose state is managed using DSC. I have attempted to build up to this article by provisioning the vm and adding it to DSC manually, and then automating the process. I have also tried to show the business value that DSC, infrastructure-as-code and automation brings to the traditional ways of provisioning and managing the state of servers.

A Pagination Strategy For A CosmosDb API

Introduction In this post, I discuss two approaches for providing pagination functionality to a CosmosDb  Telemetry API that follows the JSON API Spec  for Pagination, which specifies that a JSON API may provide “previous”, “next” and “self” links in the response body that the user can follow to get the next/previous page sets. { “meta”: {…

Time March (IPhone App)

TimeMarch is an IPhone App created by Hersh Bhasin.  It allows one  to create historical and personal timelines and also lets you group them together. High school students studying for tests like STAAR, AP, SAT etc. and college students studying for GRE, World History, Civil War, World Events etc. will find this app. useful in preparing for their quizzes and examinations. This app. is also useful for recording ancestry and for creating family timelines and genealogy charts: family members can easily share personal timelines with each other via email, and by grouping, create consolidated family timelines. Writers and authors will find this app useful in creating timelines for their characters. Lawyers and Law students will find it useful in recording case law. Time March is also useful in recording medical symptoms and personal medical treatment plans. In fact in any situation that events in chronological order are to be recorded, Time March will be found useful.

Published Submissions Editor (Mac App)

Published! is a Mac App developed by Hersh Bhasin. It is a powerful submission tracking software for authors, poets, artists, researchers, song writers, fiction writers, non-fiction writers, writers of memoirs, biography, crime, suspense, mystery, short stories, thrillers, romance, erotica, horror, westerns, science, fantasy, Young Adult…wordsmiths of any kind.

Published! includes a full text editor for creating your works. The text editor includes standard document operations like search, spell-check, formatting etc.

It has a powerful database for recording your agents, publishers, contests and markets. With its powerful query features you find the exact markets that meet your search criteria. Which publishers allow multiple submissions? simultaneous submissions? snail-mail? email? What contest dates are approaching?

Once your work is out in the market, Published! can monitor how many days a piece of work stays out in the market. When an editor sends his comment on your article, record it in Published! …

Use it to track multiple revisions to your work– both as an independent piece of work, and as a revision of an earlier work.

With its powerful accounting module, accurately track revenues and royalties arising from submissions. Record expenses pertaining to works. Track income and expense arising from each work and all works as a whole.

Its powerful reporting system keeps you organized. Each section of the interface (Publishers, Contacts, Submissions, Works, Genres, Financial Categories) can be searched by a number of criteria and printed as paper reports.

A Strategy to Secure Azure CosmosDb APIs

Backstory In a recent engagement I had to devise a way to secure a Json Api that surfaced data from a Azure CosmosDb collection. The use case was that a API consumer should first be authenticated by suitable means and once his/her identity was established, authorized to only query a subset of data to which…

ASP.NET Professional Projects

This book was written by me in 2000 and was published by Thompson Press. From the back cover: “This book offers intermediate to advanced IT professionals the chance to learn the inner workings of new SOAP/XML developments by working through a real-life application. Readers will design an accounting product for the Web using ASP .NET and Web Services. The application can be written in any .NET language and all communication is over the Internet. Readers will walk away feeling confident about developing real-life projects using ASP .NET.”

The Donkey Lane

Small words of encouragement from teachers can often have dramatic effects on young minds. In Miss Peters class there was a segregation of the smart students from the slow: the smart students were to be kept away from the laggards lest they bring the smart students down. Hence the laggards had a special lane in her class called the “Donkey Lane,” of which young Sonny was the “head donkey”. When Sonny graduated to the next grade, his new class teacher was the warm and sincere Mrs. Ryan, the complete opposite of Miss Peters. A word of encouragement from Mrs. Ryan on his essay restored Sonny’s shattered confidence and makes him want to become a writer when he grew up.