2
votes

I need to export DynamoDB table to s3 bucket. I'm using this article: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html.

in Amazon EMR i found error:

__ Cluster: EmrClusterForBackup_2016-10-05T12:33:02Terminated with errorsNo subnet found in default VPC. At least one subnet is required. __

Maybe someone have faces similar error. I know the error is like self-explaining, but I'm new to AWS, probably might be missing something, and maybe something obvious.

Anyway, would be thankful for all the points.

Ivan.

2

2 Answers

2
votes

are there any actual subnets in that default VPC?

If no: follow these instructions to create / add one: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html#AddaSubnet

If yes: this may be a DynamoDB bug.

2
votes

AWS Support helped in resolving this issue.

I needed to add to data pipeline properties subnetid identifier for the EMR cluster to proceed with exporting.

steps:

  • select your pipeline and click on actions -> edit pipeline
  • select the resource EmrCluster (EmrClusterForBackup) and add optional field Subnet Id.
  • locate subnets for your default VPC and provide it in this field