FINRAOS / aphelion

Aphelion is a web application that captures and visualizes your AWS services usage limits. It continuously collects data in the background and you can visualize the data in easy-to-see graphs and charts.

Home Page:https://finraos.github.io/aphelion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error trying to load data on Main page deployed with ECS on AWS

webs05 opened this issue · comments

Deployed with a docker container in ECS on AWS. I can get all containers running and the webpage loads up. But I get an error on the main page.

Templating init failed
Cannot read property 'parameters' of null

This is a red error box in the upper right corner. The dropdowns for account and region do not populate and are empty. I have the Environment Variables created. Not sure what else to try.

Hello,

It sounds like you could possibly be having an IAM permissions error. Are you getting the same error running locally through docker-compose?

Thanks for the help. When you say IAM permissions do you think it is related to the permissions required by the app itself? Like what is doc'd here.

Hi,

Yes, sorry for the late reply. Are you also using the 1.2 version of the docker image? This version should have improved error handling that should output the direct error on the red error box you mentioned above.

Do I need to specify the version by putting that in my deployment, IE add 1.2 at the end. If I reference: "image": "finraos/aphelion-service" would this pull down the latest version?

update: added :latest to each container. I am still getting errors. Our company forces roles and policy at AWS so I created 2 roles, a role for the container services and a role for the app and attached the policy permissions for aphelion to this app role.