ÃÛ¶¹ÊÓÆµ

Cloud 5 AEM CDN Part2

Part two of using the AEM CDN and deep dive into various options.

video poster

Transcript
Another issue that we have is we actually optimize images on the fly. We do this for users and a lot of times we do really complicated things like cropping and resizing. How can this be handled best in AEM as a cloud service? So in AEM as a cloud service you can do those same types of cropping and resizing using AEM. We also have a product called Dynamic Media that will do that stuff dynamically as well and also includes its CDN with it as well. One of the cool things about cloud service is it uses Azure services behind the scenes so in a typical AEM fashion a lot of times the binary gets streamed right out of the segment store and out to the client that requested it but using Azure using a direct binary access the blobs themselves get streamed right out of Azure using the speedy Azure networks and get sent to the client so very streamlined very efficient and also can be cached with your CDN. That’s very cool. Okay another need that we have is we need to redirect to a different URL based on the country of origin of the request so again it goes somewhere different if it’s the UK if it’s the US and we’re trying to figure out how that can be done in AEM as a cloud service. So this one’s quite simple in that our CDN itself that we provide adds headers to each request with both the country and continent codes so let’s say from Japan you can then react to that and send it to the Japanese language site or a Japanese country site for example. So Darren one thing that I understand is that on the AEM as a cloud service CDN the traffic reporting and some of the analysis are a bit different I was wondering if you could expand on that a little bit. Sure so looking forward we’re going to be providing raw logs at some point in the cloud manager just like the other request log and the air log and so on and so forth so you’ll be able to take those raw logs and analyze them for you know cache hit ratio so taking the hits and the misses and so on and being able to optimize your deployment so you know tweaking your dispatcher configs changing your TTLs and so on that way you can get the optimized delivery for the speediest results you know around the world on your delivery. Oh perfect that’s great some other just some other questions if we do decide to bring our own CDN to AEM as a cloud service can you talk a little bit about some of the considerations that we need to consider from ÃÛ¶¹ÊÓÆµâ€™s perspective? Sure so architecturally wise bringing your own CDN is a wise decision if you have other applications outside of sort of the ÃÛ¶¹ÊÓÆµ ecosystem so obviously we have CDNs on cloud service we have it on dynamic media and so on there’s other services that employ CDNs as well but those are included as part of the product so if you have certain security requirements that we talked about earlier or additional applications that live outside that ecosystem you can bring your own CDN and then basically stick that CDN in front of the cloud service CDN that way it gives you a little bit more you know of those features that may be specific to those applications. You shouldn’t need to explicit CDN cache flushing since the header values are all respected so they pass through and back to the AEM so you can basically have that same control again the ÃÛ¶¹ÊÓÆµ cannot flush that CDN itself since we wouldn’t own it. There might be some additional configurations for caching anything on different CDNs so again it depends on the CDN itself on how it would be configured but we certainly do support it and from ÃÛ¶¹ÊÓÆµâ€™s perspective you’d want to use this or just stick with the AEM CDN is just to reduce the overall technical debt you know less failure points to you have to worry about one vendor that is responsible for it you know this is ÃÛ¶¹ÊÓÆµâ€™s thing so it’s part of the product so if there are patches or anything that need to be applied we handle all that stuff and it’s certainly cost-effective that way you don’t have to have multiple bills from different vendors and stuff like that this is all rolled up into your license. That makes sense again CDNs can be very expensive so I appreciate that Darren thank you. Certainly.

Content covered in part two of this series

  • Image optimization on the fly - dynamic media use case
  • Country code redirects
  • CDN traffic analysis and reporting
  • Bring your own CDN (BYOCDN)

View Part One

Additional Resources

Watch related videos on the Cloud 5 season 1 page.

recommendation-more-help
4859a77c-7971-4ac9-8f5c-4260823c6f69