I was not able to get the containers to see each other.
So, I am thinking I will write some Terraform to create the VPC, subnets, security groups, instances, etc. If I can get the Ubuntu fan to work, I will write a tutorial about it and post here with the howto tag.
Before I start working on this, are there any details about running an LXD cluster on AWS I should know about? Has anyone seen a tutorial like this anywhere else?
Would you like to create a new Fan overlay network? (yes/no) [default=yes]:
What subnet should be used as the Fan underlay? [default=auto]:
Invalid input: The auto-detected underlay (172.31.0.0/20) isn't a /16 or /24, please specify manually
What subnet should be used as the Fan underlay? [default=auto]: 172.31.0.0/16
I just guessed when I put in 172.31.0.0/16 and then tested to see if it worked.
Now I have three containers on three different nodes.
u1 and u2 can communicate but u3 can’t communicate with u1 or with u2.
I bet it has to do with the CIDR ranges. I will try again later in the week. I am going to tear the cluster down again.
Any idea why I could not use 220.127.116.11/20? That is the CIDR for the subnet that all of the instances are in.