Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AWS Service in AEM | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

19-03-2021

BlogImage.jpg

AWS Service in AEM by AEM Learning Repository

Abstract

For incorporating any third party services/APIs in AEM, we have two direct possible routes - Via Java SDK(as available in Maven Central) and via Javascript SDK. Choice between the two depends on the availability, functional requirement and existing project set up.

With respect to AWS services, we have both SDK available and in this post, I am using AWS JAVA SDK V2.

Note : The intention of this post is to demonstrate the ways to make use of AWS service in AEM projects and not to illustrate about the AWS service itself.

Prerequisites:
AWS IAM user with Programmatic access type and with permissions to desired service set via Groups in IAM
Access Key and Secret key pertaining to the user as created above.
Reference : https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html

Approach:
Include SDK in code base.
Set up the acquired Security credentials(Access key and Secret key)
Code the desired functionality

Include SDK in code base:
We can make use of simple maven project as mentioned in my previous post to build and install OSGI bundle out of desired AWS Java SDK V2 (maven dependency - https://mvnrepository.com/artifact/software.amazon.awssdk)
Decide on the service and use its respective maven dependency to build and install OSGI bundle out of the same.

With this step, AWS service of interest will be available in our instance in the form of OSGI bundle.

Read Full Blog

AWS Service in AEM

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager