
Tiny Technical Tutorials
チャンネル登録者数 8.28万人
1.5万 回視聴 ・ 347いいね ・ 2022/11/21
In a previous video ( • CORS and S3 Simply Explained (The The... ) we saw the theory behind cross-origin resource sharing (CORS) and how it works with Amazon S3 buckets. In this video, we put that theory into action in the AWS Console.
In a hands-on demo, we’ll create two S3 buckets (enabling static website hosting and opening up public access). Then we upload two HTML files to the origin bucket, showing that it works. Next, we split the HTML files across the two buckets (one in the origin bucket and one in the cross-domain bucket) and see that we get a CORS error. “Fetch blocked by CORS policy.” “No Access-Control-Allow-Origin header is present.” Doh!
To fix the error, we enable CORS on the cross-origin bucket, allowing GET method requests from the origin bucket.
The code from the demo can be found here: docs.google.com/document/d/1wQRTmaHypJ1WrxQ2Pju1r5….
🌟🌟If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
AWS Certified Cloud Practitioner: academy.zerotomastery.io/a/aff_n20ghyn4/external?a…
AWS Certified Solutions Architect Associate: academy.zerotomastery.io/a/aff_464yrtnn/external?a…
00:00 – Overviewing the two buckets (origin and cross-origin) and HTML pages we’ll be creating
00:38 – Creating the origin bucket in S3 to host a static website
02:29 – Creating the cross-origin bucket in S3 to host a static website
03:49 – Uploading the HTML files to the origin bucket
05:32 – Moving one HTML page to the cross-origin bucket
07:42 – CORS error! Fetch blocked by CORS policy. No Access-Control-Allow-Origin header is present
09:00 – Fixing the CORS error by enabling CORS on the cross-origin bucket, JSON policy
10:17 – Testing our CORS chang
コメント
関連動画

AWS Certified Cloud Practitioner Exam Practice Questions with Answers Explained | AWS for Beginners
8,123 回視聴 - 2 年前

AWS S3 Full Course | From Beginner to Expert | Deploy Real-Time Projects on AWS - Part 22
45,220 回視聴 - 8 か月前

🚀 Deploy React App with Full CI/CD Pipeline on AWS | GitHub + CodePipeline + S3 (Step-by-Step Guide)
962 回視聴 - 3 週間前

Amazon Athena Explained: Querying S3 Data | Step by Step AWS Tutorial for Beginners
8,070 回視聴 - 3 か月前

Amazon/AWS S3 (Simple Storage Service) Basics | S3 Tutorial, Creating a Bucket | AWS for Beginners
95,741 回視聴 - 3 年前

AWS Identity and Access Management (IAM) Basics | AWS Training For Beginners
119,788 回視聴 - 3 年前

AWS Project: Architect and Build an End-to-End AWS Web Application from Scratch, Step by Step
426,987 回視聴 - 2 年前

Create an Amazon CloudFront Distribution and Website | Step-by-Step AWS CDN Tutorial for Beginners
59,059 回視聴 - 1 年前

Day-26 | AWS Load Balancers | ALB vs NLB vs GWLB | Detailed Comparison | #aws #abhishekveeramalla
76,417 回視聴 - 1 年前

Containers with Amazon Elastic Container Service (ECS), Using the New ECS Experience | AWS Tutorial
49,292 回視聴 - 2 年前

Amazon/AWS EC2 (Elastic Compute Cloud) Basics | Create an EC2 Instance Tutorial |AWS for Beginners
151,683 回視聴 - 3 年前

AWS IAM - Crash Course (Learn IAM in 1 hour!) | AWS Certification Tutorial
60,445 回視聴 - 5 年前
使用したサーバー: watawata37
再生方法の変更
動画のデフォルトの再生方法を設定できます。埋め込みで見れるなら埋め込みで見た方が良いですよ。
現在の再生方法: 通常
コメントを取得中...
関連動画

AWS Certified Cloud Practitioner Exam Practice Questions with Answers Explained | AWS for Beginners
8123 回視聴

🚀 Deploy React App with Full CI/CD Pipeline on AWS | GitHub + CodePipeline + S3 (Step-by-Step Guide)
962 回視聴

Amazon/AWS S3 (Simple Storage Service) Basics | S3 Tutorial, Creating a Bucket | AWS for Beginners
9.5万 回視聴

AWS Project: Architect and Build an End-to-End AWS Web Application from Scratch, Step by Step
42万 回視聴

Create an Amazon CloudFront Distribution and Website | Step-by-Step AWS CDN Tutorial for Beginners
5.9万 回視聴

Day-26 | AWS Load Balancers | ALB vs NLB vs GWLB | Detailed Comparison | #aws #abhishekveeramalla
7.6万 回視聴

Containers with Amazon Elastic Container Service (ECS), Using the New ECS Experience | AWS Tutorial
4.9万 回視聴
コメントを取得中...