For easy deployment to Azure, we have included a yaml script. These include the images from the field lab reference architecture that are found stable enough and don't need specific configuration ones deployed during your development sessions. For your own disto, please consider to change the dnslabelname to suit your own needs. !NOTE this does not deploy a scalable kubernetes cluster and is meant to be a simple dev deployment.
For the Kubernetes cluster please go here
apiVersion: 2018-06-01
location: westeurope
name: lab
properties:
containers:
- name: oxmldocgen-api
properties:
image: wigo4it/oxmldocgen-api
resources:
requests:
cpu: 1
memoryInGb: 1.5
ports:
- port: 5091
- name: openapi-brp-fake
properties:
image: wigo4it/openapi-brp-fake
resources:
requests:
cpu: 1
memoryInGb: 1.5
ports:
- port: 5080
- name: irma-api-server
properties:
environmentVariables:
- "name" : "IRMA_API_CONF_ENABLE_VERIFICATION"
"value": true
- "name" : "IRMA_API_CONF_ENABLE_ISSUING"
"value": true
- "name" : "IRMA_API_CONF_ALLOW_UNSIGNED_ISSUE_REQUESTS"
"value": true
- "name" : "IRMA_API_CONF_BASE64_JWT_PUBLICKEY"
"value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxScmLzY25uKDaTldNn1cCKYOtwH5dxQtBo764zN0NZ4uwpTsq8Vyuc24LUBZMlYZfwjIDV41y9Nd2OUiDxgbEOaxVUIwJ8GQ4YEg+UdXmOeULxN0Ixdl7rM0HnRslGhu3UUbv9NBhWCBBewnA3Tr3oogzrznjDbW+JM7ahju169qAUDRM1iyhDwau87nK4/Zyjipdf0ZTWvnojlfvXpWsrSCiXYa/JSgo8wDz3kHyWO3sm1MHKFs5WZfG9J1On7ySqAzUzJOMhCt0m3hb8TimDho9nuhRkyjIl5IX7xAwJCSycCpHVVkhUY4G/+zwNb9ufSpld4JN09a0OuvtvTq0QIDAQAB"
- "name" : "IRMA_API_CONF_BASE64_JWT_PRIVATEKEY"
"value": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDFJyYvNjbm4oNpOV02fVwIpg63Afl3FC0GjvrjM3Q1ni7ClOyrxXK5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3/c5GAaTkrN2u5WEN1aBI03f1CPnMqgrMoP0nmf+L7bdDxvld4Nifm4MXwytCcdpc74troDfn05OKcwgNKWvn8D9++txAoGBAMXHXkgvLHXi0Fp4XoEE4uWAqsdgVeh5pcNXRz+nZ5Jk4DH0Z+pV0XKki1NhYCaVr0UnrEqH+ejbUeaOzTbZt3JldWA0bABuiFVDkG9XYwpnohMUrF4MLPRAmLtDEgr8UGzWJLxcv2wGUpNinCwkApinGGD7nyeTF5IqiBRELv0BAoGBAKUAFQLup+WiegQZBgplLje5wtu0fZs1rbDBG3dXEbwI1RHyMTx/Egt271+WwjcBVHKcYmHTOvdUmSzoRZJDrQpEB4EFEoUYYKlJ3+Udu8q5jcRzMs3KhTMfnriOKp6C3yRcfPcanhLfTpcTccHetUZRNxwgs9MK3LJh6pVScm+5"
- "name" : "IRMA_API_CONF_AUTHORIZED_IDPS"
"value": "{\"wigo4it\": [\"*\"]}"
image: privacybydesign/irma_api_server
resources:
requests:
cpu: 1
memoryInGb: 1.5
ports:
- port: 8088
- port: 8080
osType: Linux
ipAddress:
type: Public
dnsNameLabel: "wigo4it-dev"
ports:
- protocol: tcp
port: '5080'
- protocol: tcp
port: '8080'
- protocol: tcp
port: '5091'
tags: null
type: Microsoft.ContainerInstance/containerGroups
Please install the AZURE CLI
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest
Login to your Azure account as indicated (az login)
You should see a similar sequence:
$ az login
Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code"
You have logged in. Now let us find all the subscriptions to which you have access...
[
{
"cloudName": "AzureCloud",
"id": "********************************",
"isDefault": true,
"name": "Visual Studio Enterprise",
"state": "Enabled",
"tenantId": "********************************",
"user": {
"name": "********@*********",
"type": "user"
}
}
]
First create a resrouce group for your containers
$ az group create --name lab --location westeurope
Create the container group with the following command from azure-cli
$ az container create --resource-group lab --file deploy-aci.yml
Delete the container group with the following command from azure-cli
$ az container delete --name lab --resource-group lab --yes