Installing Due Diligence Microservices in AWS

This section helps you to install the Due Diligence Microservice in AWS cloud.

NOTE: Ensure AWS CLI and Python 2.7.x is installed prior to the deployment (See CLI Setup).

Procedure:

  1. Download the zip file.
  2. Extract the zip file.
  3. Perform the JWT Authorization setup in the installation scripts to enable the in-house authentication in addition to API key.
  4. In AWS command line, navigate to the installation directory and execute install-aws.sh shell file to set up the AWS environment.
  5. Modify the region information in the install-aws.sh script specific to your installation
    EXAMPLE:
    --region us-west-2
    --event-source-arn arn:aws:kinesis:us-west-2
    --uri arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
  6. Execute install-aws.sh shell file to create the resources.
  7. Log in to AWS portal and verify the following if they have been created properly.
    • Lambda functions

    • API Gateways

    After the successful deployment database, collections and the reference data(master data) are loaded into the dynamo database for Due Diligence microservice.

  8. To obtain the API key for all the endpoints in AWS, navigate to the API Keys section under the Amazon API gateway and select the corresponding API key. Click Show.

    The API key should be a part of the header (x-api-key) in all the requests.

    The Base path of the API gateway URL follows the structure below.

  9. You can retrieve the Rest API Id from Amazon API Gateway as shown below.

    NOTE: Ensure that you replace the location and deployment Id with the appropriate values provided in the script during deployment.

Bookmark Name Actions
Feedback
x