Re: AWS deployment manifest with HAproxy
Amit Kumar Gupta
Hi Stephen,
toggle quoted message
Show quoted text
You generally never want to alter the manifest templates unless you're making a PR with general improvements to the templates. Customizing your own deployment should be done either within your stub(s), or modifying your spiff-generated manifest with your desired changes before deploying. Try making the following additions to your stub: jobs: - name: ha_proxy_z1 instances: 1 networks: - name: ha_proxy_z1_elastic static_ips: [YOUR_STATIC_IP_HERE] - name: cf1 default: [gateway, dns] networks: - name: ha_proxy_z1_elastic # Add this network to the existing cf1 and cf2 networks, don't remove those type: vip resource_pools: - name: router_z1 cloud_properties: elbs: [] - name: router_z2 cloud_properties: elbs: [] See if that works for you. You will need to make sure that you've configured DNS records so that your system domain and app domains point to YOUR_STATIC_IP for ha_proxy. If you're already using YOUR_STATIC_IP.xip.io as your system and apps domains, then this will work without having to create any DNS records. Best, Amit
On Sun, Aug 2, 2015 at 11:11 PM, Stephen Knight <sknight(a)pivotal.io> wrote:
Hi All, |
|