DEV Community

Biagio J Mendolia
Biagio J Mendolia

Posted on

Amazon S3 Buckets and Objects

Amazon S3 is one of the larger sections for the Certified Cloud Practitioner exam, which made me decide to break up the blog posts about it into a few different sections.

S3 stands for Simple Storage Service. It is designed to make web-scale computing easier for developers. According to the Amazon AWS docs, Amazon S3 gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of websites. Some use cases for S3 are:

  • Backup and Storage
  • Disaster recovery
  • Archive
  • Hybrid Cloud Storage
  • Application hosting
  • Media hosting
  • Data lakes and big data analytics
  • Software delivery
  • Static website

S3 Buckets allow people to store objects (files) in “buckets’ (directories). Even though buckets are required to have a globally unique name (across all regions on all accounts), they are still defined at a regional level! The common naming convention for buckets is:

  • No uppercase
  • No underscore
  • 3-63 characters long
  • Not an Ip
  • Must start with lowercase letter or number

In S3, data is stored as objects within buckets. An object is a file and any optional metadata that describes the file. Objects have a key that is of a prefix plus the object name. For example,
s3://my-bucket/my_folder1/another_folder/myfile.txt
The max size of an object is 5 terabytes and if uploading more than 5 GB you must use “multi-part upload”.

This pretty much sums up S3 objects and buckets I hope you learned a little! On my next blog post I will dive into S3 security, version control and access logging. Thanks for stopping by!

Top comments (0)