Azure Event Grid

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
14 hours 28 minutes
Difficulty
Intermediate
CEU/CPE
15
Video Transcription
00:00
>> Hello Cybrarians.
00:00
Welcome to lesson 7.3 of
00:00
>> module 7 of this course titled,
00:00
>> AZ-301: Microsoft Azure Architect Design.
00:00
Here are the learning objectives for this video.
00:00
We'll start out by covering
00:00
Azure Event Grid introduction.
00:00
Then we'll go ahead and cover the concept of
00:00
Event Publishers an Event Handlers in Azure Event Grid.
00:00
We'll cover some of the core features of the service.
00:00
We'll cover some of the use cases so that you learn
00:00
some of the scenarios where
00:00
this service may be of benefit to you.
00:00
Finally, we will cover Azure Event Grid
00:00
from a cost perspective.
00:00
Let's get right into this.
00:00
What is Azure Event Grid?
00:00
According to Microsoft definition,
00:00
Azure Event Grid is a managed event routing service,
00:00
which enables us to react in real-time to changes
00:00
happening in supported Azure services
00:00
or our own custom applications.
00:00
There are few things that I want to highlight here.
00:00
Number 1 is an event routine surveys,
00:00
and number 2,
00:00
it's reacting in real time to
00:00
changes happening in other services.
00:00
What exactly does this mean?
00:00
To break it down some more,
00:00
Azure Event Grid uses a publish-subscribe model,
00:00
where we have Event Publishers that emit
00:00
events and we have Event Handlers that consume events.
00:00
What Azure Event Grid does,
00:00
it simplifies the consumption
00:00
of events by eliminating the need for constant polling.
00:00
Rather than the Event Handlers constantly polling
00:00
the Event Publisher in
00:00
such a way to determine if an event has a code,
00:00
they could simply subscribe to
00:00
a topic in Azure Event Grid.
00:00
Azure Event Grid will make
00:00
a push notification if
00:00
an event that's interesting were to occur.
00:00
One of the other things to highlight are
00:00
the features that Azure Event Grid support.
00:00
Number 1 is supports a feature called filtering.
00:00
What filtering allows us to do is
00:00
allows us to be able to limit
00:00
which events are delivered to
00:00
the Event Handler by Azure Event Grid.
00:00
We don't need to deliver every
00:00
>> single event that happens.
00:00
>> We can be more specific and filter
00:00
out what we do not want to subscribe to.
00:00
It also supports dead-lettering.
00:00
Now, dead-lettering refers to undelivered messages.
00:00
This is Azure Event Grid supporting us to
00:00
be able to hold events that
00:00
cannot be delivered in a queue,
00:00
or in a storage.
00:00
In fact, it supports putting them in a Blob Storage,
00:00
so that we can go back to review those events and
00:00
see the events that have not been able to be delivered.
00:00
Its support configurable retry policy.
00:00
The maximum delivery attempts for retrying
00:00
and events delivery is 30 attempts,
00:00
and the maximum event time to leave is one day.
00:00
That means an Azure Event Grid can try to deliver
00:00
up to 30 times within a single day after which it can
00:00
decide to put it in a dead-letter Q,
00:00
in this case maybe an Azure Storage,
00:00
to say that the event wasn't able to be delivered.
00:00
It also supports Azure AAD Authentication.
00:00
By default, Azure Event Grid uses
00:00
HTTPS query string parameters for web authentication.
00:00
But if we enable this function for
00:00
Azure AAD Authentication,
00:00
we can use Azure AAD Authentication
00:00
where Event Grid can obtain a token
00:00
from Azure Event Grid and use it for authentication.
00:00
Let's talk about some use cases for
00:00
Azure Event Grid; serverless application architecture.
00:00
Azure Event Grid fit very well
00:00
into an event-driven architecture.
00:00
For example, let's say you
00:00
want to trigger a serverless function that's going
00:00
to analyze an image when an object
00:00
is added to a Blob Storage container.
00:00
That's a very good use case for Azure Event Grid.
00:00
Actually, that's the use case that I'll be showing
00:00
you in the demo that I'll do after this.
00:00
Operations automation, there is a lot of
00:00
operational activities and
00:00
>> operational tasks that we do,
00:00
>> which are reaction to certain events that happens.
00:00
Azure Event Grid allows us to be able
00:00
to automate a lot of those processes.
00:00
For example, we want to notify
00:00
Azure Automation whenever a new virtual machine has
00:00
spun up in Azure subscription a new secure database is
00:00
created so that's this Azure Automation runbook
00:00
can do a quick check of the resource that's
00:00
just being spun up and see if it's
00:00
compliant according to our organization policies.
00:00
We can use Azure Event Grids to be
00:00
that middleman that delivers
00:00
the events to Azure Automation which
00:00
triggers the execution of the runbook.
00:00
Application integration is another use case.
00:00
For example, we wanted to send
00:00
an application's events data to another service.
00:00
We can send that through Event Grid and then
00:00
that's going to be handled by
00:00
another service that needs to consume that.
00:00
When it comes to Azure Event Grid cost,
00:00
so it works on a paper event pricing model.
00:00
In other words, we only pay for what we use.
00:00
One of the good things is that the first 100,000
00:00
operations of Azure Event Grid a free.
00:00
After that, it's only $0.60 per million operations.
00:00
That's a very good pricing.
00:00
Remember that this is going to save us from
00:00
spending money on Compute and doing constant polling.
00:00
Operations in Event Grid in terms of what we attach
00:00
for that includes ingress events, advanced match,
00:00
if we're doing any advanced matches,
00:00
delivery attempts attached as operations,
00:00
or even just management calls,
00:00
may be making API calls to azure Event Grid.
00:00
Those are all going to be charged as operations.
00:00
This brings me to the end of this lesson.
00:00
Thanks very much for watching.
00:00
I'll see you in the next lesson.
Up Next