madshargreave

madshargreave

Deploy with Edeliver in an autoscaling environment

Hi

Has anyone had any success with deploying dynamic hosts, for example an autoscaling server environment on AWS?

AFAIK Edeliver requires that you specify your deployment hosts upfront

Most Liked

bitwalker

bitwalker

Leader

I’m not sure I agree that those tools can handle concerns like autoscaling, A/B or Blue/Green deployments out of the box. Are they even strictly speaking orchestration tools anyway? My understanding is that they are configuration management tools, where part of your configuration is the state of your deployment environment (what tools are installed, etc.). Orchestration implies constant awareness of the environments current state, and reacting to both that state and external events (shifting load around, spinning up new instances, replacing crashed instances, scaling instances, etc.). That said, containers don’t necessarily help or hurt you with any of the above. Releases don’t solve any of those problems, but they aren’t meant to anyway.

mkunikow

mkunikow

Most likely if you need to deploy service on orchestration platform like Kubernetes you need to pack it with container. Kubernetes automatically deploy services when needed or when service die.
AWS has https://aws.amazon.com/ecs/
Google has https://cloud.google.com/container-engine/
But I don’t have any experience with this.

Clustering Elixir nodes on Kubernetes

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Simplest version is to hit the AWS EC2 API when you deploy and get a list of relevant instances. Use that to populate the hosts list.

AndrewDryga

AndrewDryga

We package our projects in a Docker containers, push them to Docker Hub and then deploy them to Kubernetes cluster. Cluster itself can be scaled via k8s Horizontal Pod Autoscaler combined with AWS AutoScaling Groups.

Also we have some sort of generator for our projects, you can use it to extract configuration samples: Nebo15/renew.

Where Next?

Popular in Questions Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New

We're in Beta

About us Mission Statement