S3 Demo 2

  1. Log in to Management Console and open the S3 Console.
  2. Create a new bucket (show attempting an invalid name).
  3. Upload an object (preferably an image).
  4. Select the object and Open via the Actions menu.
  5. Open object properties and click link to file (show’s permissions error).
  6. Deselect object and expand Permissions.
  7. Add a bucket policy:
  8. Click AWS Policy Generator a. select S3 Bucket Policy b. Effect – Allow Principal - * Actions - GetObject (scroll list to show extent of options) ARN - arn:aws:s3:::/* Click Add Statement. c. Click Generate Policy. Copy policy text. Paste into Policy Editor window and Save.
  9. Select Object, click Link in Properties (shows success).
  10. Expand Details under Properties for object
  11. For Server Side Encryption, select AES-256.
  12. Deselect object - Expand Versioning for bucket Properties.
  13. Enable Versioning.
  14. Delete object.
  15. Click to Show Versions.
  16. Show that image object is still there.
  17. Delete the object tagged “Delete Marker”.
  18. Hide versions (object is now back in the list).
  19. Expand Lifecycle.
  20. Click Add rule.
  21. Leave default selection and click Configure Rule.
  22. Under Action on Current Version: a. Archive to the Glacier Storage Class - 60 b. Expire - 365
  23. Under Action on Previous Versions a. Permanently Delete - 15 b. Review
  24. Click Create and Activate Rule
  25. Select All Buckets.
  26. Select bucket.
  27. Show Cross Region Replication options
  28. Show Analytics options
  29. Show Metrics options
  30. Show Inventory options
  31. Empty the bucket.
  32. Delete the bucket. But be wary of some as designed constraints https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-or-empty-bucket.html

Continue reading articles in my Amazon Web Services series