Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
1 views

Lab19 - Understanding Queue Storage - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Lab19 - Understanding Queue Storage - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Cloud Computing - Azure

Lab19 – Understanding Queue Storage – Azure

Queue storage

Azure Queue storage is a service for storing large numbers of messages that can be
accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. A
single queue message can be up to 64 KB in size, and a queue can contain millions of
messages, up to the total capacity limit of a storage account.

Common uses of Queue storage include:

 Creating a backlog of work to process asynchronously


 Passing messages from an Azure web role to an Azure worker role

Queue Service Concepts


The Queue service contains the following components:

Page 1 of 26
Cloud Computing - Azure

 URL format: Queues are addressable using the following URL format:
http://<storage account>.queue.core.windows.net/<queue>

The following URL addresses a queue in the diagram:

http://myaccount.queue.core.windows.net/images-to-download

 Storage Account: All access to Azure Storage is done through a storage account.
See Azure Storage Scalability and Performance Targets for details about storage
account capacity.
 Queue: A queue contains a set of messages. All messages must be in a queue.
Note that the queue name must be all lowercase. For information on naming
queues, see Naming Queues and Metadata.
 Message: A message, in any format, of up to 64 KB. The maximum time that a
message can remain in the queue is 7 days.

Page 2 of 26
Cloud Computing - Azure

Topology:

Page 3 of 26
Cloud Computing - Azure

Back-End Topology:

Page 4 of 26
Cloud Computing - Azure

In Azure portal, click “Resource groups”.

Page 5 of 26
Cloud Computing - Azure

Click “Add”.

Page 6 of 26
Cloud Computing - Azure

While create “Resource group”,

It requires, “Resource group name” type name as “SansboundAzureClass”.

Select “Subscription” as “Free Trial”.

Select “Resource group location” as “Central US”.

Click “Create”.

Page 7 of 26
Cloud Computing - Azure

Click “Storage accounts” in left side panel.

Page 8 of 26
Cloud Computing - Azure

Click “Add”.

Page 9 of 26
Cloud Computing - Azure

Select “Subscription” as “Free Trial”.

Select “Resource group” as “SansboundAzureClass”.

Type “Storage account name” as “sansboundstorge”.

Select “Location” as “Central US”.

Select “Performance” as “Standard”.

Select “Account kind” as “Storage V2”.

Select “Replication” as “Zone-Redundant Storage (ZRS)”.

Click “Access Tier” as “Hot”.

Page 10 of 26
Cloud Computing - Azure

Click “Next : Advanced”.

Page 11 of 26
Cloud Computing - Azure

In “Advanced”.

Click “Next : Tags >”.

Page 12 of 26
Cloud Computing - Azure

Type “KEY” as “Name” and “VALUE” as “SansboundStorage”.

Page 13 of 26
Cloud Computing - Azure

Click “Next : Review + create”.

Page 14 of 26
Cloud Computing - Azure

Click “Create”.

Page 15 of 26
Cloud Computing - Azure

Click “Go to resource”.

Page 16 of 26
Cloud Computing - Azure

Click “Queues”.

Page 17 of 26
Cloud Computing - Azure

Click “Queue”.

Page 18 of 26
Cloud Computing - Azure

Type “Queue name” as “eventlogs”.

Click “Ok”.

Page 19 of 26
Cloud Computing - Azure

Click “eventlogs”.

Page 20 of 26
Cloud Computing - Azure

Click “Add message”.

Page 21 of 26
Cloud Computing - Azure

In your local machine / server launch event viewer,

In “Security”

Select any “Audit Success” event and double click it.

Page 22 of 26
Cloud Computing - Azure

Select entire event details for the event id.

Then, click “Copy”.

Page 23 of 26
Cloud Computing - Azure

Paste the value in “Message text” at “Add message to queue”.

Also you can set the expiration period for the message, after that message will be deleted automatically.

Page 24 of 26
Cloud Computing - Azure

Click “Id of the message queue”.

Page 25 of 26
Cloud Computing - Azure

If you have required to delete the specific message, then select that message and then click “Dequeue
message” / to click “Clear queue” to delete all messages in the queue.

Page 26 of 26

You might also like