Integration with Amazon S3 using Mule ESB
Integration with Amazon S3 using Mule ESB
1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Amazon S3 is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft Amazon S3 connector. - The Amazon S3 Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Amazon S3 API, users can interface Amazon S3 to store objects, download and use data with other AWS services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.
2. Prerequisites • Amazon Account • Amazon Access and Secret keys • Mule Anypoint Amazon Connector Creating Amazon S3 Bucket - Before you start integrating S3, you need to create an S3 Bucket. Every object in Amazon S3 is stored in a bucket. Follow below steps to create a bucket: • Enter a bucket name in the ‘Bucket Name’ field • In the Region box, select a region • If you want to setup-logging, then click on ‘Set Up Logging’, Else, go to ‘Create‘ to create the bucket
3. Amazon Access and Secret keys You can retrieve your access key and secret key from your Amazon account page:
4. Mule Anypoint Amazon S3 Connector Configuration: This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name. Connection Pool : S3 connector offers automatic connection management via the use of a connection pool. The pool will act a storage mechanism for all the connections that are in-use by the user of this connector. Reconnection Strategies : Reconnection Strategies specify how a connector behaves when its connection fails. You can control how Mule attempts to reconnect by specifying a number of criteria
5. Mule flow • Steps to be followed for integrating 'Amazon S3' with MuleSoft Applications: • Install the Amazon S3 Connector in Anypoint Studio (3.5 and above) http://repository.mulesoft.org/connectors/releases/3.5 • Create a new Anypoint Studio Project and Flow. • Before using the Amazon S3 Connector in the Mule Flows, create a global element for Amazon S3 configuration which can be reused in all other flows across the Mule project - wherever the objects are created & deleted to & from Amazon S3 cloud server.
6. Mule Flow (cont.) • Configure the Amazon S3 connector by providing the following information for the global element – Access Key – Secret Key • Use HTTP outbound endpoint to pass the object location to get the object and upload to the Amazon S3 storage server • Configure the Amazon S3 endpoint by providing the following to create the object under Amazon S3 bucket – link to the ‘global Connector Configuration’ – Operation – Bucket Name – ACL (Access level)
7. Mule Flow (cont.) Mule XML
the blog is good and Interactive it is about Mulesoft Anypoint Studio it is useful for students and Mulesoft Developers for more updates on Mulesoft mulesoft Online training bangalore
ReplyDeleteIt's A Great Pleasure reading your Article, learned a lot of new things, we have to keep on updating it Mulesoft certification training Thanks for posting.
ReplyDeleteIt was really a nice post and I was really impressed by reading this AWS online Course
ReplyDeleteNice Article Keep on sharing
ReplyDeleteMulesoft Online Training
Mulesoft Training in Hyderabad
Really a awesome blog for the freshers. Thanks for posting the information.mulesoft training in bangalore
ReplyDeleteNice and good article. Thanks for sharing your valuable information and time...
ReplyDeleteMulesoft Training in Bangalore
Very nice post. Looking for further post.
ReplyDeletemulesoft training
mulesoft online training
ReplyDeleteThank you for sharing wonderful information with us to get some idea about it.
Mule ESB Training
Learn Mulesoft Online
Mulesoft Training Courses
Mulesoft Online Course
Online Mulesoft Training
Mulesoft Certification
Learn Mulesoft
Mulesoft Online Training
Mule 4 Training
Mulesoft Training
Mule Training
Mule 4 Certification