Giter Site home page Giter Site logo

amazon-opensearch-service's Introduction

Amazon OpenSearch Service on AWS

Table of contents

What's included

The repo is to supplement the youtube video on Opensearch Service in AWS.

Main Tutorial

  1. Create Domain

    Select Create Domain

    Enter a Domain Name. Select Development and Testing for Deployment Type

    Select t3.small.search Node Type

    Select Public access

    Select create master user and Enter Username/Password

    Select only use fine-grain control

    Select create

    After 10-15mins Your Domain Will Be Ready

  2. Upload Documents

    Upload a signle document using the api

    curl -XPUT -u 'master-user:master-user-password' 'domain-endpoint/movies/_doc/1' -d '{"director": "Burton, Tim", "genre": ["Comedy","Sci-Fi"], "year": 1996, "actor": ["Jack Nicholson","Pierce Brosnan","Sarah Jessica Parker"], "title": "Mars Attacks!"}' -H 'Content-Type: application/json'
    

    Upload multiple documents create a json file and upload

    curl -XPOST -u 'master-user:master-user-password' 'domain-endpoint/_bulk' --data-binary @bulk_movies.json -H 'Content-Type: application/json'
    
  3. Search for Document using API

    search for a document via API

    curl -XGET -u 'master-user:master-user-password' 'domain-endpoint/movies/_search?q=mars&pretty=true'
    
  4. Search for document via UI Search Via UI

    domain-endpoint/_dashboards/
    

    Once on the dashboard click Discover on the left handside

    Click Create index pattern

    Type movies into the text input box and click Next Step

    Click Create Index

    The searchable index pattern will be created and the fields listed

    Click the hamburger menu on the left hand side and click Discovery again. The searchable index will now appear.

  5. Delete a domain

Creators

Johnny Chivers

Useful Links

Enjoy ๐Ÿค˜

amazon-opensearch-service's People

Contributors

johnny-chivers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.