meraj
NervesHub Deployment on AWS
Hello,
Did anyone try to setup NervesHub on AWS (GitHub - nerves-hub/terraform: Terraform files · GitHub)? I am able to deploy it via these terraform scripts from my account with some minor changes but having issues with running the api and device images:
nerveshub/nerves_hub_api:latest - not working and exiting
nerveshub/nerves_hub_device:latest - not working and exiting
nerveshub/nerves_hub_www:latest - working on aws
I tried for the same docker images on local and none is working and when I try to view the logs it show this:
2020/12/14 13:50:55 MissingRegion: could not find region configuration
panic: MissingRegion: could not find region configuration
goroutine 1 [running]:
log.Panic(0xc42012dee0, 0x1, 0x1)
/usr/local/Cellar/go/1.10.3/libexec/src/log/log.go:326 +0xc0
main.ExportVariables(0xc420084098, 0xc42001402d, 0x3, 0x0, 0x75f5f8, 0x7, 0x0, 0x0)
/Users/aorfin/go/aws-env/aws-env.go:62 +0x17d
main.main()
/Users/aorfin/go/aws-env/aws-env.go:37 +0x193
fatal error: Unable to locate credentials
2020/12/14 13:51:37 MissingRegion: could not find region configuration
panic: MissingRegion: could not find region configuration
goroutine 1 [running]:
log.Panic(0xc42011dee0, 0x1, 0x1)
/usr/local/Cellar/go/1.10.3/libexec/src/log/log.go:326 +0xc0
main.ExportVariables(0xc42000c0a8, 0xc42001402d, 0x3, 0x0, 0x75f5f8, 0x7, 0x0, 0x0)
/Users/aorfin/go/aws-env/aws-env.go:62 +0x17d
main.main()
/Users/aorfin/go/aws-env/aws-env.go:37 +0x193
fatal error: Unable to locate credentials
Any idea on why it is not working? Thank you.
First Post!
Popular in Questions
Hi all,
I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage.
I’m trying to use Postgres...
New
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
I have a super simple question about elixir - how would I take a file like this
foo
bar
baz
and output a new file that enumerates th...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
The documentation above suggests that while ...
New
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
I would like to know what is the best IDE for elixir development?
New
Hello!
Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
Other popular topics
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
Phoenix 1.4.0 released
Phoenix 1.4 is out! This release ships with exciting new features, most notably
with HTTP2 support, improved deve...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
Hello guys,
I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this:
...
New
Hello everyone,
Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








