Unlike a normal CDN, AMP does not serve the same content as the origin. You need to make a special, lite edition of the original web page which does not work on Safari or Firefox, and may not necessarily make your site faster. [1]
You cannot switch AMP cache to another vendor if you want Google rank your AMP site higher. [2] You also need a speical TLS certificate with the CanSignHttpExchanges extension that can only be get from DigiCert (for a price)[3] and not from Let's Encrypt [4].
[1] https://unlikekinds.com/article/google-amp-page-speed [2] https://stackoverflow.com/a/41683427 [3] https://web.dev/how-to-set-up-signed-http-exchanges/#step-1 [4] https://community.letsencrypt.org/t/cansignhttpexchanges-ext...