Comments (2)
libcluster_ec2
is a discovery strategy, to help with cluster discovery. It calls the EC2 API to find instances with defined characteristics and then attempts to connect. EPMD takes a static list of nodes, and Gossip uses UDP multicast. Gossip should definitely work just fine in EC2, I have less experience with how VPCs handle multicast.
I agree with your assessment that your instance is terminating the compile, and doesn't appear to be related to the library. Assuming your application is not resource intensive, you may try compiling it on a larger instance and then copying the compiled code to your micro instance. This should work fine if you're using the same AMI for each.
I'd recommend starting with two instances and using barebones communication (eg https://elixirschool.com/en/lessons/advanced/otp-distribution/) to confirm your VPC is set up correctly to allow communication between nodes.
I was not aware of the ElixirConf talk mentioned, but I think it is https://www.youtube.com/watch?v=gsnjstLQigQ - thanks for the tip! :-)
from libcluster_ec2.
Thank You Kyleaa. Coincidentally. The author of this talk works in my team haha. I was just playing with it to see if I could connect two ec2 instances by using simple strategies such as EPMD, Gossip, but after testing many times, opening ports etc I couldn't make it work so I am assuming is not that simple.
from libcluster_ec2.
Related Issues (14)
- license file HOT 1
- README hint to ex_aws configuration HOT 3
- Please Upgrade to ex_aws ~> 2.0 HOT 1
- Update deps tesla to 1.0.0 and libcluster to 3.0 HOT 3
- Is it possible to prevent a node to attempt the connection to itself? HOT 1
- Getting non-existant supervisor child error when trying to start cluster HOT 2
- Multiple failures when cluster is coming online HOT 1
- Sweet XML error HOT 1
- Unable to connect HOT 9
- Error starting phoenix app HOT 1
- warnings introduced in elixir 1.16.0 show up in this library
- Possible Issue HOT 1
- Rarely fails to get Instance Metadata HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcluster_ec2.