servicecomb-service-center
servicecomb-service-center copied to clipboard
Help wanted - issue in deploying service-center-frontend in AWS
Im running the docker images of servicecomb/service-center
and servicecomb/scfrontend
in my ec2 instance.
And routing the requests to service center front end with AWS Route53 service with DNS entry https://servicecomb-dev-xx.com/. And the service-center UI is not rendered properly as expected. However the same configuration works in my local environment. Only thing different here is AWS DNS is https
enabled URL. What am i doing wrong here?
Please help ASAP!!
Do i need to enable SSL/TLS for service center for AWS deployment?
Steps to reproduce the behavior:
- run docker images with below docker compose config
etcd:
image: 'quay.io/coreos/etcd:latest'
# restart: always
#ports:
# - "2379:2379"
environment:
ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_INITIAL_CLUSTER: default=http://etcd:2380
service-center:
depends_on:
- etcd
image: 'servicecomb/service-center:latest'
# restart: always
container_name: service-center
ports:
- "30100:30100"
environment:
BACKEND_ADDRESS: http://etcd:2379
scfrontend:
depends_on:
- service-center
image: 'servicecomb/scfrontend:latest'
container_name: service-center-UI
# restart: always
ports:
- "30103:30103"
environment:
SC_ADDRESS: http://service-center:30100
zipkin:
image: openzipkin/zipkin
container_name: zipkin
ports:
- "9411:9411"
- Create Route 53 DNS ENtry mapping for the port
30103
- click on the configured DNS entry https://servicecomb-dev-xx.xx.com/
- The requests would fail with the below error
- See error
- The requests are failing with HTTP 404 error
The service-center UI is not rendered.
@little-cui looking forward for some hints to troubleshoot this issue..?