Import-Module AWS.Tools.Common very slow on EC2 (>20 sec, sometimes 1 minute) #409
boernsen-development
started this conversation in
General
Replies: 2 comments
-
|
My suspicion is kind of confirmed. By monitoring the resource monitor for TCP connections while applying the import, I saw a few addresses. When I blocked some of them via Windows' firewall, the import suddenly took less than a second. However, blocking some random IPs I got from a general resource monitor seems like a bad idea as I don't even know whether they actually get contacted by the import. I will open an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On all of our EC2 machines, we notice very slow import times of AWS.Tools.Common. We don't even know the reason and can only speculate as we don't know what's happening behind the scenes.
We don't face this issue with other modules.
Does anybody have ideas how we could solve that?
I suspected some web requests happening with timeouts as the machines have limited web access. Would that be possible? An Invoke-WebRequest on that same EC2 takes a similar amount of time before it times out.
Console output and measurements (all done in a freshly opened console):
Beta Was this translation helpful? Give feedback.
All reactions