简体   繁体   English

我可以在t2.micro AWS上运行NEO4J吗?

[英]Can I run NEO4J on a t2.micro AWS?

I had NEO4J running on a m3.medium instance, only to realizes that I was being charged for AWS usage. 我让NEO4J在m3.medium实例上运行,只是意识到要向我收取AWS使用费。 No issue here. 这里没问题。 Since I am experimenting at this time, I'd like to run NEO4J on the t2.micro instance. 由于我目前正在实验,因此我想在t2.micro实例上运行NEO4J I followed instructions on AWS to resize to a t2.micro instance and now I cannot access the NEO4J server. 我按照AWS上的说明将其大小调整为t2.micro实例,现在我无法访问NEO4J服务器。 My NEO4J stack is up and running, but I get a 503 service unavailable error . 我的NEO4J堆栈已启动并正在运行,但是出现503 service unavailable error

What am I missing? 我想念什么?

Neo4j should run fine on t2.micro. Neo4j应该在t2.micro上运行良好。 I have it even running on Raspberry PI for demo purposes. 我什至可以在Raspberry PI上运行它以进行演示。 You just need to take care on setting right heap size and pagecache size. 您只需要注意设置正确的堆大小和页面缓存大小即可。 Maybe go with 512M for heap and 200M for pagecache, leaving up ~300 for the system. 也许要用512M的堆空间和200M的页面缓存空间,而系统则需要约300个空间。

If all memory is occupied, sshd cannot allocate memory for new connections. 如果所有内存都被占用,sshd将无法为新连接分配内存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM