Hands-on: Using CloudFront Staging Distributions | StormIT
ฝัง
- เผยแพร่เมื่อ 22 ก.ค. 2024
- Learn how to set up and manage CloudFront staging distributions for continouse deployment to effortlessly test and optimize your content delivery. Reduce risk, and ensure flawless user experiences with CloudFront staging distributions.
We'll change origin S3 bucket and try to deploy a Lambda@Edge function to this staging distribution and than after testing promote it to production.
In this video, you will learn:
0:00 Amazon CloudFront continuouse deployment intro
0:29 What are CloudFront staging distributions
2:09 The need for CloudFront staging deployments
2:58 What is separated for CloudFront staging vs production distribution
4:03 Demo in AWS Console intro
6:06 Creating CloudFront staging distribution
8:40 Specify traffic details (weight vs header based)
12:15 How to use a staging distribution with header based settings
15:53 Deploying Lambda@Edge to a staging distribution
More about AWS Lambda@Edge at www.stormit.cloud/blog/lambda...
More about other AWS services at www.stormit.cloud/blog/ - วิทยาศาสตร์และเทคโนโลยี
This video was explained superbly! I was dealing with the same issue - setting up a staging site. The explanation was thorough and detailed, really appreciate it! My next step in my journey would be a staging environment for dynamic content (e.g Wordpress+Woocommerce)
Hi, It's fantastic to know that the explanation hit the mark for you, and we genuinely appreciate your kind words. If you're interested in learning more about StormIT's content related to AWS, please visit our blog at: www.stormit.cloud/blog/
Thank you very much for the video. very useful.
Hello, thank you for your comment. If you'd like to learn more about AWS services, please visit our blog at: www.stormit.cloud/blog/
problem is, my staging bucket has a /assets and when i load the site with the header it brings me this error: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
Hi,
Thank you for your comment. I'm not sure how to help you with this issue; I would need more information. You can contact our team for a consultation at: www.stormit.cloud/contact/.
Is there any better way to set cookies except the extension way? I am trying to access the staging environment via a link, it seems I have to use javascript to achive this :(
Hi, I don't exactly understand what you are trying to achieve. In this video, I demonstrate how to use header-based access to the CloudFront staging distribution. There are definitely many ways to set headers. I would need more information about your project. If you are interested, please contact us via this form for a consultation: www.stormit.cloud/contact/