tajihiro

tajihiro

Elixir on Amazon Linux2 on AWS

I would like to use AWS. I choose Amazon Linux2 as OS.
I tryed 2 way.

  1. yum install erlang & yum install elixir.
  2. amazon-linux-extras install elixir.

1 is failed by compile error.
2 is succeeded but elixir version is old.

How can I make environment new on AWS EC2?

Most Liked

ityonemo

ityonemo

Two suggestions:

  1. Containerization. Docker is what the kids these days use, I hear.
  2. Don’t build your elixir project on your AWS node. Build at home. Do a release, zip it, then ship the zip to AWS, unpack, and then rock and roll.

Last Post!

tajihiro

tajihiro

I finally gave up to use Amazon Linux2 as a vm instance.
Simply I decided to use Ubuntu Server 18.04 LTS (HVM), SSD Volume Type.
I don’t need use Docker in terms of learning cost.

Everything is fine so far.

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New

We're in Beta

About us Mission Statement