How to Set Up AtScale with NLB + ALB

This document describes setting up AtScale with a Network Load Balancer (NLB) and an Application Load Balancer (ALB) with https termination at the ALB.

Yaml File

The Yaml file should contain the following:


installation_location: "/opt/atscale"

service_account: "atscale"

loadbalancer_dns_name: "atscalenlb-3030fb82b04028a0.elb.us-west-2.amazonaws.com"

tls:

  enabled: false

  certificate: "/opt/atscale/conf/server.cert"

  key: "/opt/atscale/conf/server.key"

  custom_crt:

    path: "/opt/atscale/data/security/crt/"

kerberos:

  enabled: false

  cache:

    enabled: false

    file: "/opt/atscale/conf/krb5cc_a_ct_atscale"

  keytab: "/opt/atscale/conf/atscale.keytab"

  principal: "atscale/ip-172-31-60-208.us-west-2.compute.internal@REALM"

engine:

  memory: "31G"

  test_connection_login_timeout: "600.seconds"

hosts:

  - dnsname: ip-172-31-49-106.us-west-2.compute.internal

    services:

      - coordinator

    override:

      coordinator:

        id: 10

  - dnsname: ip-172-31-60-208.us-west-2.compute.internal

    services:

      - atscale

      - coordinator

    override:

      coordinator:

        id: 20

  - dnsname: ip-172-31-58-125.us-west-2.compute.internal

    services:

      - atscale

      - coordinator

    override:

      coordinator:

        id: 30

external:

  engine:

     load_balancer_url: https://atscalenlb-3030fb82b04028a0.elb.us-west-2.amazonaws.com:10502

  apps:

     load_balancer_url: https://atscalenlb-3030fb82b04028a0.elb.us-west-2.amazonaws.com:10500

  sql:

     load_balancer_url: http://atscalenlb-3030fb82b04028a0.elb.us-west-2.amazonaws.com:11111

  mdx:

     load_balancer_url: https://atscale-alb-2064290781.us-west-2.elb.amazonaws.com:10502

Target Group Setup

 

Create ALB

 

ALB Target Group

Then, create 2nd target group mapped for ALB:

 

Create NLB

 

AtScale UI

 

Was this article helpful?

0 out of 0 found this helpful