Comments (7)
@yevgenypats Thanks a lot for the response and the update. I've added both log_level: debug
and max_retries: 20
and I can now fetch all iam data from all our accounts without any errors! I assume this is due to the max_retries
configuration, thanks again.
from cloudquery.
Typically, AWS will work with you to raise the soft limits on your accounts. That's likely the best way to tackle this issue if you need to query all of the accounts at once on a regular basis. I don't believe anything could be done on the cloudquery side other than doing client side throttling.
from cloudquery.
Thanks @mvaerle and @sethcenterbar I believe raising the AWS soft limit might work indeed.
I can also try and add a configurable option to increase the number of retries done by AWS SDK.
Also, I'll add a logging option so you can rerun it and we can see on which retry you get the error.
As a last resort I guess we will need to implement client side throttling.
from cloudquery.
Thanks for the quick reply!
Asking AWS to raise limits might work, but I'm not even sure which limits I'm hitting and by how much. We're never running into these except when using cloudquery. I'm trying to get some insight through cloudtrail but no luck so far, I'll report back if I can find something.
Once there is logging available I'm happy to test and try again. For now I can use the workaround of commenting out accounts and/or contact AWS to raise our limits.
from cloudquery.
@mvaerle I've added log_level: debug
and max_retries: 20
to your AWS config.yml
as specified here.
This should show us both what limit is being reached and also if changing max_retries
to a higher number helps or not?
Those keywords are available at v0.5.3
from cloudquery.
-
It's good to gather data on your API usage which can be done with cloudtrail and EK
-
If you're using the AWS SDK I would assume it's handling the retry strategy and that may be configurable and worth checking out for short-term relief. In some cases caching can be enabled. If not and you're using it often you might add a caching layer or set up a caching aws proxy. If you're rolling your own retries, then use the AWS blog post on retries to implement a good backoff strategy (exponential + jitter).
-
If 2 finally fails you, hit up AWS and they will raise the limit. Not all limits can be raised.
from cloudquery.
Added max_retries + max_backoff to work with aws sdk v2. Available >0.2.3
PR: cloudquery/cq-provider-aws#10 By default its 5 retries and 30 seconds exponential backoff
from cloudquery.
Related Issues (20)
- bug: Running Sequential Syncs with MySQL results in error
- bug: Build: `CGO_ENABLED` doesn't seem to have an effect in the release process HOT 1
- feat: Document a "rich" docker image is needed to run the SQLite, DuckDB and Snowflake plugins
- Feedback for Official Stripe Plugin. HOT 12
- feat: Support more Reserved Instances tables HOT 2
- bug: Azure Compliance pack - Issue with Model / View in Snowflake HOT 5
- bug: `snyk_sbom` table only syncs data from last organisation HOT 6
- feat: Update CLI docs for addon downloads HOT 2
- feat(github-source): Make issues table incremental based on `updated` field HOT 3
- feat(gcp): Support GCS HMAC Keys HOT 1
- bug: `azure_compute_restore_point_collections` is missing list of restore points
- bug: Oracle: missing defined_tags on oracle_compute_instances resource HOT 7
- feat: Support Azure storage account access keys resource
- Validate Snowflake DSN
- bug: aws_s3_buckets does not specify Server Access log format HOT 3
- bug: Github Plugin not returning repo custom properties HOT 3
- bug: Jira, not showing issue parentage HOT 4
- feat: PostgreSQL destination delete stale requires sequential scan
- bug: Postgres source is not recognizing partitioned tables
- feat: Log failed message on column resolver exception in Plugin SDK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudquery.