Commit Graph

68 Commits

Author SHA1 Message Date
tlrx 4bc4ea6fca BlobStore: BlobContainer interface changed in elasticsearch 1.4.0
Adding a S3OutputStream that upload blobs to the S3 Storage service with two modes (single/multipart).
When the length of the chunk is lower than buffer_size (default to 5mb), the chunk is uploaded with a single request.
Otherwise multiple requests are made, each of buffer_size (except the last one which can be lower than buffer_size).
For example, when uploading a blob (say, 1Gb) with chunk_size set for accepting large chunks (chunk_size = 5Gb) and buffer_size set to 100Mb, the blob will be sent into 10 multiple parts, each of ~100Mb. Each part upload may failed independently and will be retried 3 times.

Closes #117
2014-10-16 10:24:13 +02:00
tlrx 57ce2cc083 Create branch es-1.4 for elasticsearch 1.4.0 2014-10-09 16:12:55 +02:00
Jon Dokulil 13f4be5491 [Docs] Include EC2 IAM policy example
Closes #112.
Closes #113.
2014-09-04 06:41:57 +02:00
David Pilato bcc4f6a67a Update to elasticsearch 1.4.0
Closes #114.

(cherry picked from commit 6c83341)
2014-09-04 06:40:27 +02:00
David Pilato aac156cef9 update documentation with release 2.3.0 2014-08-05 13:56:02 +02:00
David Pilato 610d9a70a1 Switch to https communication for Amazon APIs by default
We should use `https` by default instead of `http` for communication between elasticsearch and AWS API.

Note that it can be modified in case of trouble and fallback to the older setting using `cloud.aws.protocol: http`

Closes #109.
2014-08-05 12:28:46 +02:00
bitsofinfo 0474a1bfea Allow https communication per ec2 or s3 service
By default all communication w/ AWS services done by this plugin is sent the clear over `http`, overriding amazons own default of https: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html#getProtocol()

One has to set `cloud.aws.protocol` in `elasticsearch.yml` to force SSL.

    cloud.aws.protocol: https

This is not entirely clear to the average user, and should be added to the documentation on both this project's README.

Closes #101.
2014-08-05 12:21:39 +02:00
David Pilato d9638e6a94 Simplify documentation
Closes #106
2014-08-05 11:35:24 +02:00
David Pilato 776677f7e2 Tests: update to Lucene 4.9.0
Closes #107.

(cherry picked from commit c3c9a44)
2014-07-30 13:41:31 +02:00
Igor Motov 11f4e9c063 Added retry mechanism for S3 connection errors
Closes #95
2014-06-21 16:35:31 +02:00
David Pilato ba185e026b Allow AWS compatible cloud services
Users can use their own endpoints for any ec2/s3 compatible API using: `cloud.aws.ec2.endpoint` or `cloud.aws.s3.endpoint`

Closes #91.
(cherry picked from commit f0fbea5)
2014-06-20 15:32:53 +02:00
Peter Burkholder a0fa97d9c9 Update README about SNAPSHOT vs released versions
Closes #77.
2014-06-19 19:35:59 +02:00
Phil Wills 7af13165bf Elaborate on how to specify AWS credentials
Closes #85.
2014-06-19 19:27:28 +02:00
Igor Motov f470e34143 Cleaning documentation
(cherry picked from commit 67c5e39)
2014-05-28 23:04:57 +02:00
Wilkes Joiner c743f06702 Add Server Side Encryption support for S3 repository
For legal reasons, we need to store our ES backups in S3 using server side encryption.

Closes #78.

(cherry picked from commit b3f9e12)
2014-05-28 22:49:04 +02:00
Igor Motov 6fd4945860 Update to elasticsearch 1.3.0
Closes #89.
(cherry picked from commit d65a970)
2014-05-28 21:42:57 +02:00
Igor Motov d322b10488 Switch to shared thread pool for snapshot operations
Closes #87

(cherry picked from commit 36d4da6)
2014-05-28 21:30:54 +02:00
David Pilato d59756583f S3 Repo documentation
Closes #83.

