ibardarov
03-07-2023Data Storage
How to move self hosted sisense on a single ec2 behind ALB?
Hello,
What are the steps to move Sisense behind an AWS ALB?
In the config I have
k8s_nodes:
- { node: NODENAME, internal_ip: "10.102.20.166", external_ip: "4.5.6.7" }
I didn't restart sisense or re-installed it. Only added from single_config.yaml:application_dns_name
into Admin / Trusted Servers
I thought it would be enough to detach the IP from the ec2 instance, but I start having timeout outs when trying to access the dashboards.
POST | |
scheme | https |
host | hostname.devqa.com |
filename | /api/datasources/Bookings/jaql |
|
|
Address |
1.2.3.4:443 |
Status
504
Gateway TimeoutVersionHTTP/2
Transferred285 B (132 B size)
Referrer Policystrict-origin
I also tried to remove the external IP, but sisense doesn't allow empty external IP
single_config.yaml:
k8s_nodes:
- { node: NODENAME, internal_ip: "10.102.20.166" }
$./sisense.sh single_config.yaml
Preparing System ...
Linux user: ec2-user
Validating Sudo permissions for user ec2-user ...
User ec2-user has sufficient sudo permissions
Detecting Host OS ...
OS: Red Hat Enterprise Linux, Version: 8.3
Validating OS and its version
Can proceed with RKE process ...
Validating that namespace name is all lower case ...
Enter the password for user ec2-user and press [ENTER]:
Using password for Ansible Installation ...
Verifying Python packages exist ...
Wrong syntax was found at : {"node":"NODENAME","internal_ip":"10.102.20.166"}
Please verify the following:
- external_ip: "null" must follow IPv4 structure x.x.x.x or be different from 127.0.0.0 and 0.0.0.0
Why I see timeout on 1.2.3.4:443 instead of 4.5.6.7 ?
But when I re-attached the 4.5.6.7 to the ec2 sisense everything works.