Skip to content

Instantly share code, notes, and snippets.

@gayashanbc
Created November 18, 2019 05:52
Show Gist options
  • Save gayashanbc/dd10d1f8c70ab0d1aca30ffe17a33acd to your computer and use it in GitHub Desktop.
Save gayashanbc/dd10d1f8c70ab0d1aca30ffe17a33acd to your computer and use it in GitHub Desktop.
Hazelcast config for AWS ECS
<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.12.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<network>
<interfaces enabled="true">
<interface>10.0.*.*</interface>
</interfaces>
<join>
<multicast enabled="false"/>
<aws enabled="true">
<region>us-east-1</region>
<tag-key>aws:cloudformation:stack-name</tag-key>
<tag-value>EC2ContainerService-ECS-CLUSTER</tag-value>
</aws>
</join>
</network>
</hazelcast>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment