Title: lightsail cloudfront
Last modified: February 7, 2022

---

# lightsail cloudfront

 *  Resolved [futureyoon](https://wordpress.org/support/users/futureyoon/)
 * (@futureyoon)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/)
 * Hi
 * I am usuing AWS lightsail that comes with inbuilt distribution service.
 * May I know where I can get the Access key ID and Secret Key for this plugin when
   using lightsail?
 * when i follow this steps ([http://www.craigerson.com/wordpress-cloudfront-cdn-w3-total-cache/](http://www.craigerson.com/wordpress-cloudfront-cdn-w3-total-cache/)),
   it asked me to create a new IAM credential which is not pointing lightsail disctrubiton
   service that had been already created.
 * so there must be some other ways to get Access key ID and Secret Key for the 
   lightsail evnvironment.
 * Do you have any idea and how to resolve this issue?
    Please help.
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/#post-15336802)
 * Hello [@futureyoon](https://wordpress.org/support/users/futureyoon/)
 * Thank you for yoru question and I am happy to assist you with this.
    The Access
   Key ID and Secret Key are required for the AWS Cloudfront CDN. Lightsail CDN 
   is different. However, you can try to use Generic Mirror in the Performance>General
   settings>CDN dropdown menu and add the CDN created domain for example, d3b09eq0j1fbdq.
   cloudfront.net
 * I hope this helps!
    Thanks!
 *  Thread Starter [futureyoon](https://wordpress.org/support/users/futureyoon/)
 * (@futureyoon)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/#post-15337257)
 * Thank you for the info.
 * a couple of follow up questions
 * 1. performance between Mirror and Cloudfront ? which one better?
 * 2. I’ve already created a distribution in lightsail, is it ok to set up a new
   distribution out of lightsail merely for this plugin use? what would be the implication?
 * Thank you
    -  This reply was modified 4 years, 4 months ago by [futureyoon](https://wordpress.org/support/users/futureyoon/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/#post-15338039)
 * Hello [@futureyoon](https://wordpress.org/support/users/futureyoon/)
 * Thank you for yoru feedback.
    1. When selecting a specific provider from the 
   CDN Type, offers a lot more control over which files are uploaded, purging the
   CDN, etc. SO it’s always better to use options for the specific provider to allow
   more control via the plugin.
 * 2. On some occasions this may result in duplicating the content, or some errors
   are thrown.
    I would advise using only one distribution for the generic mirror.
   THanks!
 *  Thread Starter [futureyoon](https://wordpress.org/support/users/futureyoon/)
 * (@futureyoon)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/#post-15353291)
 * OK. Thank you for the explanation.
    so back to the original question.
 * There is no way to connect lightsail CDN with W3 Total Cache for now?
 * Please advise.
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘lightsail cloudfront’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [Lightsail](https://wordpress.org/support/topic-tag/lightsail/)

 * 4 replies
 * 2 participants
 * Last reply from: [futureyoon](https://wordpress.org/support/users/futureyoon/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/lightsail-cloudfront/#post-15353291)
 * Status: resolved