guide/blueprints/example_yaml/fabric-with-multiple-locations.yaml (15 lines of code) (raw):

name: fabric-of-app-server-clusters locations: - aws-ec2:us-east-1 - aws-ec2:us-west-1 services: - type: org.apache.brooklyn.entity.group.DynamicFabric brooklyn.config: dynamicfabric.memberspec: $brooklyn:entitySpec: type: org.apache.brooklyn.entity.group.DynamicCluster brooklyn.config: cluster.initial.size: 3 dynamiccluster.memberspec: $brooklyn:entitySpec: type: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server