Running Applications On-Premises and in the Cloud
Up to the last chapter, we added additional functionality to the Codebreaker application; in Chapter 15, we added services communicating with asynchronous communication. We used Azure Storage queues and Azure Event Hubs with the Azure Codebreaker variant; with the on-premises version, we added a Kafka container.
In this chapter, we look at what needs to be known when deploying the solution to Microsoft Azure and to on-premises environments. Using Azure, we deployed the solution to an Azure Container Apps environment from Chapter 5 onward. The Azure Container Apps environment uses Kubernetes behind the scenes. In this chapter, we directly deploy to a Kubernetes cluster, which can easily be used in on-premises environments and in any cloud.
In this chapter, you will learn about the following:
- Customizing deployment with C# and Aspire
- Creating a Kubernetes cluster with Azure
- Deploying the application to Kubernetes...