1 option
Mastering AWS CloudFormation : build resilient and production-ready infrastructure in Amazon Web services with CloudFormation / Karen Tovmasyan.
- Format:
- Book
- Author/Creator:
- Tovmasyan, Karen, author.
- Language:
- English
- Subjects (All):
- Cloud computing.
- Web services.
- Physical Description:
- 1 online resource (310 pages) : illustrations
- Edition:
- Second edition.
- Place of Publication:
- Birmingham, UK : Packt Publishing Ltd., 2023.
- Summary:
- The advent of DevOps and the cloud revolution has compelled software engineers and operations teams to rethink how to manage complex infrastructures and build resilient solutions. With this AWS book, you’ll find out how you can use Infrastructure as Code (IaC) to simplify infrastructure operations and manage the modern cloud with AWS CloudFormation. This guide covers AWS CloudFormation comprehensively, from template structures to developing complex and reusable infrastructure stacks. It takes you through template validation, stack deployment, and handling deployment failures. It also demonstrates the use of AWS CodeBuild and CodePipeline for automating resource delivery and implementing continuous integration and continuous delivery (CI/CD) practices. As you advance, you’ll learn how to modularize and unify your template on the fly using macros or by fixating the version using modules. You’ll create resources outside of AWS with custom resources and catalog them with the CloudFormation registry. Finally, you’ll improve the way you manage the modern cloud environment on AWS by extending CloudFormation through the AWS serverless application model (SAM) and the AWS cloud development kit (CDK). By the end of this book, you’ll have mastered key AWS CloudFormation concepts and will be able to extend its capabilities for developing and deploying your own infrastructure.
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- Table of Contents
- Preface
- Part 1: CloudFormation Internals
- Chapter 1: Working with CloudFormation
- Technical requirements
- Understanding the internals of AWS CloudFormation
- Creating and updating a CloudFormation stack
- Managing CloudFormation IAM permissions
- Drift detection
- Summary
- Questions
- Further reading
- Chapter 2: Advanced Template Development
- Going through the internals of the template
- AWSTemplateFormatVersion
- Description
- Metadata
- Parameters
- Mappings
- Conditions
- Transform
- Resources
- Outputs
- Creating reusable templates
- Using conditional elements
- Deletion policies
- Referring to existing stacks
- AWS pseudo parameters
- AWS::AccountId
- AWS::NoValue
- AWS::Region
- AWS::StackId and AWS::StackName
- AWS::URLSuffix
- AWS::Partition
- Dynamic references with Parameter Store and Secrets Manager
- Using CloudFormation language extensions
- Part 2: Provisioning and Deployment at Scale
- Chapter 3: Validation, Linting, and Deploying the Stack
- Technical requirements
- Validating the template
- Using a linter for best practices on templates
- Evaluating templates with cfn-lint
- Using a policy-based linter
- Choosing the right linter
- Provisioning our stack
- Deploying stacks using change sets
- Handling errors
- Working with drifts
- Chapter 4: Continuous Integration and Deployment
- Including a template in your application
- Running smoke tests on your stack
- Smoke testing for EC2 auto scaling groups
- Smoke-testing VPC resources
- Best practices for the release management of CloudFormation stacks
- Always use version control systems
- Ensure that your dependencies can be easily retrieved
- Keep your code base clean
- Choose a proper branching model
- Always perform a code review
- Have full test coverage
- Don't forget to use a CloudFormation IAM role
- Always perform smoke testing
- Use the correct CI/CD instruments
- Keep up the good work
- Creating a CI/CD pipeline with CloudFormation and CodePipeline
- Scenario
- core stack
- Further reading
- Chapter 5: Deploying to Multiple Regions and Accounts Using StackSets
- The legacy way of multi-regional and multi-account infrastructure management
- Introducing StackSets
- Permissions
- Deploying to multiple regions
- Using the AWS console
- Using awscli
- Best practices for StackSets
- Deploying to multiple accounts
- Preventing failures of multiple StackSet deployments using TAGs
- Chapter 6: Configuration Management of EC2 Instances Using cfn-init
- Introducing cfn-init
- Notes:
- OCLC-licensed vendor bibliographic record.
- ISBN:
- 9781805123903
- 1805123904
- OCLC:
- 1409811647
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.