Configuration
- No of VM instances.
- Pricing tier → Isolated, Standard, Premium and consumption.
- Is credit card required?
- Any extra charges for hosting kafka?
kafka on Azure
To use Apache Kafka with Azure, you have a few options. You can either deploy Kafka on Azure Virtual Machines or utilize the managed Kafka service called Azure Event Hubs for Apache Kafka. Here’s a high-level overview of both approaches:
-
Kafka on Azure Virtual Machines:
- Provision Azure Virtual Machines: Create a set of virtual machines (VMs) on Azure where you will install and configure Kafka.
- Install Kafka: Deploy and configure Apache Kafka on the Azure VMs. You can follow the standard Kafka installation process, either manually or by using configuration management tools like Ansible or Chef.
- Network Configuration: Ensure that the Azure VMs hosting Kafka are part of a virtual network (VNet) and properly configured for connectivity.
- Scale and Manage: Depending on your requirements, you can scale the VMs horizontally to handle increased load. You will also be responsible for managing and monitoring the Kafka cluster on Azure VMs.
-
Azure event hub for Apache Kafka:
- Provision Azure Event Hubs: Create an instance of Azure Event Hubs for Apache Kafka using the Azure portal, Azure CLI, or Azure PowerShell.
- Configure Event Hubs: Set up the desired partitions, retention policy, and other configurations for the Event Hubs instance.
- Connect Applications: Utilize the Kafka protocol to connect your Kafka clients or applications to Azure Event Hubs for Apache Kafka. You can use the Kafka libraries and tools you are familiar with, as Event Hubs provides a Kafka endpoint that can be accessed over SSL.
- Scale and Manage: Azure Event Hubs for Apache Kafka is a managed service, so you do not need to worry about infrastructure management. It provides automatic scaling, monitoring, and other management capabilities out of the box.
Choosing between these options depends on factors such as your expertise in managing infrastructure, scalability requirements, and the level of control you need over the Kafka cluster. Azure Event Hubs for Apache Kafka simplifies the operational aspects, whereas deploying Kafka on Azure VMs provides more flexibility and control.
Shell commands
az webapp deployment source config-zip --name service-name --resource-group resource-grp-name --src "C:\SomePathHere"Alan_Rodrigues
Previous Udemy Course Notes
name .net SQLDB Azure code sample
type link
action https://github.com/Azure-Samples/dotnetcore-sqldb-tutorialIAAS vs PAAS

App service is taking the code your developed and giving it to azure to run.
- It has inbuilt load balancer.
- You can also FTP your files to your app service, old school type.
Create Azure Web app
- Give a domain name.
- You can deploy code or docker container.
- Runtime stack lets you select a language.
App Service Plan
- Windows env has a shared env, whereas linux don’t has that option.

- The free plan has 60min/ day compute with 1GB memory.
- Azure_Compute_Units
- All plans have different features as well, like connecting to custom domain etc.

App Service Deployment Options
- Zone Redundant → By default it will be zone redundant that is, it will deploy the app to all three instances so if one zone is down, other can serve the same content.
- Github actions can be configured to auto deploy on every push.