title: Create a CDN with Google Cloud and Image Optimization
body: <p>I have many websites and also websites made by clients which I would like to optimize. I am currently using different CDN providers but I would like to simplify my workflow and hopefully also lower the costs.</p>
  
  <p>I would like to have a CDN with a Pull Zone, and that CDN would also optimize the images (while not modifying the other static resources).</p>
  
  <p>Ideally, I would also have access to statistics for each Pull Zone (since I would like to charge my clients for this service instead of guessing).</p>
  
  <p>What are the different ways to do this with the Google Cloud? Is there a way to do this only using Google Functions, CDN, and Google Storage? Of course, I guess that having a little NodeJS app running to optimize the images would be needed as well. I just wonder about the general architecture and if it is even possible (I know it is with Azure and AWS but I am already running a few things on the Google Cloud).</p>
  
  <p>Thanks a lot :)</p>