Skip to content

Instance Size

0

I have a standard web+DB application that is creating to be published at AWS Marketplace. I'm preparing the CloudFormation template for it. The question is where should I specify the size of the DB and EC2 instances, so the user will be able to change it. In a Parameter section? Hardcode it? Any best practices?

asked 7 years ago293 views
1 Answer
0
Accepted Answer

Any option that should depends on final user will be set as CloudFormation Parameters.
As example:

"Parameters": {
   "InstancePhp": {
      "Description": "PHP Server instance type",
      "Type": "String",
      "MinLength": "7",
      "MaxLength": "41",
      "ConstraintDescription": "must contain from 7 to 41 characters"
    },
}

and then, reference as

"InstanceType": { "Ref": "InstancePhp" },
answered 7 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Relevant content