Deployment Targets

Prev Next

Targets align deployment of Darwinium’s edge and perimeter assets with hostnames. This enables multiple cloud vendors (eg. Cloudflare, Cloudfront) or accounts to be used to cover a single journey.

Targets are defined in journeys.yaml in your node’s git repo, or configured in UI by clicking on on the right-hand sidebar of the workflow IDE:

 In journeys.yaml, targets take the following form:

journeys:
  - example.journey.yaml
targets:
  - name: mysite_cloudflare # name of the target. Can be any lowercase alphanumeric value.
    enabled: true # whether the target is enabled
    type: cloudflare # cloudflare or cloudfront
    valid_host_list:
      - mysite_main #a list of hosts (FQDNs or aliases) that this CDN should target when deploying
  - name: mysite_cloudfront
    enabled: true
    type: cloudfront
    valid_host_list:
      - mysite_images