What formatting is required for this template?

AWS CloudFormation is a service that helps you model and set up your Amazon Web Services resources so that you can spend less time managing those resources and more time focusing on your applications that run in AWS. You create a template that describes all the AWS resources that you want (like Amazon EC2 instances or Amazon RDS DB instances), and AWS CloudFormation takes care of provisioning and configuring those resources for you.

What formatting is required for this template?
A .  JSON-formatted document
B .  CSS-formatted document
C .  XML-formatted document
D .  HTML-formatted document

Answer: A

Explanation:

You can write an AWS CloudFormation template (a JSON-formatted document) in a text editor or pick an existing template. The template describes the resources you want and their settings. For example, suppose you want to create an Amazon EC2. Your template can declare an instance Amazon EC2 and describe its properties, as shown in the following example:

{

"AWSTemplateFormatVersion”:

"2010-09-09",

"Description”: "A simple Amazon EC2 instance",

"Resources”: {

"MyEC2Instance”: {

"Type”: "AWS:: EC2::Instance",

"Properties”: {

"ImageId”: "ami-2f726546",

"InstanceType”: "t1.micro"

}

}

}

}

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-whatis-howdoesitwork.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments