Check that you have content in your Dynamo DB table. Without this no streaming will occur and as Elasticsearch creates the index(table) the first time something get entered to it, this would result in the index being absent.
If there are content in your Dynamo DB the issue is most likely due to problems with either the integration between Dynamo DB and AWS Lambda or between AWS Lambda and Elasticsearch.
Here are a few things you can do to debug:
- Check your CloudWatch logs/Monitoring for your lambda to see if it
has been invoked
- Was the invocation successful? If not solve the error and try again
- Does the lambda execution role have the appropriate permissions to post things to elasticsearch? (Especially check so that the ARN you specified for the roles are pointing to the correct resources in your aws account)
- Does the lambda execution role have the appropriate permissions to read things from your Dynamo DB stream? (Check the ARN here as well)
- Validate that the ES_ENDPOINT you specified is pointing to the cluster you created earlier in the tutorial
Hope this helps you solve the issue!