DEV Community

Cover image for Creating Data Store Resources in Azure
BENEDICT OKAFOR
BENEDICT OKAFOR

Posted on

Creating Data Store Resources in Azure

As usual, to access Microsoft azure portal, browse to the URL (portal.azure.com), and then sign in with the account.

According to the official Microsoft documentation Azure Cosmos DB is a fully managed NoSQL database for modern app development, which supports fast, flexible development to achieve low latency and high availability.

We would be Creating an Azure Cosmos DB account resource.

In the Azure portal, search for Azure Cosmos DB in the Search resources, services, and docs text box then select Azure Cosmos DB.

Azure Create Fig 1.0

From the image above, label 1 or 2 can help us easily create our new resource.

On the next screen are various APIs provided by Microsoft.
Azure API which meets various requirements that would be specific to the Microsoft Tenant.

For this discuss, we would focus on the Core(SQL), and it is worthy to note that The API selection cannot be changed after account creation, click on create when you are sure that is what you want.

Fill in necessary Resource Group and Account name ** for **capacity mode we would be selecting Severless this documentation gives further clarification between provisioned Throughput and Severless.

Azure Serverless
Severless has an automated way to handle our app, and payment is Event driven; meaning payment is only done when the code runs, which helps users or organization to save cost.

In the ** Backup Policy*, for the backup storage redundancy, we would be selecting **Geo-redundant backup storage*.

Geo-redundant backup storage helps to protect against outages impacting backup storage in the primary region and allows you to restore your server to a different region in the event of a disaster.

Review other sections and options that meets your requirement then click on create. deployment should be available to you.

Azure portal allows us have access to work with various platforms as seen in the image label 1
Azure page

You can decide to create a container as seen in image label 2

A Container bundles an application’s code together with the related configuration files and libraries and with the dependencies required for the app to run. This allows developers and IT pros to deploy applications seamlessly across environments.

Remember there are a whole lot we could do on our resource to meet our specified configuration.
Azure keys

in the settings ** section of our resource locate **keys and save the URI, PRIMARY KEY, and PRIMARY CONNECTION STRING to your notepad.

Create an Azure Storage account resource

Search for Storage accounts on the Azure portal.

Follow through default procedures on creating any resource, and select relevant options as to your requirements.

Storage A success message of deployment should be available.

We just created an Azure resources that include an Azure Cosmos DB account and an Azure Storage account.

Top comments (0)