# Elastic search on t2.micro (Amazon WS)

**URL:** <https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237>\
**Category:** Elasticsearch\
**Created:** [February 18, 2015, 1:52pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237 "2015-02-18T13:52:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seung\_Chan\_Lim](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Seung\_Chan\_Lim](https://discuss.elastic.co/u/Seung_Chan_Lim)\
**Post date:** [February 18, 2015, 1:52pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/1 "2015-02-18T13:52:22Z")

</div>

I'm trying to see if I can get elastic search (ES) 1.3.8 working with  
couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)

t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
development on this with not a lot of documents (\<1000).

I just installed ES and followed the CB instructions to install the plugin  
and set the XDCR to get the replication going from CB to ES.

I also configured ES to have 0 replication and 1 shard (hoping this would  
help minimize RAM usage). But I'm still seeing behaviors from ES where it  
locks up the server, making it unresponsive than eventually complaining of  
lack of memory.

Is there something else I can do to get this working on a t2.micro?

I'm a complete newbie to ES, and any help would be great,

thank you

slim

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 18, 2015, 10:18pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/2 "2015-02-18T22:18:25Z")

</div>

Your only real option here is to get a machine with more RAM.  
Try spinning up a VM locally, on your desk/laptop.

On 19 February 2015 at 00:52, Seung Chan Lim [djslim@gmail.com](mailto:djslim@gmail.com) wrote:

> I'm trying to see if I can get Elasticsearch (ES) 1.3.8 working with  
> couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
> 
> t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
> development on this with not a lot of documents (\<1000).
> 
> I just installed ES and followed the CB instructions to install the plugin  
> and set the XDCR to get the replication going from CB to ES.
> 
> I also configured ES to have 0 replication and 1 shard (hoping this would  
> help minimize RAM usage). But I'm still seeing behaviors from ES where it  
> locks up the server, making it unresponsive than eventually complaining of  
> lack of memory.
> 
> Is there something else I can do to get this working on a t2.micro?
> 
> I'm a complete newbie to ES, and any help would be great,
> 
> thank you
> 
> slim
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8OrqYRwMf8UN%3DG6BAsJpvqAqkz0r33fhhXdK2jqmnv1Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8OrqYRwMf8UN%3DG6BAsJpvqAqkz0r33fhhXdK2jqmnv1Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Seung\_Chan\_Lim](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Seung\_Chan\_Lim](https://discuss.elastic.co/u/Seung_Chan_Lim)\
**Post date:** [February 19, 2015, 6:52pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/3 "2015-02-19T18:52:16Z")

</div>

What's the minimum RAM requirement?

slim

On Wednesday, February 18, 2015 at 5:18:58 PM UTC-5, Mark Walkom wrote:

> Your only real option here is to get a machine with more RAM.  
> Try spinning up a VM locally, on your desk/laptop.
> 
> On 19 February 2015 at 00:52, Seung Chan Lim \<[djs...@gmail.com](mailto:djs...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > I'm trying to see if I can get Elasticsearch (ES) 1.3.8 working with  
> > couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
> > 
> > t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
> > development on this with not a lot of documents (\<1000).
> > 
> > I just installed ES and followed the CB instructions to install the  
> > plugin and set the XDCR to get the replication going from CB to ES.
> > 
> > I also configured ES to have 0 replication and 1 shard (hoping this would  
> > help minimize RAM usage). But I'm still seeing behaviors from ES where it  
> > locks up the server, making it unresponsive than eventually complaining of  
> > lack of memory.
> > 
> > Is there something else I can do to get this working on a t2.micro?
> > 
> > I'm a complete newbie to ES, and any help would be great,
> > 
> > thank you
> > 
> > slim
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2015, 9:13pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/4 "2015-02-19T21:13:51Z")

</div>

Depends on your dataset and use.  
I don't go below 2GB heaps when I'm just testing things.

On 20 February 2015 at 05:52, Seung Chan Lim [djslim@gmail.com](mailto:djslim@gmail.com) wrote:

> What's the minimum RAM requirement?
> 
> slim
> 
> On Wednesday, February 18, 2015 at 5:18:58 PM UTC-5, Mark Walkom wrote:
> 
> > Your only real option here is to get a machine with more RAM.  
> > Try spinning up a VM locally, on your desk/laptop.
> > 
> > On 19 February 2015 at 00:52, Seung Chan Lim [djs...@gmail.com](mailto:djs...@gmail.com) wrote:
> > 
> > > I'm trying to see if I can get Elasticsearch (ES) 1.3.8 working with  
> > > couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
> > > 
> > > t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
> > > development on this with not a lot of documents (\<1000).
> > > 
> > > I just installed ES and followed the CB instructions to install the  
> > > plugin and set the XDCR to get the replication going from CB to ES.
> > > 
> > > I also configured ES to have 0 replication and 1 shard (hoping this  
> > > would help minimize RAM usage). But I'm still seeing behaviors from ES  
> > > where it locks up the server, making it unresponsive than eventually  
> > > complaining of lack of memory.
> > > 
> > > Is there something else I can do to get this working on a t2.micro?
> > > 
> > > I'm a complete newbie to ES, and any help would be great,
> > > 
> > > thank you
> > > 
> > > slim
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/40578480-09dd-4571-9108-b2675aa5ce1b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e6259e3d-2240-4a67-8385-17fc00d6dcbb%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_o2vJZxTqofujMacmYbDXF8UkwQ4qBHAQ202GhgcztNg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_o2vJZxTqofujMacmYbDXF8UkwQ4qBHAQ202GhgcztNg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jrgns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jrgns/32/640_2.png) [@jrgns](https://discuss.elastic.co/u/jrgns)\
**Post date:** [February 19, 2015, 10:01pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/5 "2015-02-19T22:01:04Z")

</div>

What's your heap size (JVM setting) set to?

It needs to be at most one half the machine's RAM, so set it to 500MB.

J

On Wednesday, February 18, 2015 at 3:52:22 PM UTC+2, Seung Chan Lim wrote:

> I'm trying to see if I can get Elasticsearch (ES) 1.3.8 working with  
> couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
> 
> t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
> development on this with not a lot of documents (\<1000).
> 
> I just installed ES and followed the CB instructions to install the plugin  
> and set the XDCR to get the replication going from CB to ES.
> 
> I also configured ES to have 0 replication and 1 shard (hoping this would  
> help minimize RAM usage). But I'm still seeing behaviors from ES where it  
> locks up the server, making it unresponsive than eventually complaining of  
> lack of memory.
> 
> Is there something else I can do to get this working on a t2.micro?
> 
> I'm a complete newbie to ES, and any help would be great,
> 
> thank you
> 
> slim

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2015, 10:24pm UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/6 "2015-02-19T22:24:56Z")

