- Newest
- Most votes
- Most comments
Thanks for the query! You could use boto hooks to intercept the requests. You also might be able to leverage some parts of Braket's pre-built solutions [1] [2]. We'd love to hear more about your use case and try to help you find the most suitable solution. Please reach out to us on braket-feedback@amazon.com for discussing this further.
There are couple of ways.
IAM Policies: You can create custom IAM policies that limit the number of Braket tasks/jobs a user can create per day, week, or month. These policies can be attached to IAM users or roles to enforce the quotas.
Service Quotas: AWS Service Quotas allow you to request increases to the default service limits for Braket, and you can potentially create custom quotas per user or per account.
https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html
Please go through this for different ways you can solve the problem https://aws.amazon.com/blogs/quantum-computing/managing-the-cost-of-your-experiments-in-amazon-braket/
Thank you,
Could you please provide an example of "custom IAM policies" that limit the number of Braket tasks/jobs?
Best regards.
Relevant content
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thank you.
Using hooks may be a good solution but given that boto3 should be used rather than boto you probably want to use this link instead: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/events.html