In this section, we are going to do Amazon S3 SDK examples with using a SDK JavaScript Version three
library.
So Amazon S3 Simple Search Service is a web service that provides highly scalable cloud storage.
Amazon S3 provides easy to use object storage with a simple web service interface to store and retrieve
any amount of data from anywhere on the web.
Let's talk about the topics and use cases that we will do in this section.
You can see the image on the slide here.
You can see the our use cases.
We will create an using Amazon S3 bucket configure Amazon S3 bucket managing Amazon S3 buckets, access
permissions working with Amazon S3 bucket policies and using Amazon S3 bucket as a static web hosting
all these use cases performing with the classic version three.
So that means we are going to create a native Node.js applications using these SDK libraries in order
to perform create update bucket operation on Amazon S3.
And we will manage bucket, object and bucket with object policies and permissions, make a static website
hosting all these use cases performing with the SDK libraries from our local computer.
So in order to perform these operations with Sdhc, ACE three has package that we can see on the reference
documentation.
And as you remember that we have a reference library documentation which is the SDHC documentation.
So we have S3 client object like dynamic DB client object to perform and connect with the S3.
So in the S3 client NPM package, if you scroll down, you can see how we can install this package and
how we can import this package into our application.
And here an example, use it and all these operation is very similar with the dynamic DB client object.
So client object means that in this case it is performing the connection with the S3 and after that
we will use this client object and send the command which we will perform use case to command in this
case, for example, about multipart upload command with passing the parameters.
But mostly we will using create bucket, manage bucket, add object and so on.
This kind of operations that we will do with this SDK library and you can see all commands from the
right hand side, you can see the command section.
If you scroll down, you can see all commands in here.
For example, create bucket command.
We can see the input object, delete bucket command and add object into bucket and so on.
So if you come back to our slide, you can see in here.
Basically we will use list bucket commands, create bucket list object command, put object command,
offload part, command gate object and delete bucket command.
So we will use this command to perform these use cases with creating any Node.js application using the
classic version three libraries.