AWS Lambda setup function with Digital.ai Deploy


Version 24.3.0
Updated 2024-11-14
Version 24.3.0
Updated 2024-11-14

Easily create an application in Digital.ai Deploy that can be deployed to AWS Lambda, including its respective environment and infrastructure setup.

Steps

  • xlrelease.UserInputTask:Specify Deploy Server Connection: Select the Digital.ai Deploy Server Connection onto which the AWS Lambda application has to be created. You can create a new connection if you have not created one.

  • xlrelease.UserInputTask:Specify Environment Name.: Specify a name for the environment CI that should be created for AWS in Digital.ai Deploy server.

  • deploy.CreateCI:Create Environment: Creates an Environment CI in Digital.ai Deploy Server.

  • xlrelease.UserInputTask:Specify AWS Connection Parameters: Specify the connection details for your AWS account.

  • deploy.CreateCI:Configure AWS Cloud Connection: Creates an AWS Cloud CI in Digital.ai Deploy Server with the credentials specified in the previous task.

  • deploy.UpdateCIPropertyWithSecretValue:Set AWS credentials: Sets the AWS secret value in the Cloud CI created in Digital.ai Deploy server in the previous step.

  • deploy.UpdateCIPropertyWithSecretValue:Set AWS Session Token: Sets the AWS session token (if specified) in the Cloud CI created in Digital.ai Deploy Server in the previous step.

  • deploy.ControlTask:Check AWS Connection: Checks if the specified AWS credentials are valid by running the Check Connection control task on the created AWS Cloud CI in Digital.ai Deploy Server.

  • xlrelease.UserInputTask:Specify Application Name: Specify a name for the application CI that should be created in Digital.ai Deploy server.

  • deploy.CreateCI:Create Application: Creates an application in Digital.ai Deploy server.

  • xlrelease.UserInputTask:Specify Package Name: Specify a name for the application deployment package that should be created in Digital.ai Deploy server.

  • deploy.CreateCI:Create Deployment Package: Creates an Deployment Package in the Digital.ai Deploy Server application created in the previous step.

  • xlrelease.UserInputTask:Specify S3Lambda Parameters: Specify the inputs for the lambda function to be created in the Digital.ai Deploy server.

  • deploy.CreateCI:Create Sample Lambda Deployment from S3: Creates a lambda deployable CI in Digital.ai Deploy Server with the details given in the previous step.

  • xlrelease.UserInputTask:Live deployment configuration parameters: Enter desired name for your application configuration.

  • xlrelease.ScriptTask:Configure Digital.ai Release: Configuring **${liveDeploymentConfigurationName}**

  • xlrelease.ScriptTask:Setup Release Configuration: Creates required configuration items in Release for connection to deployment server.

  • xlrelease.ScriptTask:Configure Digital.ai Deploy: Configuring webhooks on **${deployServer}**

  • xlrelease.Task:Configuration successful: ${autoconfigMessage}

    [View configuration in Deploy](${autoconfigUrl})

Reference Images

  • 01_Specify Run as User

Authored By

Digital.ai

Digital.ai support

We would be happy to help you!