I’m not sure why this is not accessible although I’ve set the security group on this EC2 instance to allow for the port 5821, but upon checking further port 5821 is not listed
It looks like you are trying to access the web console, which as of Stardog 7 has been removed. You should be able to connect to http://mystardog2sdelb-814493145.us-west-1.elb.amazonaws.com:5821 via any of our Stardog clients (CLI, Java, HTTP) or Stardog Studio.
thanks for the info, good to know the access to web console is not available in Stardog 7.
I've been trying that as well http://mystardog2sdelb-814493145.us-west-1.elb.amazonaws.com:5821 but to no avail, and I'm not able to access this either. I tried to access this via the Stardog Studio but this as well is not working. The studio is working fine with my local instance of Stardog 7.
Do you have any further idea what is the reason?
If that command fails, definitely check access via the internal load balancer, as Stephen suggests. Make sure to first ssh to the bastion and then hit the internal load balancer endpoint from there.
The security group allowing port 5821 is separate from the instances themselves (the security group is basically a separate EC2 firewall). If you ssh into the bastion (the ssh endpoint) there won't be any services listening on 5821, as Stardog will only be running on its three nodes.
Another thing to check is the health checks on the load balancer (via AWS console). If those don't report healthy then the service will show as unavailable through the ELB.
Finally, you can ssh to the bastion and then the Stardog nodes to inspect the logs, or you can try using graviton to gather up all of the logs in the environment and then investigate the Stardog logs to make sure they're starting and forming the cluster correctly.