Azure CDN - jasper-zanjani/azure GitHub Wiki
Notes
Azure CDN does not figure prominently in the AZ-104 exam.
Users can use Azure as a CDN cache, reducing load from website. Content is cached by the CDN until its time-to-live (TTL) elapses, which can be controlled in the HTTP response from the origin server.
Permanently removing content from the CDN requires it be first removed from the origin servers, meaning if the content is in a storage account it should be set to private or deleted from the storage, or the container itself should be deleted. Cached copies may remain in the CDN endpoint until the TTL has expired, unless it is purged.
Price
There are 4 pricing tiers available within Azure CDN:
- Azure CDN Standard from Microsoft, which does not offer dynamic site acceleration (DSA) (cf. Azure Front Door Service)
- Azure CDN Standard from Akamai
- Azure CDN Standard from Verizon
- Azure CDN Premium from Verizon, for which caching is configured using a rules engine.
Tasks
Create new profile
AZ-103: p. 140
- Click Create a resource
- Click Web
- Click CDN, opening the CDN profile blade
- Specify name for the profile, name of the resource group, region, and pricing tier.
- Click Create
Create endpoint
AZ-103: p. 141
Add an endpoint to a CDN profile (Portal)
- Open the CDN Profile
- Click + Endpoint button
- Specify unique name, configuration for origin settings such as type, host header, and origin port for HTTP and HTTPS.
- Click Add button
Publish content
Publish content in a CDN endpoint (Portal)
- Create a new CDN profile
- Add an endpoint to the profile