Comments (12)
The EC2 Metadata Client now available, starting in version 2.19.29
https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/imds/Ec2MetadataClient.html
from aws-sdk-java-v2.
Using this issue to track building a public-facing EC2 Metadata Client.
from aws-sdk-java-v2.
I'm surprised that this has not yet been implemented, especially as someone volunteered to contribute this last year. Why was he ignored?
from aws-sdk-java-v2.
Sorry for the delay in our response. We aim to respond to all comments, feedback and pull requests our customers make and we apologize that we failed to do so in this instance.
We have been working with the EC2 team to figure out the best possible customer experience for exposing this information, and in the meantime we welcome all suggestions and will use them to help us in that decision making process.
We will keep updating this issue as we move towards delivery.
Thank you for your patience!
from aws-sdk-java-v2.
@dagnir Any update on this?
from aws-sdk-java-v2.
any progress? It turned out that we need to change metadata_service_timeout as the connection in our case takes more than 1 second. But it is hardcoded in the SDK
from aws-sdk-java-v2.
@dagnir do you have timeline when this will be available in the SDK?
from aws-sdk-java-v2.
@millems @dagnir is there any new about this issue?
Thanks in advance
from aws-sdk-java-v2.
@dFarras Sorry, not right now. What specific feature do you need (and why do you need it), so we can make sure that's included when this gets done?
from aws-sdk-java-v2.
My use case is that I need to retrieve an instance id but I can not be sure were the instance is deployed in advance or not. Also instance id is only informative info and therefore no user will desire to wait for too long.
After diving a bit in Ec2Metadata I saw no obvious way of injecting an http client or modifying its configuration so when I call its methods they will fail after http standard timeout, which is too long for me.
I have a workaround, but I would desire to be able to modify Ec2Metadata configuration.
from aws-sdk-java-v2.
Feature request from a customer: Once this is implemented, it would be nice to be able to configure which client is used by the instance metadata credentials provider, so that things like the endpoint or timeouts can be configured.
from aws-sdk-java-v2.
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
from aws-sdk-java-v2.
Related Issues (20)
- CloudFrontUtilities clobbers port number if present when signing URLs HOT 3
- S3 timing out on CI (tests using LocalStack) HOT 9
- Metadata will be lost when using s3TransferManager to copy large file HOT 3
- MIgration to Dynamodb V2 Is Really Rough HOT 4
- Auth doesn't work if SSO Session Name contains a space HOT 1
- S3CrtAsyncClientBuilder.build() should return S3CrtAsyncClient HOT 3
- Shared S3Client doesn't shutdown gracefully
- DynamoDbAutoGeneratedTimestampAttribute custom date format and time zone HOT 4
- Provide an example for using ErrorType metrics
- Empty Content-Encoding header with S3 CRT client HOT 4
- S3Client.builder() without credentials provider behaves differently than if set explicitly to DefaultCredentialsProvider.create() HOT 3
- S3 HeadBucket 301 Error HOT 3
- S3 CRT client is almost an order of magnitude slower than the Netty client HOT 5
- Polly: DescribeVoices does not return long-form in supported engines HOT 2
- EC2 Waiter `waitUntilInstanceRunning` Hanging When `DescribeInstancesRequest` Empty HOT 5
- sigv4 for Lattice unsigned-payload not supported for http requests HOT 1
- Failed to Assume Role With Web Identity to China HOT 5
- AWS SDK contains a copy of slf4j which causes problems for the components that have slf4j on the path for imports. HOT 3
- software.amazon.awssdk.core.exception.SdkClientException: Unable to unmarshall response (null). Response Code: 200, Response Text: OK when calling `PutItem` HOT 10
- MediaLive waiter does not wait long enough. No configuration HOT 4
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 aws-sdk-java-v2.