Planning your Db2 on Azure configuration
Before you deploy Db2 on Microsoft Azure cloud services, you need to choose an instance type and cloud storage option that meet your needs.
You can choose to use an Azure Kubernetes Service (AKS) instance or an Azure Red Hat® OpenShift® (ARO) instance. File and block storage classes are created.
Overview of a Db2 on Azure configuration
Deploying a Db2 instance on Azure can be summarized as follows:
- Your system administrator creates an Azure account and chooses a managed service platform for your Db2® instance.
- Using a series of command line tools, your administrator creates an Azure cluster based on your specific requirements.
- Your administrator then runs the Db2 Operator and deploys your Db2 instance to your Azure cluster.
Once your Db2 instance is deployed, users can connect to a database in the instance in much the same way as they connect to an on-premise data source.


Choosing an Azure VM instance type
Use the information in Table 1 to determine the size requirements of your Db2 on Azure system. Based on your selection, go to the list of Azure VM instance types to find the Azure instance type that's right for your Db2 deployment. In addition to the sizing values shown in Table 1, the instance type list shows other factors to consider, such as cost and region.
Choose an instance from the General Purpose or Memory Optimized categories for your Db2 instance.
Size | CPUs | Memory (GB) | Azure Instance Type (Suggested) | Description |
---|---|---|---|---|
Small | 8 | 24 |
|
|
Medium | 16 | 128 |
General Purpose:
Memory Optimized:
|
|
Large | 49 | 1001 |
|
|
Choosing cloud storage
- For database storage, log storage, and use of temporary table spaces, use a block storage solution.
- For metadata and backup storage, use a shared file storage solution.


For step-by-step configurations of Db2 on AKS, see Adding a database instance to an Azure AKS cluster, using the Db2 Operator.
For step-by-step configurations of Db2 on ARO, see Adding a database instance to an Azure ARO cluster, using the Db2 Operator.