简体   繁体   English

我的aws ec2微型实例内存不足,如何扩展它?

[英]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.

相关问题 AWS - 我的单个 EC2 微型实例如何超过 750 小时限制? - AWS - How my single EC2 micro instance can cross 750 hour limit? 如何在AWS EC2实例上扩展Tomcat? - How to scale out Tomcat on AWS EC2 instance? 在Amazon EC2 t2.micro实例上运行的Jar内存不足 - Jar running on Amazon EC2 t2.micro instance runs out of memory AWS-EC2-实例空间不足 - AWS - EC2 - Instance running out of space 如何在夜间自动缩减 AWS EC2 实例(停止并更改为 t2.small)并在早上自动扩展(停止和 go 到 t2.large)? - How can I do AWS EC2 instance auto scale down in night (stop & change to t2.small) and automatic scale up (stop & go to t2.large) in morning? 在本地计算机上运行Shell脚本,并在AWS EC2实例上运行脚本-如何跟踪ongion输出? - running a shell script on my local computer that runs a script on aws ec2 instance - How can I follow the ongion output? 如何配置运行 DPDK 的 EC2 实例以过滤弹性 IP 和另一个 ec2 实例之间的流量? - How can I configure my EC2 instance running DPDK to filter traffic between elastic IP and another ec2 instance? 是否可以在单个EC2 T1.micro实例上在AWS ElasticBeanstalk中安装多个wordpress设置? - Can I insall multiple wordpress setups in AWS ElasticBeanstalk on single EC2 T1.micro instance? 当我将 SSH 插入我的 EC2 实例时,我如何确定它当前正在运行什么服务器? - When I SSH into my EC2 instance, how do I figure out what server it is currently running? 如何在运行 Docker 容器的 AWS EC2 实例上启用 HTTPS - How do I enable HTTPS on my AWS EC2 Instance running a Docker Container
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM