Connecting to Analytics.Gov from CStack GEN
Prerequisite
Ensure that you have an account with Analytics.gov.sg to retrieve your API keys.
Egress requirements
For Egress requirements, whitelist the known API endpoints. Alternatively, you can use a proxy via APEX to the target API endpoints.
- *.analytics.gov.sg
- api-sagemaker.analytics.gov.sg
Configure ServiceEntry to allow connectivity to GEN-resolvable AI Platform endpoints. Refer to the example below.
Sample ServiceEntry manifest
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: sagemaker-analytics-domain
spec:
exportTo:
- .
hosts:
- api-sagemaker.analytics.gov.sg
ports:
- name: http
number: 80
protocol: HTTP
- name: https
number: 443
protocol: HTTPS
resolution: DNS
location: MESH_EXTERNAL