6. Demo Web App for containers
• Create ASP.NET Core App
• Create Dockerfile
• Build Docker image
• Push to Azure Docker Registry
• Create Web App for that Docker image
11. Virtual Machine Storage Architecture
Azure Virtual Machine
C:
OS Disk
E:, F:, etc.
Data DisksD:
Temporary Disk
Disk Cache
Azure Blob
Y:, Z:, etc.
SMB Share
Azure Files
15. Virtual Network – Communicate with On-Premise
• Point 2 Site VPN:
- Connect Single Computer to Azure Virtual Network
- Via Internet with Secure Socket Tunneling Protocol(SSTP)
• Site 2 Site VPN and VPN 2 VPN:
- Connect to 2 VPN together
- Via Internet with IPSec Protocol
• ExpressRoute:
- Private connection
- Via dedicated network (do not over internet)
- More reliability with low latency with Increased reliability and speed
17. Demo
• Create Virtual Network
• Add a computer into Virtual Network
• Config Security to Allow Remote Desktop
• Config to allow http access
18. SQL vs NoSQL - Key points
SQL
• ACID
Atomicity, Consistency, Isolation, and Durability
• Standard DDL, SQL
• Schema enforced
• Better tooling
• Oracle, SQL Server, MySQL,
PostgreSQL
• Usually suffer performance
issues when system grow,
difficult to scale
NoSQL
• BASE?
Basically Available, Soft state, Eventual consistency
• No Standard
• Schema-less
• Mostly Open Source and Low-
Cost
• Generally better performance
and scalability
19. Global distribution Elastic scale out Guaranteed low latency Comprehensive SLAs
Azure Cosmos DB
Key-Value Column-Family GraphDocuments
A multi-model, globally-distributed database service
Tunable Consistency
SQL
DocumentDB
Azure Tables
22. Request Unit (RU)
Billed for the amount of throughput reserved, regardless of how
much of that throughput is actively used
Also depend on:
• Item size
• Item property count
• Document indexing
https://www.documentdb.com/capacityplanner
23. Demo DocumentDB
• Create a Cosmos DB (SQL)
• Create a Database and Collection
• Add some documents
• Query documents
• Open same ASP.NET Application working with DocumentDB