feat(aws): add support for aws_sagemaker_endpoint_configuration#3567
Open
muhammadahmed-01 wants to merge 34 commits into
Open
feat(aws): add support for aws_sagemaker_endpoint_configuration#3567muhammadahmed-01 wants to merge 34 commits into
muhammadahmed-01 wants to merge 34 commits into
Conversation
working correctly with PC standby and execution and also data transfer costs
This reverts commit af01121.
correct implementation uptill data processed out
Author
|
Hi @aliscott, I've opened this PR to provide a proper implementation for I appreciate your feedback on the previous attempt. I had to step away for a while due to personal reasons, but I’ve now completed a total manual overhaul of the logic to ensure it meets Infracost’s quality standards. A few points on the manual refinement in this version:
I'm back on this now and committed to seeing this through to completion. I'd appreciate a fresh look whenever you have a moment. |
Author
|
Hey @aliscott, did you get a chance to review this PR? |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective:
Add support for AWS SageMaker Endpoint Configuration pricing. Fixes #2733.
Pricing details:
Overview
This PR adds comprehensive cost estimation for
aws_sagemaker_endpoint_configurationresources, covering both serverless and provisioned instance-based inference endpoints.Supported Components
Serverless Inference:
Compute Duration: Charged per second based on memory allocation and inference duration
monthly_inference_duration_secsProvisioned Concurrency - Warm: Charged for maintaining warm container instances
monthly_provisioned_concurrency_usage_secsProvisioned Concurrency - Execution: Charged for actual inference execution on provisioned capacity
monthly_provisioned_concurrency_inference_duration_secsData Transfer (In/Out): Per-GB charges for data processed through endpoints
monthly_data_processed_in_gb,monthly_data_processed_out_gbProvisioned Instances:
Instance Hours: Hourly instance charges for dedicated inference capacity
instance_hrs(defaults to 730 hours/month)General Purpose Storage: Prorated storage for model artifacts and code
storage_days(defaults to 30)(storage_gb × storage_days) / 30Data Transfer (In/Out): Same as serverless variant
Shadow Variants
Shadow variants are billed identically to production variants, enabling cost estimation for A/B testing and gradual traffic migration scenarios.
Multiple Variants
Endpoint configurations with multiple variants accurately reflect combined costs across all variants.
Test Coverage
Usage File Example
Status:
Issues:
None