# Eureka Health Provider Configuration
You can configure Eureka as a health provider for your account with the following basic configuration in clouddriver:

    eureka:
      provider:
        enabled: true
        accounts:
          - name: my-aws-account
            regions:
              - us-west-2
            readOnlyUrl: "http://10.0.0.1:8080/eureka"

The provider also supports a region placeholder:

    eureka:
      provider:
        enabled: true
        accounts:
          - name: my-aws-account
            regions:
              - us-west-2
              - us-east-1
            readOnlyUrl: "http://myhostname.{{region}}.mycompany.com:8080/eureka"
          - name: my-second-aws-account
            regions:
              - us-west-1
            readOnlyUrl: "http://myhostname.{{region}}.mycompany.com:8080/eureka"

# Eureka Health Provider Configuration
You can configure Eureka as a health provider for your account with the following basic configuration in clouddriver:

    eureka:
      provider:
        enabled: true
        accounts:
          - name: my-aws-account
            regions:
              - us-west-2
            readOnlyUrl: "http://10.0.0.1:8080/eureka"

The provider also supports a region placeholder:

    eureka:
      provider:
        enabled: true
        accounts:
          - name: my-aws-account
            regions:
              - us-west-2
              - us-east-1
            readOnlyUrl: "http://myhostname.{{region}}.mycompany.com:8080/eureka"
          - name: my-second-aws-account
            regions:
              - us-west-1
            readOnlyUrl: "http://myhostname.{{region}}.mycompany.com:8080/eureka"
            
Each account definition in AWS must also define a `discovery` field that denotes the URL for the writeable eureka. 

```
- name: test
      environment: test
      accountType: main
      discovery: "http://mywriteableeureka.{{region}}.mycompany:8080/eureka"
      accountId: 1234567899999
      regions:
        - name: us-east-1
```

Add requirement for discovery field in eureka documentation
Add requirement for discovery field in eureka documentation