This is an series of post to build Blockchain solutions with Azure Blockchain Workbench. Before reading this post, please go through Overview of Azure Blockchain Workbench .
Step by step guide Build and Deploy Blockchain solution with Ethereum
- Step 1: Configure Active Directory
- Step 2: Provision Azure Blockchain Workbench components
- Step 3: Write Smart Contract for Asset Transfer DApp with Solidity
- Step 4: Deploy Asset Transfer application
In this post we will work on Step 2: Provision Azure Blockchain Workbench
Steps to provision Azure Blockchain Workbench
- Search for Azure Blockchain Workbench
- Basic configuration settings
- Enter Application ID & Application Key
- Select Nodes, Networks, VM Size
- Enable Monitoring
- Deploy Workbench
- Deployment Succeeded and Copy Web URL
- Configure Reply URL
- Configure Active Directory user
- Configure user to Blockchain API
- Provide Administer permission
- Make user as Owner
- Blockchain Workbench is deployed & Verify
Following Azure services being provisioned on default.
- 1 App Service Plan (Standard)
- 1 Application Insights
- 1 Event Grid Topic
- 2 Azure Key Vaults
- 1 Service Bus Namespace
- 2 SQL Databases (Standard S0)
- 2 Azure Storage accounts (Standard LRS)
- 2 Virtual Machine scale sets (ledger nodes and workbench microservices)
- 2 Virtual Network resource groups Optional: Azure Monitor
1. Search for Azure Blockchain Workbench
2. Basic configuration settings
3. Enter Application ID & Application Key
Enter Application ID & Application Key which we have copied from previous post
4. Select Nodes, Networks, VM Size
5. Enable Monitoring
6. Deploy Workbench
7. Deployment Succeeded and Copy below details
- Once deployment is done
- Select The Resource Group
- Azure has provisioned so many resources
- Click on App Service web
8. Copy Web App URL
9. Configure Reply URL
- Open Azure Active Directory
- Click on App Registrations
- Select Blockchain API
- Click on Settings
- Select Reply URLs
- Enter Web URL you copied in previous step
10. Configure Active Directory user
- Open Azure Active Directory
- Click on Users
- Select All Users
- Modify/Add new User
11. Configure user to Blockchain API
- Open Azure Active Directory
- Select All Applications
- Select Blockchain API
12. Provide Administer permission
- Select Users and Groups
- Select the User
- Provide Administrator access
- Click on Assign
13. Make user as Owner
Blockchain Workbench is deployed.
Lets Verify. Open the Web URL
You should see this page.
If something is not working post in Forum
https://social.msdn.microsoft.com/Forums/en-US/home?forum=azureblockchain
So far we have configured Active Directory and Provisioned Blockchain Workbench. In the next step we will write Business Logic for sample application with Solidity Smart Contract language
Step 3: Write Smart Contract for Asset Transfer DApp with Solidity
Reference/Further reading
https://docs.microsoft.com/en-us/azure/blockchain/workbench/