Skip to content

Instantly share code, notes, and snippets.

@agrajm
Created August 14, 2015 14:27
Show Gist options
  • Save agrajm/40cbf9b151f48ddb33e2 to your computer and use it in GitHub Desktop.
Save agrajm/40cbf9b151f48ddb33e2 to your computer and use it in GitHub Desktop.
AWS EC2 Config for Vertx Cluster
<join>
<multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="false">
<interface>192.168.1.2</interface>
</tcp-ip>
<aws enabled="true">
<access-key>my-access-key</access-key>
<secret-key>my-secret-key</secret-key>
<region>us-west-1</region> <!-- optional, default is us-east-1 -->
<host-header>ec2.amazonaws.com</host-header> <!-- optional, default is ec2.amazonaws.com. If set, region shouldn't be set as it will override this property -->
<security-group-name>hazelcast-sg</security-group-name> <!-- optional -->
<tag-key>type</tag-key> <!-- optional -->
<tag-value>hz-nodes</tag-value> <!-- optional -->
</aws>
</join>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment