0
votes

From AWS Cloudformation documentation, I have been only seeing one for a Lambda function, but I am not seeing any for EC2 instances. How to set up your template to make your instance have a specific RAM Size rather than the 512MB which is by default.

1
You choose the correct InstanceType: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/… . - luk2302
@luk2302 thanks that helped and I went on to check with link Martin provided for the size in need - Uminathi Plaatyi

1 Answers

2
votes

You can't set it up. Amount of RAM and vCPU is tide to instance type. For example you can check here https://www.ec2instances.info/ which instance type would have enough RAM and vCPUs for your needs.