This widget could not be displayed. " />

Understanding Azure with Blue Prism - The Basics


When it comes to Installing Blue Prism and configuring its various options, there isn’t any dearth of material in our portal. This blog post however focuses on a slightly different area, setting up an Azure environment for Blue Prism.


While I introduce this topic, I would want you to remember that this article is not a best practice guide, or a way to go about Azure for an enterprise. This is for those developers who have heard of cloud but haven’t really attempted a hands-on experiment on cloud, and for those who wants a basic setup for a POC, Pilot…etc or may be to learn more about Azure. Please do explore the Blue Prism trial edition that comes as a single package to learn more about Blue Prism; but read further in this blog to learn more about Azure from the context of Blue Prism and the most minimum components needed for an average Blue Prism implementation in an Enterprise mode.


Let’s begin by looking at the high-level steps,

34573.jpg

Foundation: This is where we setup the basic groundwork needed for proper communication between all Blue Prism components. We configure Virtual Networks, Subnets and the minimum ports needed to be opened for a proper communication


Ring Fencing: Here we configure the security features in Azure that helps us protect the implementation.


Heart of Blue Prism: The database is at the core of all Blue Prism implementation, it holds, secures and manages all data. We explore Azure SQL as an option for the Blue Prism Database.


Building Blocks: These are the machines where Blue Prism components operate. We see the various configurations / templates available for this purpose.


Install and Configure: We don’t really talk about this. There are enough and more documents that help with the installation.


What we plan to achieve through this blog is the following architecture.

34574.jpg

Before we begin, I think its important to refresh our memories on the basics of the Azure portal. You can access the portal @ http://portal.azure.com




34575.jpg


34576.jpg


34577.jpg

 

For the first timers, you will need to register and account on the portal, create a subscription and only then move forward.



34578.jpg

34579.jpg

 

34580.jpg


Everything big starts small.


The very first step is to create a virtual network in Azure.


A virtual network is a channel for communication between virtual machines or other components enclosed within it. You can further segment categories of resources within a virtual network using a component called subnets.


Once you are in the portal and have a subscription created, click on “Create a Resource” and search for Virtual Networks.


While we create a network, special attention has to be given to the address space used. Factors such as whether the VNet is integrated to an organisations own network, if vpn will be used, other VNets in the portfolio all have direct impact on the address space.


Read more about VNets here: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview


 34581.jpg


 



You should be presented with the below blade to create a VNET.


 


34582.jpg

The Key factors to consider while filling up this form are


34583.jpg

 



Once your VNet is created, the very next step is to create a subnet associated to this VNET. A subnet as its name might imply is a subset of the VNet and creates another isolation for provisioning resources within this group.


 


The important thing to remember while creating a subnet is the address space and a sensible name.


 


It is best to have one subnet for each type of Blue Prism component; one each for DB, App Server, Interactive Client and Runtime Resource.


 


There are additional configurations like DNS, DDOS and monitoring that can greatly enhance the installation and please feel free to explore them as well.


 


34584.jpg

                             34585.jpg


Once we have the basic networking components created, the next step is to explore Network Security Groups (NSGs) and associating them to the subnets we created earlier.


Do remember that NSGs are one of the first layer of protection that can be added for our implementation. Azure provides even more security perimeter with services such as Firewalls, load balancers…etc too which are typically configured for large scale and highly secure implementations.


NSGs can help us control communication access to a subnet or any similar network components it is associated with. Read more about NSGs here: https://docs.microsoft.com/en-us/azure/virtual-network/security-overview


Similar to how we searched for the VNets, search for Network security groups and you will land in the below blade.


34586.jpg

                                         


Once a proper name and other parameters are given and the NSG is created, open the NSG blade and do the following configurations,


Define Inbound and outbound rules: This is where you configure the ports that can communicate externally.


If the intention is to have each component is in its own subnet and NSG, then you will need to remember to open the Blue Prism ports in these rules. By default, these are 8181 and 8199 on TCP.


Remember that, the lower the priority number, the higher the precedence off the rule.

34587.jpg

Associate a subnet: click on the associate button to tag the NSG to the subnet we created earlier.



34588.jpg

34589.jpg

                                          

34590.jpg

 


To set up the heart of Blue Prism, we are going to use Azure SQL as an option.


Azure SQL provides a layer of extraction and help us to avoid complex installations of SQL, virtual machines…etc. In very few steps, we can have a performant SQL Database setup.


Do remember that features such as replication, few controls at hardware level are limited in the PaaS offering. For an large scale implementation do explore SQL in the IaaS mode or the Azure Managed Instance offering.


Read more about Azure SQL here: https://azure.microsoft.com/en-in/services/sql-database/


As usual, you start by creating a resource called “Create SQL Database” and follow the steps as show in the screen shot below.                         



34591.jpg

Create a Server                               
34592.jpg


Select a right configuration. You are free to choose a right size based on your requirement. Although we recommend using VCore based sizing, its easier in this case to use a DTU based model of configuration.


Do remember that DTU based models don’t clarify the exact CPU, memory or IOPS you would get and hence best to not use this option for an actual implementation. In this case we are attempting something for a POC, pilot or to learn more about Azure and DTU makes it easier for us.


 


 


34593.jpg

34594.jpg

Networking: Typically, you would want your DB to be inaccessible external. Hence No Access is the safest option here.
34595.jpg


Collation
34596.jpg


                                    

34597.jpg

 


The final step of the puzzle is the actual Azure VMs. There are way too many options to configure an Azure VM and we only explore the simplest options.


Read more about VMs here,


https://azure.microsoft.com/en-in/services/virtual-machines/


You would ideally need a VM for the app server, another one for the Runtime resource and the last one for the Interactive client.


All VM creation follows the same general principle.


Below is the VM creation blade with the key part to consider being the availability set (not mandatory for Blue Prism), but this helps in scaling easily




34598.jpg

34599.jpg

34600.jpg

 


The next step is the disks and networking. You will need to give special focus to networking since this is where you will be selecting the subnets you previously configured and protected using NSGs.




 


34601.jpg

34602.jpg

34603.jpg

 



34604.jpg

34606.jpg

 


Finally, there you have it. You have a working platform to install Blue Prism. Use the RDP file to remote into the respective VMs and carry out installations.


The next steps are very straight forward which is explained in detail in our Enterprise Installation Guide available on the portal.


Azure is an ocean of possibilities for implementing Blue Prism. The reference architectures in the below link will help you as a starting point to understand more about implementing an Enterprise grade instance.


https://portal.blueprism.com/system/files/2018-04/v6%20Reference%20Guide%20-%20Azure%20Reference%20Architecture.pdf


Other references you might like to read on,


Learn about load balancing multiple VMs. This can be applied to the Blue Prism app servers and run time resources (specifically when processes are exposed as web services)


https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview


Understand how availability sets help is improving availability of the implementation


https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets


I hope this blog helped you to understand how simple it is to deploy Blue Prism on Azure. Do share your thoughts and feedback!                    


#Cloud
#Azure
6 Comments