Amazon S3 stands for a simple storage service, and it provides a storage facility for the internet. S3 allows to store and retrieve any amount of data from anywhere. There are multiple ways of storing and retrieving data, such as through the Command Line Interface (CLI), through the API/SDK, and through the AWS management console.
S3 stores data in the form of objects inside buckets. The object inside the bucket has a file and its metadata, which has information about the file. To store an object in S3, first we need to create a bucket, then upload the object (file), and after uploading we can set the access permission for that particular object inside the bucket. Apart from access, we can also set the geographical region (out of the available ones) in which the bucket should be placed. Figure 7.4 shows a general flow of task performed in S3:
Let's perform...