Author : MD TAREQ HASSAN | Updated : 2020/11/11
Prerequisites
Create Resource Group:
- Go to: https://portal.azure.com/#create/Microsoft.ResourceGroup (login to Azure portal first, then click the link)
- Fillup details (i.e. name ‘
demo-rg
’, select subscription etc.) - Create
Create account
- Go to: https://portal.azure.com/#create/Microsoft.DocumentDB
- Fillup required details (Basics, Networking, Encryption etc.)
- Create and review > Create
Create database
- Go to resource group: https://portal.azure.com/#blade/HubsExtension/BrowseResourceGroups
- Select resource group (where CosmosDB belongs) > Select CosmosDB
- Data explorer > New Database
- Database id: i.e.
Employee
- Ok
Create container
- Go to resource group: https://portal.azure.com/#blade/HubsExtension/BrowseResourceGroups
- Select resource group (where CosmosDB belongs) > Select CosmosDB
- Data explorer > New Container
- Fillup required details (i.e. container id, partition key etc.)
- Ok