(cherry picked from commit 67ac149)
2014-05-27 16:44:14 +02:00
Britta Weber 77143f06d9 Add comment about snapshot/restore if bucket does not exist
closes #84
2014-05-13 18:02:30 +02:00
Kurt Hurtado 34e6d73293 Adding example S3 bucket permissions, with js syntax 2014-05-07 10:15:46 -07:00
David Pilato 1d7ca8fa9e create branch es-1.2 2014-04-29 21:16:25 +02:00
David Pilato d9326af8b9 Remove S3 gateway
In elasticsearch core code, we removed Gateways (see https://github.com/elasticsearch/elasticsearch/issues/5422).

We need now to remove S3 gateway from aws plugin.

Closes #75.
2014-04-18 11:15:54 +02:00
Igor Motov 68a8e78b59 [DOCS] Change bucket names to use "-" instead of "_" in examples
While it's possible to create a bucket with "_" in US Standard region, AWS Java SDK cannot work with such buckets. Changing all examples to use "-" instead of "_" in bucket names.

Closes #72
2014-04-15 19:30:30 -04:00
Konrad Beiske 7f271fd37a Add per repository credentials
Changed AwsS3Service to use one client per region and credentials combination.
Made S3Repository specify credentials if such exists in the repository settings.

Updated readme with repository specific credentials settings.

Closes #54.
Closes #55.
Closes #56.
(cherry picked from commit d4ea2dd)
2014-03-26 18:52:48 +01:00
David Pilato 254fb81708 Create branches according to elasticsearch versions
We create branches:

* es-0.90 for elasticsearch 0.90
* es-1.0 for elasticsearch 1.0
* es-1.1 for elasticsearch 1.1
* master for elasticsearch master

We also check that before releasing we don't have a dependency to an elasticsearch SNAPSHOT version.

Add links to each version in documentation
(cherry picked from commit e0f06c6)
2014-03-26 18:35:21 +01:00
David Pilato 68326676da Replace gateway by S3 repository 2014-03-19 20:58:45 +01:00
Kenta Suzuki c117c119eb Add plugin release semi-automatic script
Closes #58.
2014-03-17 12:59:18 +01:00
Kenta Suzuki 4c7e384c96 Support ap-northeast region for EC2 and S3
Closes #52.
2014-03-17 11:50:28 +01:00
David Pilato bbb064468c Support group id in addition to group names
Based on issue #43, we want to support both notations:

* group name first
* group id if it does not work with group name

Closes #49.
2014-03-17 09:53:56 +01:00
David Pilato 8f87ed8620 Fix date for 2.0.0.RC1 2014-02-06 09:08:58 +01:00
Chris Zelenak 0fef547659 Add note regarding groups value
Instances are filtered on group name, not group id
2014-01-27 15:42:56 +01:00
Kendall Gifford 87731b913b Correct version number in README.md
Correct the version number when automatic instance-level security support became available.
2014-01-27 15:17:22 +01:00
Igor Motov a22d8b4cea [DOCS] Add an example of creating S3 repository 2014-01-22 19:08:54 -08:00
David Pilato b0a1f1632f prepare release elasticsearch-cloud-aws-2.0.0.RC1 2014-01-15 18:38:03 +01:00
Igor Motov 05255a230d Initial implementation of S3 snapshot/restore repository 2014-01-15 11:07:05 -05:00
David Pilato 04f15cd56b update headers 2014-01-13 14:30:20 +01:00
David Pilato 7ed6bdf13f prepare release elasticsearch-cloud-aws-1.16.0 2013-11-26 17:46:25 +01:00
Ryan S. Brown 22c2b79a83 add note that the S3 Gateway will be deprecated 2013-10-08 11:12:05 -05:00
David Pilato 16af1f3ea7 prepare release elasticsearch-cloud-aws-1.15.0 2013-09-17 06:41:17 +02:00
Njal Karevoll 7e2ee43fdf Update to elasticsearch 0.90.4
Breaking changes in to EsExecutors was introduced in elasticsearch 0.90.4
Closes #35.
2013-09-17 06:35:21 +02:00
David Pilato e373f2bf84 Move version table to markdown format 2013-08-10 18:39:25 +02:00
David Pilato 980da019ef prepare release elasticsearch-cloud-aws-1.14.0 2013-08-09 19:30:06 +02:00
David Pilato 5695b57092 prepare release elasticsearch-cloud-aws-1.13.0 2013-08-09 09:32:24 +02:00
David Pilato 8b20e57fd7 Update to Elasticsearch 0.90.3
Closes #31.
2013-08-09 09:17:01 +02:00
David Pilato 4515495ff3 prepare release elasticsearch-cloud-aws-1.12.0 2013-05-31 09:47:31 +02:00
David Pilato 09d4c5ba2f Update to Elasticsearch 0.90.1
Works also with Elasticsearch 0.90.0.
Closes #27.
2013-05-31 09:47:31 +02:00
Leslie Wittig Quintanilla 485bb96ae6 Two last modifications for the new region sa-east-1. 2013-05-31 09:47:31 +02:00
Alexander Reelsen 36daeba9f3 Improved documentation for ping_timeout parameter
Closes #26
2013-05-21 13:37:46 +02:00
Shay Banon 4ce0180eb3 move to 1.11 2013-02-26 15:13:42 +01:00
Shay Banon 460b2afd1a move to 0.90 dep 2013-02-26 15:09:06 +01:00