Storage Classes in Action
- Changing the storage class of the existing object

- Setting the storage class while uploading the object

- If we have some pattern where the objects can be moved from one storage class to other
- first 30 days => Standard
- 31-90 days => Infrequent access
- 91-356 => Glacier
- 356+ => Delete
- The above situation can be handled with life cycle policy

Versioning in S3
- When we upload the same object again with or without different content by default s3 will overrite the existing file
- There might be cases, where you might still want older versions. This can be done by Enabling versions.
- In S3 we Enable and Suspend Versioning

- Now if we suspend versioning, you would still have two versions for s3 file 1.txt
S3 Replication
- S3 replication allows you to copy all the files from your s3 bucket to another bucket automatically,
- Whenever a new file is added is automatically added to the replicated bucket
- AWS Offers two types of replications
- Same-region replication
- Cross-region Replication
- Now lets try to configure replication

- Wait for some time and you should be able to view the objects of source s3 bucket in destination

AWS Edge/Point of Presence Locations
-
Edge locations in AWS help with
- Cloud front distributions
- Direct Connect
-
Note:
- Install AWS CLI Refer Here
- Json and YAML Tutorial Refer Here
