Ethickfox kb page with all notes
Basic Template
{
"AWSTemplateFormatVersion" : "version date",
"Description" : "JSON string",
"Metadata" : {
template metadata
},
"Parameters" : {
set of parameters
},
"Rules" : {
set of rules
},
"Mappings" : {
set of mappings
},
"Conditions" : {
set of conditions
},
"Transform" : {
set of transforms
},
"Resources" : { //mandatory
set of resources
},
"Outputs" : {
set of outputs
}
}


















Output


S3



With the DeletionPolicy attribute you can preserve, and in some cases, backup a resource when its stack is deleted.
A load balancer cannot be attached to multiple subnets in the same Availability Zone




AWS Systems Manager (formerly known as SSM) is an AWS service that you can use to view and control your infrastructure on AWS. Using the Systems Manager console, you can view operational data from multiple AWS services and automate operational tasks across your AWS resources. Systems Manager helps you maintain security and compliance by scanning your managed instances and reporting on (or taking corrective action on) any policy violations it detects.

Run Command and Maintenance Windows are each capabilities of Systems Manager.
Systems Manager is comprised of individual capabilities, which are grouped into five categories:
aws cloudformation delete-stack --stack-name MyStack
aws cloudformation create-stack --stack-name MyStack --template-url https://nk-cloudformation-bucket.s3.eu-north-1.amazonaws.com/s3.json
aws cloudformation list-stacks
aws cloudformation describe-stacks --stack-name MyStack