Please enable JavaScript.
Coggle requires JavaScript to display documents.
Cloud Formation FAQ (resource names (combination of logial and stack…
Cloud Formation FAQ
resource names
combination of logial and stack resource name
no name collisions
you can not name every resource
affects reusability
Installation
bootstraping
scripts
installation while stack creation
packages, files, services on EC2 instances
supported configuration software
Chef
Client Software
Server Software
On EC2 Instances
Puppet
On EC2 instances
Master Software
Client Software
EC2 Resources
Tagging supported
tag value
refer to template parameters
refert to other resource names
refer to resource attribute values
values computed by simple functions
EBS volumes tagged automatically
EC2 instances tagged automatically
Deletion Policies
set in template
save data
before instance deletion
define resources that are
preserved
when stack is deleted
Limits
unlimited
amount of templates
max.
200
Stacks/Account
could be increased by AWS
max.
4096
characters for description fields
Template
Parameter
Output
Resource
Concepts
Template
Format
JSON
YAML
describes resources
to deploy
to run
5 types of
elements
:
data tables
optional
used to lookup static configuration values
e.g. AMI names
resources
:star:
mandatory
:pencil2:
list of resources and their configuration
output
optional
e.g. URL to web application
format version
optional
parameter
optional
input values
at stack creation
e.g. (Ports, db size, etc)
NoEcho
hide while input
hide from logs
Stack
set of AWS resources
single unit when instantiates a template
but admin retain full controll of every element
supported resources
AWS
resources
custom resources
user-data-field
can be accessed programatically
learn from sample templates
Error Handling
"automatic
rollback
on error" by
default
you will be charged for created AWS resources
when error inside stack
Updates
possible
can change resources in stack
billing
no additional charge
pay for AWS resources
Purpose
create a collection of related AWS resources and provision them
WaitCondition
blocked creation until signal
Creating VPC
can create everything that is necessary for yor VPC