>> Learn what Azure DevOps projects are,
and how to use them with Node.js and
Kubernetes in this episode of Azure Tips and Tricks.
Azure DevOps project is
a wizard-like experience that makes it easy for you to create,
build, and deployments in Azure DevOps,
which is Microsoft's application lifecycle management suite.
Let's create a new DevOps project.
Here I searched for "DevOps",
and it comes up with "DevOps project". Let's click on it.
Now, I'll create it which takes me to the wizard experience.
This is the easiest way to start with Azure DevOps.
First, I'll pick "Node.js".
This creates a new node application for me.
Next, I must pick an application framework for my Nodes app.
I'll leave it to "Express.js".
This is a very simple framework to work with.
All right. Next, now
I must pick how I want to deploy the application.
I'll choose "Kubernetes".
This will deploy the application in containers,
and uses the Azure Kubernetes service
to do the container orchestration for me.
Now, for the final part,
I need to fill in a name for the Azure DevOps project here,
and pick a subscription.
This DevOps project is going to use
the Azure T and T Azure DevOps organization.
This is basically the Azure DevOps subscription that you
need to do Builds and Releases with. What else?
Let's look at the advanced settings
to make sure that everything is set okay.
This all looks all right, but this doesn't.
This DevOps project will create and use
an Azure Container Registry to store container images,
and the name for it is already in use.
This happens sometimes as
a Container Registry name needs to be unique,
and it takes the DevOps project name that I just filled in.
So, my app and adds ACR for Azure Container Registry to it.
Let's fix that. Okay, there we go.
That's it. Let's create it.
After I press "Done" the Azure DevOps project will be
created along with all of the resources like a Kubernetes cluster.
It will also build and deploy the note application for us.
All of this takes a while,
so I'll skip ahead to when this is done,
and here we go.
This is the Azure DevOps project and
it has built the note application and deployed it.
There is lots to see here.
Here we have the built and release pipelines.
Here are the Azure resources that are created,
and here is the source code repository
that contains all of the code for the application,
and here is a link to
Application Insights which is monitoring the application.
Let's take a look at the source code.
This takes us to the Azure DevOps portal.
If you have never seen this,
you're in for a treat.
You can use this portal to host code,
create builds and releases,
manage package feeds, test your application, and more.
So, this is the repository that
contains the application code and also
the Azure Resource Manager templates that help
to deploy the Azure resources for the application.
This code was cloned from the DevOps, projects samples,
GitHub project, to which you can
find a URL in the description of this video.
Let's go back to the DevOps project and
let's look at the built that compiles the application code.
This also takes us to the Azure DevOps portal.
As you can see by now,
the Azure DevOps project is
just a simple front ends that helps
you to create things in Azure DevOps.
This is the build that created
the artifacts for the application. Let's edit it.
Now, we can see all of the steps that the build process goes
through to compile the code and
creates the package that will be released.
You can see that it first creates
the Azure Container Registry and builds a Docker container image.
Next, it pushes that Docker image to the Azure Container Registry.
From there, it can be used by Helm to
create a package that can run in Azure Kubernetes service.
Helm is a technology that is used
to deploy applications to Kubernetes.
Let's move back to the Code repository.
Here you can see the charts/sample apps directory,
which contains the packages that Helm
created that will deploy the application to Kubernetes.
As you can see, the Azure DevOps project has done so much for us.
In the next video, we'll explore
the rest of the resources that it created for us.