Introduction
Understand Keycloak for identity and access management on Azure Cobalt 100-based virtual machines
Create an Azure Cobalt 100-based Arm64 virtual machine
Allow access to Keycloak and the Flask application on Azure
Deploy Keycloak on an Azure Cobalt 100-based Arm64 virtual machine
Integrate a Flask OAuth2 application with Keycloak on an Azure Cobalt 100-based Arm64 virtual machine
Next Steps
In this section, you’ll launch the Azure portal to create a virtual machine (VM) powered by the Arm-based Azure Cobalt 100 processor.
You’ll create a general-purpose VM in the Dpsv6 series. For more information about this series of VMs, see the Microsoft Azure guide for the Dpsv6 size series .
For more detailed steps to create a VM, see the Deploy a Cobalt 100 virtual machine on Azure Learning Path .
To create an Azure virtual machine using the Azure portal:
Select D4ps_v6 from the D-Series v6 family
Azure generates an SSH key pair for you that you can save for future use. This method is fast, secure, and easy for connecting to your VM.
RSA offers better security with keys longer than 3072 bits.
Configure inbound port rules for HTTP and SSH access
Review VM configuration before creation
Download SSH key and create the virtual machine
Your VM should be ready and running in a few minutes. You can SSH into the virtual machine using the private key, along with the public IP details.
Successful VM deployment confirmation
To learn more about Arm-based virtual machines in Azure, see the Azure section in the Get started with Arm-based cloud instances Learning Path.
Use the private key file you downloaded and the public IP address shown in the Azure portal to connect to your virtual machine.
ssh -i <your-key-name>.pem azureuser@YOUR_PUBLIC_IP
Replace <your-key-name> with the name of your SSH key pair and YOUR_PUBLIC_IP with the public IP address shown in the Azure portal after deployment.
You’ve now created an Azure Cobalt 100-based Arm64 virtual machine running Ubuntu 24.04 LTS with SSH authentication configured. The virtual machine is ready for installing PostgreSQL, Keycloak, and the Flask OAuth2 demo application.
Next, you’ll set up firewall rules to allow external traffic for Keycloak and the demo Flask application.