Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Enabling CORS on an S3 Bucket in AWS (The Hands-on Demo) | Amazon Web Services Tutorial

technical tutorials

technical training

technology

aws

amazon web services

cors and s3

cors s3 bucket

cors in aws

cross-origin resource sharing

Автор: Tiny Technical Tutorials

Загружено: 21 нояб. 2022 г.

Просмотров: 15 303 просмотра

Описание:

In a previous video (   • CORS and S3 Simply Explained (The Theory) ...  ) 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: https://docs.google.com/document/d/1w....

🌟🌟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: https://academy.zerotomastery.io/a/af...
AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/af...

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 changes

Enabling CORS on an S3 Bucket in AWS (The Hands-on Demo) | Amazon Web Services Tutorial

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

AWS Certified Cloud Practitioner Exam Practice Questions with Answers Explained | AWS for Beginners

AWS Certified Cloud Practitioner Exam Practice Questions with Answers Explained | AWS for Beginners

AWS Identity and Access Management (IAM) Basics | AWS Training For Beginners

AWS Identity and Access Management (IAM) Basics | AWS Training For Beginners

Amazon Athena Explained: Querying S3 Data | Step by Step AWS Tutorial for Beginners

Amazon Athena Explained: Querying S3 Data | Step by Step AWS Tutorial for Beginners

AWS Project: Architect and Build an End-to-End AWS Web Application from Scratch, Step by Step

AWS Project: Architect and Build an End-to-End AWS Web Application from Scratch, Step by Step

Amazon S3 - Static Website Hosting with Custom Domain and TLS

Amazon S3 - Static Website Hosting with Custom Domain and TLS

Create Your First AWS Lambda Function | AWS Tutorial for Beginners

Create Your First AWS Lambda Function | AWS Tutorial for Beginners

Операция «Паутина»: дроны из фур взорвали «ядерные» самолеты | Украина, Россия, аэродромы и мосты

Операция «Паутина»: дроны из фур взорвали «ядерные» самолеты | Украина, Россия, аэродромы и мосты

AWS S3 Full Course | From Beginner to Expert | Deploy Real-Time Projects on AWS - Part 22

AWS S3 Full Course | From Beginner to Expert | Deploy Real-Time Projects on AWS - Part 22

you need to learn Ansible RIGHT NOW!! (Linux Automation)

you need to learn Ansible RIGHT NOW!! (Linux Automation)

Web Server Concepts and Examples

Web Server Concepts and Examples

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]