Skip to main content

What is Custom Infrastructure?

OpenDataDSL normally keeps your secrets, message queues and process runs in its own Azure resources. Many companies want some of that in their own infrastructure instead: their security team wants to hold the API tokens, their integration team wants the messages for the ETRM in their own Service Bus, Amazon SQS, Kafka or AMQP broker, or their models must run on their own machines inside their own network. Custom Infrastructure lets your company's administrators set this up themselves, and answers questions like:

  • What exactly do we have to do in Azure or AWS, or on our broker, and who in our company has to do it?
  • Which role does OpenDataDSL need, and what can it see with it?
  • Is everything set up correctly, and if not, what is missing?
  • How do we take access away again?

Throughout these pages we follow Northgate Energy, a fictional gas and power trader. Its IT team keeps the data feed tokens in the key vault nge-secrets, the messages for its ETRM and risk systems in Amazon SQS in its AWS account, and runs its curve builders on the batch account nge-batch.

The Custom Infrastructure overview


How it works​

OpenDataDSL never asks you for a key or a password. It signs in to your Microsoft Entra tenant as its own application, the OpenDataDSL application, and can only do what you allow it:

  1. A Microsoft Entra administrator of your company grants consent to the OpenDataDSL application, once.
  2. For each resource you want OpenDataDSL to use, its owner gives the application one role on that resource only.
  3. An administrator of your company in OpenDataDSL enters the resource on this screen and tests it.
WhoWhat they doWhere
A Microsoft Entra administrator (Global Administrator, Cloud Application Administrator or Application Administrator)Grants consent to the OpenDataDSL application, once for all resourcesA browser link, or the Azure CLI
The owner of each resource (Owner or User Access Administrator)Gives the application one role on it, and lets OpenDataDSL through its firewall if it has oneThe Azure portal, or the Azure CLI
An administrator of your company in OpenDataDSL (a user with a security policy that allows them to update the tenant)Enters the resource and tests itCustom Infrastructure

Every page of the extension shows the steps in Azure on the left and what to do in OpenDataDSL on the right, with the Azure CLI commands already filled in with the OpenDataDSL application id and your resource's name.


Your resources​

The three resources and their state

ResourceWhat it is forRole for OpenDataDSLGuide
Key vaultKeep the secrets your scripts and processes use in your own Azure Key VaultKey Vault Secrets Officer (read and write) or Key Vault Secrets User (read only)Key vault
MessagingCreate your message queues in your own Azure Service Bus, Amazon SQS, Apache Kafka or AMQP 1.0 brokerService Bus: Azure Service Bus Data Owner. SQS: an IAM role it assumes. Kafka and AMQP: a userMessaging
Batch accountsRun container-image processes on your own Azure Batch accountsAzure Batch Job SubmitterBatch accounts

You can use any of them on its own. The extension adds Custom Infrastructure to the Manage menu, and a Home page task Use your own Azure resources.


Consent creates the OpenDataDSL application's identity (a service principal) in your Microsoft Entra tenant: the identity you then give a role to on each resource. It gives the application no access to anything by itself, and is done once for all the resources.

The Overview tab shows the consent link with your tenant id and the OpenDataDSL application id filled in. A Microsoft Entra administrator opens it, signs in and accepts. They may then see an error page: that is expected, consent has still been granted. The Azure CLI alternative is shown next to it.

To check it worked: in the Azure portal, open Microsoft Entra ID > Enterprise applications and search for the application id. It is listed as OpenDataDSL.


Security​

QuestionAnswer
What can OpenDataDSL see?Only the resources you give it a role on, and only what that role allows. Nothing else in your subscription
Which resources can be used?Only resources in your own Microsoft Entra tenant, the one your company signs in to OpenDataDSL with. OpenDataDSL refuses any other tenant, so no one can point your company at another company's resources. If your Azure subscription is in another tenant, ask OpenDataDSL support
Who can change this?Users of your company with a security policy that allows them to update the tenant. Other users see the same pages, read only
How do we take access away?Stop using the resource on its page first, then remove the role in Azure (and the consent, if you no longer use any resource)

What users who cannot update the tenant see

note

OpenDataDSL can also see, test and change these settings for you from its own administration screens, for example if you ask its support team to set them up.


Where next​