In this demo, we're going to provision a coronets cluster on Microsoft Azure.
So as a prerequisite, you must have and as your account.
And if you're getting started exploring the free access available at this link, so you get twelve months
of free access.
Also, some basic knowledge on Azour can help to, you know, prepare subscriptions and perform some
basic configurations.
So let's get started.
So once you're logged into your Azure account, we see the dashboard.
The basic dashboard provides a list of services.
So here I am using the free account called code cloud, free account.
And what we need to do is either look up for a case which is the edge as your community service.
And in this case, it's already in my list underneath.
And we do not have a cluster created.
So the first thing to do is to add a cluster.
So this will take us to the create communities clusters green.
So it will select your subscription by default.
So make sure the right subscription is selected.
So if you're using a free subscription, make sure that the right one is selected.
So the first thing to do is to create a new resource group.
So I'm going to create a resource group.
We will name it.
Wooding App Resource Group.
And then we're going to name the cluster example voting app.
I'm going to leave the clarinettist version to the default one, which is one dot, one six and for
the node size.
Since this is a free version, I'm going to use just one.
So that's enough for our requirements.
And there are other options that you can edit as well.
So for now, we will just leave most of it to the two, the default values under authentication, said
the service principal, to a new.
So it will create a new one for us.
Service principal is used by the ACA service to manage the cloud resources that are attached to the
cluster.
And next, I'm going to review and create.
So let's wait for it to make the create button available for us.
OK, so once it's available, we can go ahead and click on Create.
So here you will see that it is initializing the deployment of the resource groups first and then it
will create our communities cluster.
So, yeah, this can take some time as well.
So let's just wait for our cluster to be ready.
All right, so now the resources have been deployed and our cluster has been created successfully.
So the next step is to go to the resources that we just created.
And I'm going to type in the voting app here.
So that's just one easy way to get the resource to search for it in the search bar.
So here is our community service and the cluster that we just provisioned.
And to access the cluster, we will make use of the cloud shell, which will open up in the lower half
of the screen.
So in this case, it prompts me to create storage.
So let's just go ahead with it and do that and let's wait for it to complete.
And then we should be able to log into the cloud shell.
So while we wait for that, let's go over the documentation.
So here is the walkthrough of a case which describes the steps that we have been following.
So if we scroll all the way to the bottom, it shows how to connect to the cluster.
So here this is the step that we are trying to do now.
So Cuttle client is preinstalled in the azure cloud shell.
And so we are launching that.
And once the cloud shell is launched, we are going to grant access to keep Cuttle to Arcade's cluster.
So to do that, we have to enter the name of the resource group as well as the name of the cluster that
we just created.
So let's go back to our cloud shell and let's enter the values.
I'm just going to paste the command here and we'll fill in the cluster name.
So the name of the resource group can be copied from the resource group here.
And the name of the cluster, you can copy it from the top here.
So it says example Wooding up because that's the name of the cluster that we just created.
So now the cube config has been set up and we should be able to access the cluster.
So we'll run the cube to get nodes command.
And here we can see that our single node cluster is.
Is visible and is running on wunder one six.
And it is in a ready state.
So just like before, we're going to clone our GitHub repo for our voting app.
So let's run the get clone command.
And once that is done, I'm going to the directory.
And here are all the Yamal files as before.
So let's start creating these services and deployment.
So we will start off with the voting app.
The voting app deployment and then the Voting App Service.
And then we'll go with the red, this deployment and the ready service and the postgrads deployment.
And then the post service.
Next comes the worker deployment and finally deployment and the result service.
So let's check the status of the deployment and services.
And here we see that all the service objects are created except for the result app.
So that's still deploying.
And we already have the load balancer of the external IP for our boarding service.
And the result, services for the wedding service.
And the result services is pending.
So let's just give it a couple of minutes.
All right, so now all our deployments are running and they have one out of one pots for all the five
deployments, and we also have the load balancer for both the result and the voting app.
Ready.
So let's jump into a new tab and let's try to open these applications.
So here I'm on a different window and this is my wedding app.
And let me also open up the result app in a different tab.
So here's the result app.
And let's now cast a vote and we can see that the appropriate results are seen on the result.
And if we change the vote, we can see that it's working as expected.
So that's the end of this demo.
Once you're done with your learning, remember to delete the cluster and clean up the workspace after
you're done so that you can save on some of the credits.
Well, that's it for now.
We'll see you in the next one.