-
Notifications
You must be signed in to change notification settings - Fork 100
Edda
copperlight edited this page Dec 15, 2014
·
26 revisions
Netflix/Edda is a caching service for AWS API calls that can help mitigate the effects of throttling. Instead of querying AWS APIs for information about your systems, use Edda.
The current Edda docker image is not production ready. This guide will help you get up and running quickly, but take note of the following:
- Ensure the docker host has the correct time. Communication with the AWS API's require the container to be within 15 minutes of actual.
- The docker images currently do not export logs off the container. Logging is set to INFO level, which is fairly verbose.
- The Tomcat configuration has not been tuned for large collections.
- Create an S3 bucket to store the current resource crawl state.
- Copy the
edda.properties
template file toedda.properties.mine
. - Set
edda.s3current.bucket=
to your new S3 bucket name. - For local workstation execution:
** Set
edda.aws.accessKey=
** Setedda.aws.secretKey=
- For AWS execution: ** Launch an instance with an IAM role that grants the equivalent of the PowerUser role.
- If you want to minimize the rights associated with the role used for Edda, follow these guidelines: ** Read/write access is required for DynamoDB and S3. ** Read access is required for the rest of the resources you want to crawl (i.e. describe... calls).
docker run -d \
--name edda \
-p :8080:8080 \
-v `pwd`/edda.properties.mine:/tomcat/webapps/ROOT/WEB-INF/classes/edda.properties \
netflixoss/edda:2.1
Test the Edda service by querying for instances and security groups.
curl -g 'localhost:8080/api/v2/view/instances;_pp'
curl -g 'localhost:8080/api/v2/aws/securityGroups;_pp'
See the Edda REST API documentation for additional use cases.
docker exec -i -t edda bash