Java on Azure Examples
This GitHub repository contains a set of Azure examples specifically for Java developers to quickly get started with Azure. Please use the issue tracker to leave feedback, file issues or to propose other examples.
Getting started
To work with these examples it is assumed you have the Azure CLI installed, and you have logged in and set your default subscription. If you haven't done so follow the steps below.
Note logging in and setting your default subscription needs to be done once per terminal session.
Install Azure CLI
To setup the Azure CLI, please visit Install the Azure CLI. And once you are done come back to this README.
Login into Azure
az login
Set your default subscription
Get a list of your subscriptions
az account list --output table
Set your default subscription for this session using the subscription id from the previous output
az account set --subscription "subscription-id"
Azure App Service examples
Azure Container Instances examples
Name | Link | Status |
---|---|---|
1. Deploy a Quarkus application | Workflow | |
2. Deploy Tomcat | Workflow | |
3. Deploy WildFly | Workflow |
Azure Container Registry examples
Azure Cosmos DB examples
Name | Link | Status |
---|---|---|
1. Create an Azure Cosmos DB | Workflow |
Azure Database for MySQL examples
Azure Database for PostgreSQL examples
Azure Functions examples
Name | Link | Status |
---|---|---|
1. Install Azure Functions Core Tools | Workflow | |
2. Deploy a Java Function | Workflow | |
3. Deploy a Cosmos DB output Function | Workflow |
Azure Key Vault examples
- Create an Azure Key Vault
- Add a Secret to an Azure Key Vault
- Create a self-signed certificate
- Create a Spring Boot application with server-side mTLS
- Create a Spring Boot application with client-side mTLS
- Create a server-side SSL Spring Boot application
Azure Kubernetes Service examples
Azure Red Hat OpenShift examples
Azure Resource Group examples
Name | Link | Status | |
---|---|---|---|
1. | Create an Azure Resource Group | Workflow | |
2. | Delete an Azure Resource Group | Workflow |
Azure Service Bus examples
- Create an Azure Service Bus
- Create an Azure Service Bus Queue
- Send a message
- Receive a message
- Send a JMS message
- Receive a JMS message
Azure Spring Cloud examples
Name | Link | Status |
---|---|---|
1. Create an Azure Spring Cloud | Workflow | |
2. Deploy a Spring Boot application to Azure Spring Cloud | Workflow | |
3. Configure the Azure Spring Cloud Config Server | Workflow |