官术网_书友最值得收藏!

Core S3 Concepts

The S3 hierarchy includes the following concepts:

  • Type of data storage: S3 is a key-value store. You provide a unique key, and AWS stores your data as a value. You retrieve the data using the key.
  • Keys: The key is the name assigned to an object that uniquely identifies it inside a bucket. All objects in a bucket have one key associated with them.
  • Objects: Objects are what you store. They are not updatable: if you need to change one byte in the value, you will have to upload the entire object again.

Figure 1.3: Object storage using a unique key and myBucket

  • Bucket: Just like a folder, a bucket is a container where you store objects. Buckets are created at the root level and do not have a filesystem hierarchy. More specifically, you can have multiple buckets, but you cannot have sub-buckets within a bucket. Buckets are the containers for objects, and you can control (create, delete, and list objects in the bucket) access, view access logs, and select the geographical region where Amazon S3 will store the bucket.
  • Region: Region refers to the geographical region, such as us-central or ap-south, where S3 stores a bucket, based on the user's preference. The region can be selected when creating a bucket. The location should be based on where the data will be accessed the most. Overall, specific region selection has the biggest impact if S3 is used to store files for a website that's exclusively accessed in a specific geographic region.

    The object storage in a bucket with different forms is as follows:

Figure 1.4: Object storage

S3 Operations

The S3 API is quite simple, and it includes the following operations for the entity in question:

  • Bucket: Create, delete, and list keys in a bucket
  • Object: Write, read, and delete

Here's an example:

Figure 1.5: Object stored in myBucket

主站蜘蛛池模板: 青铜峡市| 红原县| 怀仁县| 如东县| 达拉特旗| 香港| 蚌埠市| 名山县| 虞城县| 鸡西市| 和政县| 开封县| 墨脱县| 南昌县| 苗栗市| 龙南县| 泗水县| 榆社县| 莱阳市| 商都县| 射洪县| 鄂托克旗| 文山县| 会昌县| 湘阴县| 永川市| 崇礼县| 武宁县| 平顶山市| 玉龙| 柯坪县| 恩施市| 长沙市| 安仁县| 丹巴县| 镇雄县| 芷江| 定襄县| 沙雅县| 海口市| 堆龙德庆县|