Commit 405b24cd18454419e73c6f2efa7ad6197901ff33
1 parent
c1705c8e
Exists in
master
and in
18 other branches
Added section on privacy and security [skip ci]
Showing
1 changed file
with
9 additions
and
3 deletions
Show diff stats
README.md
@@ -1053,7 +1053,7 @@ heroku addons:create bonsai | @@ -1053,7 +1053,7 @@ heroku addons:create bonsai | ||
1053 | heroku config:set ELASTICSEARCH_URL=`heroku config:get BONSAI_URL` | 1053 | heroku config:set ELASTICSEARCH_URL=`heroku config:get BONSAI_URL` |
1054 | ``` | 1054 | ``` |
1055 | 1055 | ||
1056 | -For Found: | 1056 | +For Elastic Cloud (previously Found): |
1057 | 1057 | ||
1058 | ```sh | 1058 | ```sh |
1059 | heroku addons:create foundelasticsearch | 1059 | heroku addons:create foundelasticsearch |
@@ -1086,7 +1086,7 @@ Create an initializer `config/initializers/elasticsearch.rb` with: | @@ -1086,7 +1086,7 @@ Create an initializer `config/initializers/elasticsearch.rb` with: | ||
1086 | ENV["ELASTICSEARCH_URL"] = "https://es-domain-1234.us-east-1.es.amazonaws.com" | 1086 | ENV["ELASTICSEARCH_URL"] = "https://es-domain-1234.us-east-1.es.amazonaws.com" |
1087 | ``` | 1087 | ``` |
1088 | 1088 | ||
1089 | -To use signed request, include in your Gemfile: | 1089 | +To use signed requests, include in your Gemfile: |
1090 | 1090 | ||
1091 | ```ruby | 1091 | ```ruby |
1092 | gem 'faraday_middleware-aws-sigv4' | 1092 | gem 'faraday_middleware-aws-sigv4' |
@@ -1113,7 +1113,7 @@ rake searchkick:reindex CLASS=Product | @@ -1113,7 +1113,7 @@ rake searchkick:reindex CLASS=Product | ||
1113 | Create an initializer `config/initializers/elasticsearch.rb` with: | 1113 | Create an initializer `config/initializers/elasticsearch.rb` with: |
1114 | 1114 | ||
1115 | ```ruby | 1115 | ```ruby |
1116 | -ENV["ELASTICSEARCH_URL"] = "http://username:password@api.searchbox.io" | 1116 | +ENV["ELASTICSEARCH_URL"] = "https://username:password@host" |
1117 | ``` | 1117 | ``` |
1118 | 1118 | ||
1119 | Then deploy and reindex: | 1119 | Then deploy and reindex: |
@@ -1122,6 +1122,12 @@ Then deploy and reindex: | @@ -1122,6 +1122,12 @@ Then deploy and reindex: | ||
1122 | rake searchkick:reindex CLASS=Product | 1122 | rake searchkick:reindex CLASS=Product |
1123 | ``` | 1123 | ``` |
1124 | 1124 | ||
1125 | +### Privacy & Security | ||
1126 | + | ||
1127 | +We recommend encrypting data at rest and in transit (even inside your own network). This is especially important if you store personal data of your users. | ||
1128 | + | ||
1129 | +Bonsai, Elastic Cloud, and Amazon Elasticsearch all support encryption at rest and HTTPS. | ||
1130 | + | ||
1125 | ### Automatic Failover | 1131 | ### Automatic Failover |
1126 | 1132 | ||
1127 | Create an initializer `config/initializers/elasticsearch.rb` with multiple hosts: | 1133 | Create an initializer `config/initializers/elasticsearch.rb` with multiple hosts: |