S3 Continued
- Operations on S3
HTTP Verb | CRUD Operations in S3 |
---|---|
GET | Read |
PUT | Create |
DELETE | Delete |
POST | Create |
S3 Data Consistency Model
- Regions and Zones Refer Here
- S3 is a web store not a filesystem. S3 service is intented to be
write once, read many
- Architecture
Activitiy 1:
- Create an S3 bucket with unique name in mumbai region
- In this bucket create three folders
- Upload two mp3 files into music
- upload two pdf files into docs
- upload two mp4 files into videos
- Share the url of
- one mp3 file
- one pdf
- one mp4
- By default the uploaded objects
- are private and cannot be accessed by any one over internet
- the storage class is standard
- are private and cannot be accessed by any one over internet
- If you want to enable access to every one for s3 object
- While uploading grant public read access
- For already uploaded object
- While uploading grant public read access
- AWS Has a mechanism to make objects available for others (Anyone from internet, AWS Users)
- We can give access for a specific period of time by using presigned url
Exercise
- Setup AWS CLI Refer Here
- Json and YAML Tutorial Refer Here