:
Last modified: Sep 20, 2023

Infrastructure

Compute components

AKS Logo Azure Kubernetes Services Altinn 3 uses Kubernetes to manage all our containerized applications. Azure Kubernetes Services (AKS) is a fully managed Kubernetes used by Altinn 3. For each environment (Production, Application Test, Performance Test, and Integration Test) there is AKS cluster for Altinn Platform and the orgs set up for that specific environment. The Kubernetes masters are managed by Azure. Our DevOps team only manages and maintains the agent nodes. »

Data Components

Altinn Studio, Altinn Apps and Altinn Platform is created to give the government, the citizens and the businesses of Norway a effective way to share data and retrieve data. ConceptualThe conceptual data model describes the data entities in the solutions and their relatiohip. Logical datamodelThe logcical datamodel describes the data entities that is stored. »

Data & Reporting Components

Reporting Software Dashboard and reporting server software Application Insights is used for dashboard and reporting services for the platform solutions. Data visualization software Application Insights is used for visualization. Data Stores Multi model database service Altinn Platform uses Azure Cosmos as a Multi model database service. Read more about Azure Cosmos DB. Relational DBMs We use Azure Database for PostgreSQL as a relational database for Gitea. Read more about Azure Database for PostgreSQL. »

Infrastructure components

Altinn 3 consists of three different technical solutions to make a complete application development platform. The diagram below shows an simplified overview over the infrastructure components. Infrastructure Altinn 3 is currently deployed to Microsoft Azure. This does not mean that Altinn 3 can’t be deployed to other cloud providers. Below you find details about the different cloud components used. Compute componentsCompute components gives processor power to applications and software. Network componentensAll networking infrastructure is located in Azure. »

Infrastructure management

Over time it is expected that the Altinn 3 platform would consist of hundreds of Kubernetes clusters and other cloud resources. To be able to manage and configure all these cloud resources the architecture that is selected has several capabilities enabled with help of various tools and processes. Infrastructure Configuration and management Capabilities Tools & components For all solutions of Altinn 3 (Altinn Apps, Altinn Platform and Altinn Studio) we use some common tools to configure and manage infrastructure. »

Network componentens

Altinn 3 is based on different network components in Azure. Virtual Network As part of the Altinn 3 platform there is serveral Virtual Networks. Each Kubernetes Cluster have their own Virtual Network. This increases security and isolates the different org cluster from eacother. Read more about Azure Virtual Networks. Azure Loadbalancer In front of every AKS cluster there is a Azure Loadbalancer that load traffic between the different nodes in the AKS cluster. »

Platform Components

The platform components can be structured in to different areas. The diagram below show the different areas and the platform components involved in Altinn Studio, Altinn Apps and Altinn Platform solutions. Platform components Download as Visio Data & Reporting ComponentsData and Reporting Components hold the functionalities to manage data and create business reports. Integration ComponentsIntegration components are in charge of enabling communications between systems. Logic Executions ComponentsLogic execution components are in charge of modeling the application behavior, in terms of data processing and flow control, according to the application specifications. »

Scaling compute resources

The below diagram shows how the number of unique users logged in to Altinn 2 varied through 2019. Unique users 2019 per day Altinn 2 platform Altinn 2 is a monolith where all digital services run on the same servers. This means that days like the tax day when there is this enormous spike in traffic will require that all servers are scaled up. It is also an on-prem solution where scaling needs to be planned weeks ahead. »

Storage componentens

Cosmos DB Azure Cosmos DB is a fully managed NoSQL database for modern app development. Single-digit millisecond response times, and automatic and instant scalability, guarantee speed at any scale. Business continuity is assured with SLA-backed availability and enterprise-grade security. Altinn 3 uses Cosmos DB to store metadata about data in Altinn. applications: applications dataElements: data elements instanceEvents: instance events instances: instance information leases: used by Azure Functions texts: Applications texts Azure CosmosDB is configured with one Write Region and one read region. »