>> Hello. Today on Azure Friday,
I have Kylie Liang,
a PM on the Azure Dev Experience Team
and she's going to work with us and
walk us through some of
the Ansible experience that we have to help configure,
manage, and deploy our Azure applications.
So, Kylie, what do you want to show us today?
>> Today, I will use VM Scale Set for our demo.
I will show you as
Dev Ops Engineer and I'd read Ansible Playbook,
so that is the concept of infrastructure scale.
I use this Ansible Playbook to call Ansible,
and Ansible will call Azure REST API and to progression
VM Scale Set and Azure staff such as
the networking and some resource group
with those things for me.
So, after that, I will demonstrate it.
Okay. I already have VM Scale Set.
Then I run another playbook to
identify resources and to configure environment.
For Java Application, I install
Tomcat on that and I install Java Application.
Okay. Once we get it all done one day,
you want it to scale out so you also could use
Ansible Playbook to call Ansible again
in one more instance.
So, I also will demonstrate it to you,
ways that my Ansible Playbook and then I could
change another instances of
VM Scale Set from two to three.
>> Fantastic. So, you're going to
start three steps basically.
We're going to start,
we're going to deploy our resources,
get our environment set up,
then we're going to deploy the application, right?
Finally, we're going to scale it
out because our business is having a good day.
>> Yeah right. So, let's see it.
>> So, let's see.
We need to open Virtual Studio Code.
We already implemented Ansible Extension here
so it is easy to ready your playbook and SQL to that.
By the way, I am trying to
use the latest Ansible Version 2006.
I'm using their [inaudible] version.
So, the official release maybe
will be out by the end of this month, like that.
So, I still have that environment
in my remote Linux machine.
So, you can see I have playbook and I
wanted to run that in my remote virtual machine.
Let me show you how to do this.
I already create one so let me change the name.
Okay. Then you could see,
"Run Ansible Playbook Remotely," and the type,
and this my remote host.
This is a new feature.
Based on what we know from customer, as with the past,
we just [inaudible] upload one file to your remote machine.
But sometimes, you have a bunch of
files and need to define some dependencies.
So, you [inaudible] you could create
the whole workspace onto the remote machine.
Okay. So, it will take one or two minutes to
create the whole virtual machine scale set.
The good thing is I already prepared one.
So, you could see Azure Friday VM Scale Set here.
So, we can move to the step two.
>> Okay. Now, we're going to play our app.
>> Okay. Yes.
>> Fantastic.
>> So, you could see,
I have another one.
This one, it will use VM Scale Set and resource group,
and to get some sample Java application in
the config Tomcat environment and to deploy
that application to that [inaudible] VM Scale Set.
Okay. So, the same,
let me run this blue playbook in
remote virtual machine, and yes.
Okay. It is running.
I was ordered to maybe take one minute to
introduce some functionality of
our Ansible extension to you.
I show that you can run your Playbook in
remote machine and then you
also could run playbook in Cloud Shell, yes.
It is true, Cloud Shell supports Ansible.
>> Great. I love Cloud Shell.
>> Okay. That is very easy.
You just open one page and run anything your want.
Okay. So, you could run Ansible Playbook.
in your local environment.
You also could run that in Docker.
>> It's really nice how you've got that all setup right
there within the context of any Visual Studio Code.
It makes it a lot easier for giving choices
to how do you run things.
>> One more thing.
Since the Virtual Studio,
that is a code environment.
So, we added some authoring capability.
Let me just try something here.
We have some modules and
you could just type something, then you could see.
So, that could help you auto-complete within
the code snippet into your example.
If I just say, "I don't know how to write ACS.
So, I just [inaudible] this one,
you could see all parameters are still here,
you're just applying the parameter.
By the way, we implemented this functionality for
all modules supporting Ansible, not just for Azure.
>> Great.
>> So, have a try.
>> Great. Thank you.
>> Okay. Yeah. So, you could see the progress here.
It started to copy application. Okay.
>> We just finished.
>> Yeah.
>> Great timing. All right.
>> Then, okay, let us see.
>> So, we have our application.
We have our infrastructure.
We have our application.
Okay. It works. Great.
>> Okay. That is our sample project. That's the one.
Okay. So, you could see,
we already see it
happening in the environment and
it deploys the application.
Then let us try scale out the instance.
>> Okay.
>> So, go to "scale up",
and I will change the number
from two instance to three instance.
The same, I created directly
to the same C while I already copied to
the whole stuff to my remote machine.
So, I could adjust to changing
the name and run the command, that works.
>> That's it.
>> Yeah. Go back to
our Dashboard and maybe take some minutes.
Okay. You could see the change to here from 2-3.
So, maybe one or two minutes,
then you could see the numbers, three instance there.
>> Great.
>> Okay. So, that is what I wanted to show you.
>> All right. So, it seems like Ansible has
some pretty complete integration with a lot
of services across Azure.
>> Yeah.
>> Okay.
>> Good question. I showed you our roadmap to you.
Ansible is an open source project.
You could go to
our landing page and
see the latest features and guidance here.
>> Some good tutorials.
Get started. Right?
>> Yeah.
>> All right.
>> We already did some modules
for virtual machine or virtual machine scale set.
As a community service,
the functions that you could
find those things from the GitHub.
Here, I would like to show you where you
[inaudible] our roadmap here.
For the future, we also would like to
[inaudible] dynamic inventory for VM Scale Set.
That means you could just use inventory
plotting to add
any [inaudible] VM Scale Set in resource information.
We also would like to [inaudible] new modules for
web apps scenario and big data scenarios.
>> Fantastic.
>> So, that is current roadmap.
So, if you have
some feedback and if you want to have some [inaudible] ,
just join our IRC meeting or
e-mail us or just
raise one GitHub issue, then we could talk.
>> Thank you.
>> Okay.
>> Well, I appreciate you coming by to show
us all the great things that we can do with Ansible.
It was great to see that full complete
from provisioning the infrastructure, deploying the app,
and then being able to just scale it
out and seeing how Ansible is
a complete tool as it's
integration with your application in Azure.
>> Yes.
>> So, thank you very much for your time.
>> Yes. Thank you.
>> All right. Today, we've been learning all
about Ansible with Azure on Azure Friday.