July 2017
Intermediate to advanced
374 pages
8h
English
CloudFormation is an AWS service, which works in a similar fashion to Terraform. However, in CloudFormation, we don't need the access/secret keys. Instead, we need to create an IAM role, which will have the required access to launch all the resources needed to architect our application.
You can write your CloudFormation configuration using the YAML or JSON format.
Let's begin our infrastructure setup using CloudFormation by building the VPC, where we will create a VPC with, a public and a private subnet.
Let's create a new file, vpc.template, with the VPC and subnet's (public and private) configurations as follows:
"Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" ...