</div>

Except if you're running ES along with Couchbase you really want more RAM  
anyway, 1GB for both is difficult.

On 20 February 2015 at 09:01, [jrgns@jadeit.co.za](mailto:jrgns@jadeit.co.za) wrote:

> What's your heap size (JVM setting) set to?
> 
> It needs to be at most one half the machine's RAM, so set it to 500MB.
> 
> J
> 
> On Wednesday, February 18, 2015 at 3:52:22 PM UTC+2, Seung Chan Lim wrote:
> 
> > I'm trying to see if I can get Elasticsearch (ES) 1.3.8 working with  
> > couchbase (CB) 3.0.2 on a t2.micro (Amazon WS)
> > 
> > t2.micro has 1 gig of RAM, which isn't a lot, but I'm only doing test  
> > development on this with not a lot of documents (\<1000).
> > 
> > I just installed ES and followed the CB instructions to install the  
> > plugin and set the XDCR to get the replication going from CB to ES.
> > 
> > I also configured ES to have 0 replication and 1 shard (hoping this would  
> > help minimize RAM usage). But I'm still seeing behaviors from ES where it  
> > locks up the server, making it unresponsive than eventually complaining of  
> > lack of memory.
> > 
> > Is there something else I can do to get this working on a t2.micro?
> > 
> > I'm a complete newbie to ES, and any help would be great,
> > 
> > thank you
> > 
> > slim
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/bc2e94e2-ebe5-4db3-badf-a24d47ba589f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9bex%3Dzjwam%2BqAHuHf2nUfFu%2BRKBa2idWMvewpag56ggw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9bex%3Dzjwam%2BqAHuHf2nUfFu%2BRKBa2idWMvewpag56ggw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:31am UTC](https://discuss.elastic.co/t/elastic-search-on-t2-micro-amazon-ws/22237/7 "2017-07-06T00:31:24Z")

</div>


