Skip to Content
Hybrid Cloud for Developers
book

Hybrid Cloud for Developers

by Manoj Hirway
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
8h 37m
English
Packt Publishing
Content preview from Hybrid Cloud for Developers

A CloudFormation template

A CloudFormation template is a text file that defines what resources are to be created in the AWS stack and their attributes. This template is written in either the JavaScript Object Notation (JSON) or the YAML format. You can edit them in any text editor and also manage them with your source control system such as git, svn, and so on.

The template must declare an object as a name-value pair along with the set of child objects (if any). Let's look at a simple template that creates an S3 bucket.

The following template declares a single resource of type AWS::S3::Bucket: with the name PACKTPUB-BUCKET.

The JSON format is as follows:

{
    "Resources" : {
        "PACKTPUB-BUCKET" : {
            "Type" : "AWS::S3::Bucket"
        }
    }
}

The YAML ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hybrid Cloud for Architects

Hybrid Cloud for Architects

Alok Shrivastwa
OpenStack: Building a Cloud Environment

OpenStack: Building a Cloud Environment

Alok Shrivastwa, Sunil Sarat, Kevin Jackson, Cody Bunch, Egle Sigler, Tony Campbell

Publisher Resources

ISBN: 9781788830874Supplemental Content