Mastering AWS CloudFormation build resilient and production-ready infrastructure in Amazon Web services with CloudFormation
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 a...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing Ltd
2023.
|
Edición: | Second edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009784621606719 |
Tabla de Contenidos:
- 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
- Technical requirements
- 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
- Summary
- Questions
- Further reading
- 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
- Summary
- Questions
- Further reading
- Chapter 4: Continuous Integration and Deployment
- Technical requirements
- 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
- Summary
- Questions
- Further reading
- Chapter 5: Deploying to Multiple Regions and Accounts Using StackSets
- Technical requirements
- 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
- Summary
- Questions
- Further reading
- Chapter 6: Configuration Management of EC2 Instances Using cfn-init
- Technical requirements
- Introducing cfn-init