Test AWS Lambda function

Now it is time to upload a jpg file to the S3 bucket to test that event is triggered and AWS Lambda function is executed.

On the AWS Explorer choose Amazon S3 node and choose Amazon S3 bucket that you have created.

Create a new folder called images, by clicking the Create Folder button.

Test

Go into the images folder.

Click on the Upload file button, select and upload some test image file (jpg or jpeg).

Test

After a few seconds, you will notice that a new folder got created in the bucket called thumbnails.

Test

Go to this folder and verify that thumbnail file was created (double-click it to open).

Test