[英]My aws ec2 micro instance is running out of memory, how can I scale it up?
I have an aws ec2 micro instance that is used for a fairly memory intensive ruby script. 我有一个aws ec2微型实例,用于内存密集的红宝石脚本。 (~2GB RAM required).
(需要2GB RAM)。
Obviously, I'm finding the free-tier ec2 instance inadequate for running this script. 显然,我发现自由层ec2实例不足以运行此脚本。
I'd like to scale the memory up on this instance without having to start over completely. 我想在此实例上扩大内存,而不必完全重新开始。
How can I add memory to the instance? 如何为实例添加内存?
Thanks 谢谢
Found it. 找到了。 You can't scale up memory alone, you have to completely change instance types.
您不能单独扩展内存,而必须完全更改实例类型。 The whole process takes about 5 minutes.
整个过程大约需要5分钟。
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.