LXD Cluster in Amazon EC2


(Giuseppe Di Lena) #1

Hello, I am trying to create an LXD cluster in 2 or multiple instances of Amazon EC2;

The Amazon EC2 instances are in the same VPC, and to connect the containers I use VXlan tunnels(I tryied with fan also );

It is working when I try to ping two containers created in the same Instance;
When I try to ping to 2 containers in 2 different instances of EC2 it is not working;
I think the problem is that Amazon is filtering multicast Address;
Have you ever tried to create an lxd cluster in Amazon EC2?
What can be an easy fix?

Bests
Giuseppe


(Free Ekanayaka) #2

@stgraber might be able to help, as his more familiar with fan (which in theory should pretty much work on EC2, as that’s actually its typical use case).


(Stéphane Graber) #3

Unfortunately I don’t have any experience with EC2 having mostly tested the VPC stuff with Google Compute.

I know that the Fan is supposed to work with VPC on EC2 and should normally avoid the whole MAC filtering issue by using unicast VXLAN for the tunnels.


(Giuseppe Di Lena) #4

Ok, I will try again with Fan


(Giuseppe Di Lena) #5

It is working, thank you!