-
Notifications
You must be signed in to change notification settings - Fork 14
Edda
HOME > BURI ROLE GUIDE > EDDA
Edda is a Netflix OSS tool that collects information on EC2 configuration over time, and allows query of the state of the configuration, comparisons of differences over time, and more.
This role definition is currently very basic, allowing for the monitoring of a single account.
- Configure local/site.yml and build AMI
- Create IAM role
- Create security group
- Launch Exhibitor Cluster
-
Edit local/site.yml in your Buri build tree and ensure the following is set if needed:
edda_region: "us-east-1"
-
Build the AMI for Edda
./resnap.sh <base-pvm-ami-ID> edda
- In the AWS IAM console left-side menu, click "Roles"
- Click "Create New Role"
- Give it a name. ("Edda" is suggested)
- On the "Select Role Type" screen, click "Select" next to "Amazon EC2"
- Click "Custom Policy", then "Select"
- Under "Policy Name", give it the same name as in 3rd point of this section.
- Under "Policy Document", paste in the file policies/edda.sample from the Buri distribution
- Click "Continue" and then "Create Role" to complete creating the IAM role needed by Exihibitor.
- In the AWS EC2 console left-side menu, under "Network & Security", click "Security Groups"
- Click "Create Security Group"
- Give it a name. ("Edda" is suggested), and a description, pick VPC if applicable.
- Add a rule to allow SSH from the source IPs you wish to administrate from
- Add a rule to allow HTTP from the source IPs you wish to administrate from
- Click "Create"
-
Select the Edda AMI to launch, and ensure it has the IAM role and security group for Edda applied. You should only have one instance of this running at any given time. It will take a couple minutes to startup as it does the initial collection of configuration data.
-
Run the following to test, substituting hostname with one of yours. You should see a large amount of information about your instances
curl 'ec2-12-34-56-78.compute-1.amazonaws.com/edda/api/v2/view/instances;_pp;_expand;' | less