Skip to content

Calling cmdlets from AWS.Tools.S3 delay due to connecting to IP address 169.254.169.254 #345

Answered by dscpinheiro
SkippiCZ asked this question in Q&A
Discussion options

You must be logged in to vote

The AWS Tools for PowerShell need a region in order to communicate with S3, if one is not specified (like you mentioned via environment variable, parameter, or in the shared configuration file) we'll reach out to the Instance Metadata Service (IMDS) - it's the 169.254.169.254 address you're seeing.

For the timeouts, are you running this Cmdlet on EC2? If yes, I'd double check whether IMDS is enabled; if not, then you'll need to specify the region in one of the options listed above.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dscpinheiro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants