Any instructions for quickstart on Amazon EC2?

Following the standard local instructions for Ubuntu, I’m unable to connect anything to port 3000 on my instance (yes, the port is open).

I’m using the following setup command :
sudo /opt/tyk-dashboard/install/setup.sh --listenport=3000 --redishost=localhost --redisport=6379 --mongo=mongodb://127.0.0.1/tyk_analytics --tyk_api_hostname=$HOSTNAME --tyk_node_hostname=http://localhost --tyk_node_port=8080 --portal_root=/portal --domain=“XXX.compute-1.amazonaws.com

where HOSTNAME=ip-xxx-31-0-xxx

Any help will be greatly appreciated.

Sorry to answer myself, but it seems there is a gap in the documentation.
All I had to do was start the Mongodb server, and suddenly I see the Tyk dashboard appearing.
There were no logs etc indicating any issue connecting to MongoDB.

None of the instructions here : https://tyk.io/docs/get-started/with-tyk-on-premise/installation/on-ubuntu/dashboard/ mention anything about STARTING MongoDB before proceeding…

:frowning:

On Ubuntu, services like MongoDB used to be installed and started by default, so this is news to us :slight_smile:

There are various flavours of Mongo for Ubuntu - the one your instructions installs does not start anything by default. I think this was changed quite a while ago to reduce the unsecured default installs, and also due to introduction of the dreaded systemd on Ubuntu.

1 Like

We have now added starting the MongoDB service as a pre-requisite before configuring the Dashboard in https://tyk.io/docs/get-started/with-tyk-on-premise/installation/on-ubuntu/dashboard/

1 Like