S3 Buckets and Objects hands onΒΆ
We can open up the S3 in AWS Console. Here we can view and create our first bucket.
Next, we have to give the bucket name. The name has to be unique across all the accounts in AWS. Then, you have to choose a region (the console is global, but the buckets are not).
Then there's an option to define the ownership:
We can choose the block public access settings
Also, we can set the versioning, tags, encryption and object locks.
Upon finishing the process, we'll see the bucket.
When we open up it up, we can upload our first object. We click on upload and then add files.
Upon uploading we can also see the Destination and other settings as well.
When we click on upload, it should start uploading and display it's status as succeeded when finished.
It will show up when viewing the bucket as well.
When clicking on it - we can see the details of it.
To open up the object we have 2 option on how to do that. - Click on open when viewing it
- Use the public object URL
This by default give an error because the bucket is not public. The URLs for both look very similar, but the first one is a pre-signed URL.
We can also create folders:
And delete the objects: