Amazon S3 Integration using Mule ESB

9
Amazon S3 Integration using Mule ESB Prepared By: Rupesh Sinha Mule ESB

Transcript of Amazon S3 Integration using Mule ESB

Page 1: Amazon S3 Integration using Mule ESB

Amazon S3 Integration

using Mule ESB

Prepared By: Rupesh Sinha

Mule ESB

Page 2: Amazon S3 Integration using Mule ESB

OverviewWhat is Amazon S3?

Versions and Assumptions

Creating Amazon S3 Bucket

Configuring Amazon S3 Connector

Mule Flow for Amazon S3 integration

Page 3: Amazon S3 Integration using Mule ESB

What is Amazon S3?

Amazon S3 (Simple Storage Service) is an online file

storage web service offered by Amazon Web

Amazon S3 provides storage through web services interfaces

such as REST, SOAP

Amazon Simple Storage Service (Amazon S3), provides

developers and IT teams with secure, durable, highly-scalable

object storage

Amazon S3 is easy to use, with a simple web services interface

to store and retrieve any amount of data from anywhere on the

web

With Amazon S3, you pay only for the storage you actually use.

There is no minimum fee and no setup cost

Page 4: Amazon S3 Integration using Mule ESB

Versions and Assumptions

• In this presentation, I am using − Amazon S3 Connector 2.8.2− Anypoint Studio− Mule ESB Server 3.5.2

• To integrate Amazon S3 with Mule ESB, you will need an

Amazon S3 account

• We will be using OAuth2 authentication to connect to

Amazon S3 using Mule ESB Dropbox Cloud Connector

and hence you will need access key and secret key for

your account

Page 5: Amazon S3 Integration using Mule ESB

Creating Amazon S3 Bucket

Sign into the AWS Management Console and open the Amazon

S3 console at https://console.aws.amazon.com/s3

Click Create Bucket

In the Create a Bucket dialog box, in the Bucket Name box,

enter a bucket name

In the Region box, select a region

Click Create

Page 6: Amazon S3 Integration using Mule ESB

Configuring Amazon S3 Connector

Under the global endpoints in your

Mule flow, click on Create button

Select Amazon S3 connector and click

on OK

Add your Amazon S3 access key and

secret key to the corresponding

placeholders in the global element

properties window

You can configure connection pooling

for your connector if required. If not

explicitly configured the connector

uses a default connection pooling for

the connection

You can also configure a reconnection

strategy which will be used if there

are any connection problems between

your application and Amazon S3

Page 7: Amazon S3 Integration using Mule ESB

Mule Flow for Amazon S3 integration

Create a flow as per following picture

The complete XML configuration of the flow is given in

next slide

Page 8: Amazon S3 Integration using Mule ESB
Page 9: Amazon S3 Integration using Mule ESB