Foundation + docker public access

From my local machine, I am trying to connect fdb which is hosted in AWS machine as a docker container.

Dockerfile :

FROM ubuntu:18.04
WORKDIR /home/ubuntu/
RUN apt update
RUN apt-get install vim -y
RUN dpkg -i foundationdb-clients_6.1.12-1_amd64.deb foundationdb-server_6.1.12-1_amd64.deb
RUN rm -r /var/lib/foundationdb/data/*

I have exposed port 4500 in docker, from local machine i was able to reach 4500 but unable to reach cluster-controller.

Error as below

Using cluster file `fdb.cluster'.

Unable to communicate with the cluster controller at to get

  Redundancy mode        - unknown
  Storage engine         - unknown
  Coordinators           - unknown

  FoundationDB processes - unknown
  Machines               -
  Machines               - unknown

  Replication health     - unknown
  Moving data            - unknown
  Sum of key-value sizes - unknown
  Disk space used        - unknown

Operating space:
  Unable to retrieve operating space status

  Read rate              - unknown
  Write rate             - unknown
  Transactions started   - unknown
  Transactions committed - unknown
  Conflict rate          - unknown

Backup and DR:
  Running backups        - 0
  Running DRs            - 0

Process performance details:

Coordination servers:  (reachable)

Client time: 09/30/19 16:09:11

But i was able to reach it from host machine. (i,e aws machine)

Any idea on how to fix?

I have referred these links , but still iā€™m stuck


This looks like an issue with AWS private/public IP confusion. There seems to be some relevant discussion here - Setting up remote access to FDB Server hosted on EC2, with AWS Private IP Addresses

1 Like

I have tried this, my current configuration has the same step.

Has anyone achieved FDB Docker Public access before?