Join Chander Dhall for an in-depth discussion in this video Create a cluster in Azure, part of Microservices and Azure Service Fabric Basics for Developers.
- [Instructor] Now it's time to go to Azure and create a cluster. So once you go to portal.azure.com, you're going to have to log in. Once you're logged in, you're going to have to go to New and then you can search for Service Fabric and pick Service Fabric Cluster. Once you're here, you're going to pick the first one, not the analytics and then hit Create. So we'll call it samplecoursecluster.
It's green so that means this is available because this has to be unique as it's an HTTP-based resource so samplecoursecluster.west.us.cloudapp.azure.com could only be a unique name. So Linux is in preview. We're going to choose Windows. We can add a user name. I'm going to use my name and then you can have any password you like and then choose your subscription and then we're going to have to create a resource group for this particular cluster and the resource group can have a lot of other things.
So we're going to call this samplecourserg and then choose your location. Once I hit OK, you can come in here and choose the amount of nodes you need. You can also say I need three nodes. We'll just pick one node to keep things simple. And once you click here, you see you have a durability tier which is bronze or gold. So that really is the VM sizes and the configuration with the VM. So if we were to pick a name, so let's say node1 and then go and choose gold, so if you pick gold, you can see you can see have 20 cores and then you have 140 gigabytes available to you with 40 data disks and then you have the max IOPS as 40 into 50 and then your local SSD is about a terabyte and that's your monthly estimated cost.
So then you can also pick bronze and sometimes you'll see that for some browsers or some operating systems, it doesn't really do anything. We're supposed to change this accordingly. So in that case, what you'll need to do is close this and then restart the same thing. So go back to node type one and then type your node1 and then select your VM. So you can see there's a lot more options when it comes to bronze. However, they are going to be less powerful than the gold option.
My recommendation is that if you're going to do state services, do not pick something less than seven gigabytes. So the RAM here is about 3.5 gigs and that's not going to work the best way for you so anything above D2, V2 should be really good for you. So in this case, we have two cores and seven gigabytes of RAM. So this is going to cost you about $104 and these rates keep changing. This is just estimated. The actual cost could be lower or higher than this particular estimate. It totally depends on how you use it and at what point of time you buy the service.
Then you're going to click Select and once you have that, you're going to go ahead and get your reliability tier which is what we talked about in the previous module. And in this case, you can have a platinum one where you have a maximum capacity of nine VMs, a gold one with seven, silver one with five, and then bronze with three. So by default you have silver. We're just going to go with silver. And then you can see the custom endpoints are 80, 83, 8081 and then hit OK.
- Reviewing microservices vs. monolithic architecture
- Reviewing microservices and Azure Service Fabric basics
- Programming model architecture
- Creating a stateless service and a stateful service
- Creating a cluster in Azure
- Adding security to a cluster
- Finalizing cluster creation
- Deploying to an Azure cluster
- Debugging an application remotely