Aphid species using a defensive soldier caste offer us the opportunity to study allocation decisions by eusocial groups, without the hindrance of genetic dissimilarity between colony members, which often impair studies involving Hymenopteran or Isopteran systems. When the entire aphid clone is considered the adaptive unit of organization, understanding soldier allocation strategies is tantamount to understanding the outcome of the tradeoff between clonal growth (i.e., asexual reproduction) and clonal defense. Under this framework, we present the results of a dynamic programming effort aimed at determining the optimal ontogeny of defensive allocation strategies by eusocial clonal organisms. We consider the allocation decision for clones with both obligately and facultatively sterile soldiers, under various levels of predation, and favorable and unfavorable ecological conditions. We test predictions of the model with the cusocial aphid, Pemphigus spyrothecae. Our model predicts that defensive investment should be dependent on the time of the season, with clones discounting defense nearer the end of season. Defensive investment should also vary inversely with clonal productivity and be sensitive to the current state (e.g., level of defense) of the clone. Census data collected in Burnaby, British Columbia, Canada, conform to patterns of clonal composition derived from allocation decisions generated in the model. Finally, qualitative predictions about patterns of clonal organization under "good" and "poor" ecological conditions were upheld by comparing clones in preferred and less-preferred galling sites.