1
00:00:00,330 --> 00:00:08,910
In this section, we are going to do Amazon S3 SDK examples with using a SDK JavaScript Version three

2
00:00:08,910 --> 00:00:09,600
library.

3
00:00:10,470 --> 00:00:17,280
So Amazon S3 Simple Search Service is a web service that provides highly scalable cloud storage.

4
00:00:17,670 --> 00:00:24,300
Amazon S3 provides easy to use object storage with a simple web service interface to store and retrieve

5
00:00:24,300 --> 00:00:26,760
any amount of data from anywhere on the web.

6
00:00:27,490 --> 00:00:31,960
Let's talk about the topics and use cases that we will do in this section.

7
00:00:32,110 --> 00:00:34,540
You can see the image on the slide here.

8
00:00:34,540 --> 00:00:36,630
You can see the our use cases.

9
00:00:36,640 --> 00:00:43,690
We will create an using Amazon S3 bucket configure Amazon S3 bucket managing Amazon S3 buckets, access

10
00:00:43,690 --> 00:00:50,680
permissions working with Amazon S3 bucket policies and using Amazon S3 bucket as a static web hosting

11
00:00:50,710 --> 00:00:55,360
all these use cases performing with the classic version three.

12
00:00:55,360 --> 00:01:02,500
So that means we are going to create a native Node.js applications using these SDK libraries in order

13
00:01:02,500 --> 00:01:06,580
to perform create update bucket operation on Amazon S3.

14
00:01:06,640 --> 00:01:13,720
And we will manage bucket, object and bucket with object policies and permissions, make a static website

15
00:01:13,720 --> 00:01:20,680
hosting all these use cases performing with the SDK libraries from our local computer.

16
00:01:21,900 --> 00:01:28,290
So in order to perform these operations with Sdhc, ACE three has package that we can see on the reference

17
00:01:28,290 --> 00:01:29,250
documentation.

18
00:01:29,430 --> 00:01:35,310
And as you remember that we have a reference library documentation which is the SDHC documentation.

19
00:01:35,310 --> 00:01:42,500
So we have S3 client object like dynamic DB client object to perform and connect with the S3.

20
00:01:42,510 --> 00:01:48,630
So in the S3 client NPM package, if you scroll down, you can see how we can install this package and

21
00:01:48,630 --> 00:01:51,630
how we can import this package into our application.

22
00:01:51,630 --> 00:01:57,900
And here an example, use it and all these operation is very similar with the dynamic DB client object.

23
00:01:57,900 --> 00:02:04,560
So client object means that in this case it is performing the connection with the S3 and after that

24
00:02:04,560 --> 00:02:12,270
we will use this client object and send the command which we will perform use case to command in this

25
00:02:12,270 --> 00:02:17,220
case, for example, about multipart upload command with passing the parameters.

26
00:02:17,220 --> 00:02:22,470
But mostly we will using create bucket, manage bucket, add object and so on.

27
00:02:22,470 --> 00:02:30,360
This kind of operations that we will do with this SDK library and you can see all commands from the

28
00:02:30,360 --> 00:02:32,520
right hand side, you can see the command section.

29
00:02:32,520 --> 00:02:35,430
If you scroll down, you can see all commands in here.

30
00:02:35,430 --> 00:02:37,380
For example, create bucket command.

31
00:02:37,380 --> 00:02:42,780
We can see the input object, delete bucket command and add object into bucket and so on.

32
00:02:43,080 --> 00:02:46,950
So if you come back to our slide, you can see in here.

33
00:02:47,820 --> 00:02:54,390
Basically we will use list bucket commands, create bucket list object command, put object command,

34
00:02:54,390 --> 00:02:57,910
offload part, command gate object and delete bucket command.

35
00:02:57,930 --> 00:03:04,170
So we will use this command to perform these use cases with creating any Node.js application using the

36
00:03:04,890 --> 00:03:06,900
classic version three libraries.
