CloudFormation

Infrastructure as Code for AWS. Declarative way to manage, create and update resources.

manage, configure & provision Infrastructure as code = Yaml / Json

o  -Format Version (upto 5)

o  -Description

o  -Metadata

o  -Parameters - the dynamic custom inputs for your template

o  -Mappings - create custom mappings like ZRegion:Ami

o  -Conditions - perform resource creation based on environment

o  -Transform -  Include snippets of code outside the main template

o  -Resources (required) - the resources that are being deployed in AWS

o  -Outputs - References to what has been created ( i.e. InstanceID )

 

copies the YAMl to an S3 bucket

CFN

·     CFN Wait

·     cfn-signal  helper script  can tell cloudformation if the resources have been installed successfully

 

RESOURCES

cloudformation_resources.PNG

PARAMETERS

cloudformation_params.PNGcloudformation_params2_ref.PNGcloudformation_params3_pseudo.PNG

 

OUTPUTS

 

cloudformation_outputs.PNGcloudformation_outputs_export2.PNGcloudformation_outputs_imports3.PNG

MAPPINGS

cloudformation_mappings.fnMap3.PNGcloudformation_mappings.PNGcloudformation_mappings.vs_params2.PNG

CONDITIONS

 

cloudformation_conditions.PNGcloudformation_conditions_define2.PNG

 

cloudformation_conditions_use.PNG

intrinsic Functions

cloudformation_intrinsic_functions.PNG

cloudformation_intrinsic_functions.fn2.PNG

cloudformation_intrinsic_functions.fn_get3.PNG

cloudformation_intrinsic_functions.fn_import4.PNG

 

cloudformation_intrinsic_functions.fn_ijoin5.PNG

cloudformation_intrinsic_functions.fn_sub6.PNG