Created
November 22, 2016 18:27
-
-
Save wesmaldonado/7203cce5e333cc12969dd57f7be1e90c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Customer (id, email address, display name) | |
* ShoppingCart (contain Products, discounts) | |
SpotBidMarketItem Products (has price) | |
SpotBidProfile (AWS::SpotFleetConfig) | |
- user_id | |
- display_name | |
- instance_type (c4.large) | |
- instance_count_min | |
- instance_count_max | |
- ami_id | |
- subnet (default) | |
- region (us-west-2) | |
- vpc (default) | |
# active? - iff SpotBidRequests.any?{ active? running? } | |
- Instances.active { id : 1 } | |
- SpotBidRequest ( once started ) | |
-- aws_instances (max active in this collection is instance_count) | |
[ AwsInstance(aws_instance_id) ] | |
[ AwsInstance(aws_instance_id).appendState(Monitored(date, status) ] | |
[ AwsInstance(aws_instance_id) ] | |
[ AwsInstance(aws_instance_id,created_at).appendState(ReplacementFor(aws_id)) ] | |
-- Instances | |
SpotBidRequestStatus | |
ShippingLabel (ShippingAddress) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment