Introduction and Aim
The purpose of this lab is understand Amazon Simple Storage Service. Amazon S3 is an internet storage utility designed for scalability. It is the same infrastructure that Amazon use for their own websites.
- Create a Bucket in S3
- Add an Object to Amazon S3
- View an Object in a Bucket
- Delete an Object from a Bucket in Amazon S3
As stated in the Introduction and Aim section, S3 is a highly scalable global network infrastructure. In S3, data is stored as objects in the bucket. An object contains a file and data describing the file. The AWS Management Console contains the ability to store objects within folders, and folders within folders.
Creating a Bucket in Amazon S3
As with every QwikLab lab, the first action required is to ‘verify your region’. For me, the region is Sydney.
I have already created buckets for previous labs, but will do so again for this lab. Creating a bucket does not cause a charge to my account so there is no concern in making another bucket for the purpose of the lab.
An interesting piece of information about bucket creation from QwikLabs is that the region choice will influence latency, costs, and address regulatory requirements. Although I knew of the latency issue, I hadn’t considered cost or address requirements before now.
Adding an object to Amazon s3
Again, adding a file to an S3 bucket is not unfamiliar to me. However, I haven’t explored the use of metadata or control access permissions before.
As I have just discovered, both can be accessed within the properties of a selected uploaded file.
Whilst I’m not needing to adjust any of the current settings for this lab, this knowledge will likely be beneficial in the future.
Upload a folder
The method in which I upload a folder is exactly the same as that to upload a file. In this upload, I have chosen a folder that contains a .txt document.
Once fully uploaded, the folder appears just below the file upload in the Transfers window.
Viewing an object in Amazon S3
As the objects are now uploaded to an internet storage base, the objects can be viewed within a browser or downloaded onto the computer.
QwikLabs makes mention that the default setting for S3 buckets and for objects is private. This can be changed by right-clicking on the object that you want to change.
Moving an object in Amazon S3
Objects can be moved between different buckets. As I already have another bucket: net-702, I can an object from my qwiklab-s3 to that bucket. The method in doing this involves a right-click and ‘copy’ from the qwiklab-s3 bucket, followed by a right-click and ‘paste’ into the net-702 bucket.
The object movement is noted within the Transfers window.
Deleting an object and bucket in Amazon S3
Deleting objects within a bucket is simply a matter of a right-click then ‘delete’. Deleting a bucket however, contains a slightly more rigorous method, as the AWS Management Console requires manual input specifying which bucket is to be deleted.
It is important to delete the uploaded data that I no longer need to use as S3 charges for storage within the buckets.
I have found S3 storage to be a very user-friendly storage environment. If I were to pursue using S3 as a storage facility, I would certainly take a further look into permissions, both for a bucket and for specific files or folders. From a business perspective, this could be an ideal method in managing employee access to confidential information for specific clients.