[英]How to set MemorySize for AWS EC2 Instance on Cloudformation Template?
From AWS Cloudformation documentation, I have been only seeing one for a Lambda function, but I am not seeing any for EC2 instances.从 AWS Cloudformation 文档中,我只看到一个 Lambda function,但我没有看到任何 EC2 实例。 How to set up your template to make your instance have a specific RAM Size rather than the 512MB which is by default.
如何设置您的模板以使您的实例具有特定的 RAM 大小,而不是默认的 512MB。
You can't set it up.你不能设置它。 Amount of RAM and vCPU is tide to instance type.
RAM 和 vCPU 的数量取决于实例类型。 For example you can check here https://www.ec2instances.info/ which instance type would have enough RAM and vCPUs for your needs.
例如,您可以在此处查看https://www.ec2instances.info/哪种实例类型有足够的 RAM 和 vCPU 来满足您的需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.