Vertx 3 and Azure cloud platform tutorial
Vert.x 3.2.1 applications can quickly be deployed on Microsoft Azure. Deployment is independent of your build so it is all about configuration.
About Azure
Azure by design does not support multicast
on the network virtualization level, however all virtual machines defined on the same group are deployed on the same network (by default), so TCP-IP
discovery can be enabled and quickly setup to form a cluster.
This how you would deploy your app:
- create a
fat-jar
with your app - create a
cluster.xml
with tcp-ip discovery - run your app with:
cp folder_of_your_cluster_xml_file -cluster -cluster-host VM_PRIVATE_IP
Screencast
The following screencast
Don’t forget to follow our youtube channel!