Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Serverless Architectures

You're reading from   Building Serverless Architectures Unleash the power of AWS Lambdas for your applications

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787129191
Length 242 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Cagatay Gurturk Cagatay Gurturk
Author Profile Icon Cagatay Gurturk
Cagatay Gurturk
Arrow right icon
View More author details
Toc

Uploading test data

We can now directly upload some documents from DynamoDB to the CloudSearch domain, so we can directly try out our new search engine.

CloudSearch provides another wizard for that purpose, which can be accessed from the domain's dashboard:

To launch the wizard, you can click on the Upload Documents button. After that, you'll see a couple of options:

We should select the Item(s) from Amazon DynamoDB option to proceed with DynamoDB and then click on Continue. In the next step, a sample from our table will be read and analyzed against index structure. As all the fields we have in the user table are also indexed in the CloudSearch table, there should not be any problem:

When we finish the wizard, the result will be successful, and CloudSearch will index all the users that we created in our API during the tests.

Let's run a test query to ensure that...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image