Book Image

Getting Started with Hazelcast, Second Edition

By : Matthew Johns
Book Image

Getting Started with Hazelcast, Second Edition

By: Matthew Johns

Overview of this book

Table of Contents (19 chapters)
Getting Started with Hazelcast Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Getting set up in the cloud


All of our examples so far have relied on the standard default cluster discovery process. This uses an IP multicast approach, allowing each new node to interrogate the local network to discover any pre-existing cluster and request to join it, should it match an expected configuration. One notable feature of public cloud infrastructures is that they tend to share a common network between multiple customers on their virtualized hardware. To avoid any security concerns, distributed networking capabilities such as multicast tend to be blocked; as such, we need another mechanism of cluster discovery.

The following are two other ways of configuring our cluster:

  • Manual seeded unicast configuration

  • Discovery supported by Amazon AWS management APIs

Note

We can only use one cluster discovery process for each node, and we should use the same method on all nodes of the same cluster.

Under manual control

In a very similar manner to the way we previously used a client to connect to...