StreamSets on AWS Fargate

asked 2019-03-22 04:33:55 -0500

vat78 gravatar image

updated 2019-03-22 11:55:39 -0500

Hi! We have good working StreamSets service on EC2. And now I am trying to migrate it to fargate. But using fargate I have a problem with getting AWS credentials (see error below). What is the reason of it? Why it works on EC2 and doesn't work on fargate?

Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain
    at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.getCredentialsFromContext(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.runBeforeRequestHandlers(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(
    at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(
    at com.amazonaws.http.AmazonHttpClient.execute(
 ... Truncated ...

As I've checked environment contains correct value of AWS_CONTAINER_CREDENTIALS_RELATIVE_URI, but streamsets can't get AWS credentials anyway..

edit retag flag offensive close merge delete