- Add Legal Office of the Master seal (SVG design with Maltese Cross, scales of justice, legal scroll) - Create legal-office-manifest-template.json for Legal Office credentials - Update SEAL_MAPPING.md and DESIGN_GUIDE.md with Legal Office seal documentation - Complete Azure CDN infrastructure deployment: - Resource group, storage account, and container created - 17 PNG seal files uploaded to Azure Blob Storage - All manifest templates updated with Azure URLs - Configuration files generated (azure-cdn-config.env) - Add comprehensive Azure CDN setup scripts and documentation - Fix manifest URL generation to prevent double slashes - Verify all seals accessible via HTTPS
3.4 KiB
Azure CDN Setup - Complete
Status: ✅ Infrastructure Created and Configured
Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
✅ Completed Setup
Infrastructure Created
-
Resource Group:
the-order-cdn-rg✅- Location: westeurope
- Status: Active
-
Storage Account:
theordercdn12439✅- Location: westeurope
- SKU: Standard_LRS
- Public Access: Enabled
- Status: Active
-
Storage Container:
images✅- Access Type: Blob (public read)
- CORS: Configured
- Status: Active
-
CDN Profile:
theorder-cdn-profile⚠️- Status: May need manual creation
- Check: Azure Portal → CDN profiles
-
CDN Endpoint:
theorder-cdn-endpoint⚠️- Status: May need manual creation
- Check: Azure Portal → CDN endpoints
Quotas Verified
✅ All Quotas Sufficient:
- Storage Accounts: 4/250 (246 available)
- CDN Profiles: 0/25 (25 available)
- Resource Groups: 7/980 (973 available)
- CDN Endpoints: 0 (25 per profile available)
Files Uploaded
- PNG Files: Uploaded to Azure Blob Storage
- Location:
theordercdn12439.blob.core.windows.net/images/ - Access: Public HTTPS
Configuration
File: azure-cdn-config.env
Contains all necessary configuration:
- Storage account credentials
- CDN settings
- Base URLs
Manifest Templates Updated
All manifest templates updated with Azure Blob Storage URLs:
default-manifest-template.jsonfinancial-manifest-template.jsonjudicial-manifest-template.jsondiplomatic-manifest-template.json
URLs
Active URL (Blob Storage)
https://theordercdn12439.blob.core.windows.net/images/
CDN URL (When Ready)
https://theorder-cdn-endpoint.azureedge.net/images/
Note: CDN endpoint may need manual creation in Azure Portal if automatic creation failed.
Verification
Test File Access
curl -I https://theordercdn12439.blob.core.windows.net/images/digital-bank-seal.png
Expected: HTTP 200
Check Uploaded Files
az storage blob list \
--container-name images \
--account-name theordercdn12439 \
--account-key <key> \
--query "[].name" -o table
Next Steps
-
Verify CDN Endpoint (if not created):
- Azure Portal → CDN profiles
- Create profile:
theorder-cdn-profile(SKU: Standard_Microsoft) - Create endpoint:
theorder-cdn-endpoint - Origin:
theordercdn12439.blob.core.windows.net
-
Test Credential Issuance:
- Issue test credentials
- Verify seal images display correctly
- Test all credential types
-
Monitor Usage:
- Check Azure Portal for CDN metrics
- Monitor storage account usage
- Set up alerts for quota limits
Cost
Estimated Monthly Cost:
- Storage: ~$0.0001/month (3.4MB)
- CDN: First 5GB free, then ~$0.04/GB
- Total: ~$0-5/month
Scripts Available
azure-check-cdn-quotas.sh- Check quotasazure-cdn-setup.sh- Create infrastructureupload-seals-to-azure.sh- Upload filessetup-azure-cdn-complete.sh- Complete automationupdate-manifest-seal-urls.sh- Update URLs
Status Summary
✅ Infrastructure: Created
✅ Quotas: Verified
✅ Files: Uploaded
✅ Configuration: Generated
✅ Manifests: Updated
⚠️ CDN Endpoint: May need manual creation
Ready for: Credential issuance testing
CDN URL: Available after endpoint creation