Integration of IBM ACE with Amazon S3 by using Amazon S3 Request Node
In the latest version, ACE v188.8.131.52 introduced an Amazon S3 Request node. Amazon S3, or Amazon Simple Storage Service, is a service provided by Amazon Web Services (AWS) that provides object storage through a web service interface. It can store any type of object, enabling things like online application storage, backups, disaster recovery, data archives, analytics data lakes, and hybrid cloud storage.
Here we have to use objects as basic storage units organized into buckets. A unique user-defined key identifies each object. These Buckets can be managed by using the console of Amazon S3. Easily manage objects and buckets in the AWS Management Amazon S3 console. The Amazon S3 console provides a browser-based user interface for interacting with AWS services.
In the latest version, ACE v184.108.40.206 introduced an Amazon S3 Request node that helps to perform CRUD operations of Amazon S3. Therefore, we can use the Amazon S3 Request node in a message flow to connect to Amazon S3 and perform actions on objects, including the following:
- Create, update or create (upsert), delete objects, or retrieve object metadata.
- Create or retrieve buckets.
- Update of object ACL.
- Delete or update object tags
Amazon Simple Storage Service Request node operations are synchronous and free, meaning that if the message flow fails and recovers after the Amazon S3 Request node, the data source operation will still be complete. To integrate with Amazon Simple Storage Service we have to follow some configuration steps. They are:
- Create an Amazon S3 account.
- Create an IAM user in IAM (IAM user is an identity with long-term credentials that is used to interact with AWS in an account).
- Generate and copy the security credentials for the IAM user (access key Id & secret access key).
- Create A simple flow and policy to perform Creating objects with data in the bucket.
- Click on Launch connector discovery of amazon s3 request node.
- Connect the Amazon s3 account with security credentials and select the Action, operation, and bucket.
- Close the connector discovery; deploy & test the application.
- Given below is the Response to retrieve the operation of an object data in an amazon s3 account.
The above response represents the creation of an object in the bucket. For this, I hardcoded the bucket name, object name, content type, and content in the compute node. When we fire the API then we get the response as “object information”.