LCA as AWS Lambda: Deployment

You can use AWS Lambda: Deployment to implement LCA.

To deploy an LCA in the AWS Lambda service, you need to create AWS IAM roles, create an AWS S3 bucket, and create an AWS Lambda function as explained in this section.

  1. Create AWS IAM Roles
    Create a new IAM Role for working with the Lambda Functions. This role must have access to S3, CloudWatch logs, and be able to invoke any other Lambda Functions. The role requires the following permissions:
    • CloudWatchLogsFullAccess
    • AmazonS3FullAccess
    • LambdaFullAccess
    See also: LCA as AWS Lambda: Identity and Access Management
  2. Create an AWS S3 Bucket
    1. Create a new bucket and folder in S3.
    2. Upload all the LCA JARs to the folder and provide the required access to the user account.
  3. Create an AWS Lambda Function
    1. Open the AWS Lambda console from the AWS Management Console.
    2. Click the Create Functions button.

    3. Select Author from Scratch.

    4. In the Name field, type the Lambda Name (for example, NameConcatenate).
    5. In the Runtime field, select Java 8.
    6. In the Role field, select the existing IAM role that was created earlier and click Create Function.
    7. In the Code entry type field of the Lambda function code area, select the Upload a file from Amazon S3 option.
    8. Upload the package. Provide the full S3 path of the JAR (for example,
    9. In the Handler field, type your main java class name. Ensure that you enter a fully qualified handler class (for example, com.reltio.cust.NameConcatenateClass).
    10. In the Environment Variables section, type the environment variable and the value if anything is mentioned in your Lambda code.
    11. In the Advanced Settings section, set the Timeout (the recommended setting is not more than 5 seconds) and Memory (for example, 512 MB).
    12. Save the function.