BM: Baca dalam Bahasa Melayu
World A3: The Mall's Roads
S3 buckets and Block Public Access
You will learn: to keep files in S3, and why the master lock stays on.
Checked with AWS 2026-11 on 1 Nov 2026
The problem
Shoppers should see Kedai Kancil’s menu photos. The same storeroom also holds the order list, with phone numbers. Open the whole storeroom to the public?
Pick one answer.
Watch
An S3 bucket: A storeroom for files (objects) in one Region. Its name must be unique. is a storeroom for files. It lives in one Region. Its name must be unique, so pick your own. Watch the official examples.
Watch
Block Public Access: The master lock on S3 storerooms. On by default for new buckets: nothing goes public by mistake. is the storeroom’s master lock. New buckets get it on by default. Tap every lock that is on.
Tap every setting that is on.
0 of 4 found
Try it
Aina may read the menu bucket. Now she asks for a file in the orders bucket. Will AWS allow it?
Read the request and its policies. Will AWS say Allow or Deny?
The request
- Who
- Aina (IAM user)
arn:aws:iam::111122223333:user/aina - Wants to
s3:GetObject- On
arn:aws:s3:::kedai-orders/2026-11-01.csv
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::kedai-menu/*" } ]}Predict
The master lock is on. Someone adds a bucket policy: “everyone may read”. What happens?
Pick one answer.
Check
Good storeroom habits, or risky? Swipe right for good.
Swipe right for good, left for needs work. Or use the buttons.
Keep Block Public Access on for every bucket
You did it!
You can now keep files in S3 with the master lock on.
Go deeper (optional)
Deleting a bucket: aws s3 rb s3://amzn-s3-demo-bucket --force first deletes every file inside. Treat it as final, and check the name twice.
Real rep (optional), on a test account. Make a bucket and upload one file. Check the lock, then empty and delete it.
Bahasa Melayu
Pembeli patut nampak gambar menu Kedai Kancil. Stor yang sama juga simpan senarai pesanan, dengan nombor telefon. Buka seluruh stor kepada awam?
Bucket S3 (stor fail) ialah stor untuk fail. Ia tinggal dalam satu Region. Namanya mesti unik, jadi pilih nama anda sendiri. Tengok contoh rasmi.
Block Public Access ialah kunci utama stor. Bucket baru dapat ia hidup secara lalai. Ketik setiap kunci yang hidup.
Aina boleh baca bucket menu. Kini dia minta satu fail dalam bucket pesanan. Adakah AWS benarkan?
Kunci utama hidup. Seseorang tambah polisi bucket: “semua orang boleh baca”. Apa jadi?
Tabiat stor yang baik, atau berisiko? Leret ke kanan untuk baik.
Kini anda boleh simpan fail dalam S3 dengan kunci utama hidup.
You finished this before. Practice is always welcome!
Official docs: Amazon S3: What is Amazon S3? · Amazon S3: Blocking public access · Amazon S3: Bucket naming rules · AWS CLI: aws s3 mb · AWS CLI: aws s3api get-public-access-block
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?