Azure Cosmos Db
- NoSQL Databases are majorly of two types
- Document Databases
- Key Value Stores
- Azure Cosmos DB is NoSQL Database as a service.
-
Cosmos DB Supports multiple APIs
- NoSQL
- MongoDB
- Cassandra
- Gremlin
- PostgreSQL
- Table
-
Lets create a cosmos db with mongo api




-
Once the db is created Quick start blade will show the connectivity from various technologies




-
Cosmos DB Actvities for an admin
- Creation (automated creation)
- scaling the database
- changing the configurations according to needs of applications
- Replication Setups
- Connectivity Checks.
- Migration.
Exercise
- Create a azure sql db from azure cli
- Steps:
- Create a resource group
az group create - Create a server in the above resoruce group
az sql server create - Add database to sql server
- Create a db
az sql db create - Fetch database endpoint.
- Create a resource group
- Delete the resource group
az group delete
