Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering AWS CloudFormation

You're reading from   Mastering AWS CloudFormation Build resilient and production-ready infrastructure in Amazon Web Services with CloudFormation

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781805123903
Length 310 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Karen Tovmasyan Karen Tovmasyan
Author Profile Icon Karen Tovmasyan
Karen Tovmasyan
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: CloudFormation Internals FREE CHAPTER
2. Chapter 1: Working with CloudFormation 3. Chapter 2: Advanced Template Development 4. Part 2: Provisioning and Deployment at Scale
5. Chapter 3: Validation, Linting, and Deploying the Stack 6. Chapter 4: Continuous Integration and Deployment 7. Chapter 5: Deploying to Multiple Regions and Accounts Using StackSets 8. Chapter 6: Configuration Management of EC2 Instances Using cfn-init 9. Part 3: Extending CloudFormation
10. Chapter 7: Creating Resources Outside AWS Using Custom Resources 11. Chapter 8: Creating Your Own Resource Registry for CloudFormation 12. Chapter 9: Scale Your Templates Using Macros, Nested Stacks, and Modules 13. Chapter 10: Generating CloudFormation Templates Using AWS CDK 14. Chapter 11: Deploying Serverless Applications Using AWS SAM 15. Chapter 12: What’s Next? 16. Assessments 17. Index 18. Other Books You May Enjoy

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We also specify the AWS::AccountId pseudo parameter because in the next section, we will deploy the StackSet in multiple regions but in the same account, so we won’t need to expose the AWS account ID in the template.”

A block of code is set as follows:

import boto3def check_if_key_exists():
    client = boto3.client(‹ec2›)
    try:
        resp = client.describe_key_pairs(KeyNames=[«mykey»])
    except Exception:

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

        return False    if len(resp['KeyPairs']) == 0:
        return False
    return True

Any command-line input or output is written as follows:

$ aws cloudformation deploy \

                   --stack-name tag \                    --template-file tag.yaml \                    --capabilities CAPABILITY_IAM

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Once both stack instances are created, we will see that their status is CURRENT in the Stack instances section.”

Tips or important notes

Appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime