Deployment (Single Tenant)

📘

Before You Deploy

To perform the deployment:

  1. The ElasticSearch application logs must be sent to CloudWatch. To enable sending of the logs, run this AWS CLI command as an Administrator against the deployment AWS account and region:
aws logs put-resource-policy --policy-name es2cloudwatch --policy-document '{ "Version": "2012-10-17", "Statement": [{ "Sid": "eslogs", "Effect": "Allow", "Principal": { "Service": "es.amazonaws.com"}, "Action":[ "logs:PutLogEvents"," logs:PutLogEventsBatch","logs:CreateLogStream"],"Resource": "arn:aws:logs:*:*:*:*"}]}'  --region <Region>
  1. If not already present in the destination AWS account, you must create service-linked IAM roles. Use these CLI commands to create the service-linked IAM roles:
  • For the ECS Service, enter:
aws iam create-service-linked-role --aws-service-name ecs.amazonaws.com
  • For the ElasticSearch Service, enter:
aws iam create-service-linked-role --aws-service-name es.amazonaws.com
  1. To install the Data Layer:
    a. From the AWS Service Catalog web interface, select the Data Layer product from the Products list.
    b. Select launch product and the latest version from the list of available products.
    c. Select a name and click Next.
    d. Enter the parameters by consulting the Data Layer Table on the Deployment Parameters page.
    e. Continue to click Next until you reach the Review stage.
    f. Review the parameter values, and if satisfied, click Launch to start the deployment. It may take from two to three hours depending on the parameters and AWS backend load.

  2. You can install the Service Layer after the Data Layer is installed successfully. To install the Service Layer:
    a. From the AWS Service Catalog web interface, select the Service Layer product from the Products list.
    b. Select launch product and the latest version from the list of available products.
    c. Select a name and click Next.
    d. Enter the parameters by consulting the Service Layer table on the Deployment Parameters page.
    e. Continue to click Next until you reach the Review stage.
    f. Review the parameter values, and if satisfied, click Launch.