Pluralsight Implementing CDNs for Azure Storage
- Key CDN concepts
- Automation with Azure tools
- Authenticating
- Exploring the static website feature
Overview
User <–> Edge Server(s) (first request caches to global edge machines) <–> Origin server (Azure Blob Service)
Features
- Distributed Network
- Massivley Scaled, High perf networks
- Standard & Premium Pricing tiers with companies
Benifits of CDN with storagatw
- Optimzation
- , CDN is designed for Blob storage
- Security
- Configured to use Blob Sas Tokens
Pricing Sectury
- CDN Costs
- pay as you go
- Storage Costs
- charged for transfer between CDN Edge Server & Storage
Pricing by example
- Study values on azure.com
- Assumtions
Assumtions
- Storages Blob Account
- 10 files 1.2MB
- All data occurs in Zone 1.
- All content is cached with maximum age and remains unchanged
Without CDN
1.2MB, 10 files, 1M requests directly from storage.
Storage | Storage Read | |
---|---|---|
Rate | $0.02 / GB month | $0.004 / 10k requests |
Files | 1.2MB | 1m * 10 |
Requests | $0.02 * (1.2MB / 1000 MB) | 10m / 10k |
Price | $0.02 * 0.0012 GB | $0.004 * 1000 |
Final | $0.000024 | $4 |
With CDN (1 user)
1.2MB, 10 files, 1M requests through storage.
Storage | Storage Read | CDN Transfer 1 User | 1k Users | 50k users | 1M Users | |
---|---|---|---|---|---|---|
Rate | $0.004 / 10k requests | $0.09 / GB | ||||
Files | 10 / 10000 = 0.001 request | 0.0012 GB * 1 user | 0.0012 GB * 1000 user | 0.0012 GB * 50000 user | 0.0012 GB * 1M users | |
Price | $0.004 * 0.001 | $0.09 * 0.0012 GB | 0.09 * 1.2GB | 0.09 * 60GB | 0.09 * 1200GB | |
Final | $0.000024 | $0.000004 | $0.000108 | $0.10 | $5 | $108 |
Pricing is linear with CDN storage
Billing demo
Cost management and Billing Link
Billing shows more detailed billing.
Implementing CDN
Enabling CDN for Azure Storage
CDN Object Model
- Subscription (all resources exist under sub)
- Profile
- Endpoint
- Origin
- Profile
Setup
- Choose Azure CDN
- CDN Profile - organizer for application/business group/logical group.