Search code examples
amazon-web-serviceselasticsearchaws-elasticsearch

How to get Aws credentials for elastc search?


I am trying to use AWS Elasticsearch services.On localhost, I installed elastic search locally which is working perfectly. But, now I want to use AWS elastic search but for that I need credentials like

        'aws'             => env('AWS_ELASTICSEARCH_ENABLED', false),
        'aws_region'      => env('AWS_REGION', ''),
        'aws_key'         => env('AWS_ACCESS_KEY_ID', ''),
        'aws_secret'      => env('AWS_SECRET_ACCESS_KEY', '')
        'aws_credentials' => $credentials

I don't know from where I can get that information. Please help me to know


Solution

  • Bilal, on creating index in AES, you get an endpoint. Simply use that endpoint in your application and send cURL/ CLI request to your index.

    Note, in your Access Policy of AES, allow your IP to access AES endpoint.

    enter image description here