AWS Image Build Issue Workaround (Jan 13, 2025)
Due to an issue with how we specified base images for building AMIs, please apply the following patch if you are attempting to build B&A for AWS and seeing an error similar to No AMI was found matching filters
:
diff --git a/production/packaging/aws/common/ami/image.pkr.hcl b/production/packaging/aws/common/ami/image.pkr.hcl
index 99fe29f..7b3ae14 100644
--- a/production/packaging/aws/common/ami/image.pkr.hcl
+++ b/production/packaging/aws/common/ami/image.pkr.hcl
@@ -90,7 +90,7 @@ source "amazon-ebs" "dataserver" {
ami_regions = var.regions
source_ami_filter {
filters = {
- name = "al2023-ami-2023.6.20241010.0-kernel-6.1-x86_64"
+ name = "al2023-ami-20*-kernel-*-x86_64"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Features
- [Private Aggregation] Make ig index available to populate interest_group_index in PrivateAggrgeteContribution
- [Private Aggregation] Populate id_idx for PrivateAggregateContribution
- Add allow_compressed_auction_config flag to Terraform
- Add bidding.business_logic.debug_url_count metric
- Add bidding.business_logic.debug_urls_size_bytes metric
- Add bidding.business_logic.failed_to_bid_percent metric
- Add compressed auction config field to API
- Add dimension for GenerateBids timed out errors to bidding.errors_count
- Add TCMalloc config for B&A inference
- Allow model eviction grace period
- Control whether scoring signals are required for scoring via flag
- Enable TCMalloc for the TensorFlow sidecar
- Read compressed AuctionConfig in SFE
- remove metric noise for sampled debug request
- Report model eviction via metrics
- With Flag Allow Just Component Signals
Bug Fixes
- Allocate compression output buffer on heap
- Missing inference metric label in AWS dashboard
- Set default value for PRESUBMIT_PERF to 0
- Standardize business logic metrics for generateBids PA and PAS
- Update tag to correctly pass roma_timeout_ms value to Roma
Documentation
- [BYOB] Add guide and sample request for generateBid SDK
AWS enclave PCR0
- auction_service_non_prod
- {"PCR0":"7c278cd99367fb78762030ba895b1a66d82211eef759c25f21f46dc276f333c3ca9813763cef7478e380d0e2673cb181"}
- auction_service_prod
- {"PCR0":"000c370071d694492b418f73a32984b0056aee044d168d5ae9aff0191e24184658d6d77e343eb94d445933f137782c75"}
- bidding_service_non_prod
- {"PCR0":"567d99d726a8fb81d6c7195f8a4a7c2d7947ec7dad9dd20f181959e16adcf09ae410972afe1f83af929ca01b2cc4ab5a"}
- bidding_service_prod
- {"PCR0":"ccaeed27fe8e77a266b7d8edf57ae3220541c6491685763ed57eef44a6938c6dba578442d91151e9e07d8c1246baaba8"}
- buyer_frontend_service_non_prod
- {"PCR0":"a75c909484ca1a90433e9e52178defc8b3d90dec8648d90a78fc3805ccdc6dd38bd55d5264646937882f3a368e60fa7e"}
- buyer_frontend_service_prod
- {"PCR0":"bed9cceeba13967a6ec8a6816b8f4378f46e6d7e7de5bc66b3084bdd9cf80a80e5bca1747865a07d1d1810074001033b"}
- seller_frontend_service_non_prod
- {"PCR0":"ebc6b7450e34f370ed0870d54926dd7156034d0f86f2dc4e048f7fbb6d0aa6c4275d780570880126c1193d4fe08c97e7"}
- seller_frontend_service_prod
- {"PCR0":"d6d723ca6000d1b9994898ab6480035a5cebdbd15ff78b994061bebffcbafcaa2c29c3c8bc89a74d13db8586b88932f5"}
GCP enclave Image Digest
- auction_service_non_prod
- sha256:6939e482fa16e11fe82c8dbfa662fac4431eef63c9ac56d29e0547b412e7f692
- auction_service_prod
- sha256:7535671769357d2ef1cbb503f3fbcd7e221c177569c6e3b8e94d3462bd5a2bc6
- bidding_service_non_prod
- sha256:25feda1243d954403b52e8a83444bd943858166aaff28e7e9019c1f09f786c16
- bidding_service_prod
- sha256:c84820506a4005caadffc7dc9d1fceb847ba4c2dcf146f4b2bfc7ea8479ce388
- buyer_frontend_service_non_prod
- sha256:e72b760e772c7bd78e7784484ec99f6e324cf8b718b5ffbf9c92055e91e15a42
- buyer_frontend_service_prod
- sha256:fb708214c69523155abc6467937bcd6afe8f01e6b009e9974f4e0b2224a45552
- seller_frontend_service_non_prod
- sha256:42e7c8e72d78583b56bce5935fdb3a41abbb70e50d9723543e0c6a395f2c3caf
- seller_frontend_service_prod
- sha256:01b98f411b6e6c9ead00f4ab43edc2a6d09bbe0b919dd4cd98f6e7736bf4ca8f