Architecting AWS with Terraform Design Resilient and Secure Cloud Infrastructures with Terraform on Amazon Web Services /

Accelerate your business growth by employing Terraform for AWS projects with this comprehensive guide packed with practical implementation tips for start-ups, enterprises, and personal projects Key Features Learn Terraform on AWS from 12x AWS certified trainer Improve reusability and governance for...

Full description

Saved in:
Bibliographic Details
Main Author: Kavas, Erol (Author)
Format: Electronic eBook
Language:English
Published: Birmingham : Packt Publishing, Limited, 2023.
Edition:1st edition.
Subjects:
Online Access: Full text (Wentworth users only)
Table of Contents:
  • Cover
  • Title Page
  • Copyright
  • Dedication
  • Contributors
  • Table of Contents
  • Preface
  • Part 1: Introduction to IAC and Terraform in AWS
  • Chapter 1: Understanding Patterns and Antipatterns of IaC and Terraform
  • Introducing IaC
  • Key principles of IaC
  • Patterns and practices of IaC
  • Source control and VCS
  • Modules and versions
  • Documentation
  • Testing
  • Security and compliance
  • How to handle IaC projects
  • IaC principles
  • Version control systems for IaC
  • Some common use cases of IaC
  • Challenges and best practices with IaC
  • How to make decisions about IaC projects
  • The decision about where to store your code
  • Summary
  • Chapter 2: How Not to Use IaC and Terraform
  • Terraform architecture and workflow
  • Architecture
  • Workflow
  • To Compare with the Other IaC Tools
  • Terraform versus CloudFormation
  • What is AWS CloudFormation?
  • Comparison and differences between Terraform and CloudFormation
  • Terraform or CloudFormation
  • which should I choose?
  • Summary
  • Chapter 3: Building Your First Terraform Project
  • How to install Terraform
  • Manual installation
  • Popular package managers
  • Verifying the installation
  • How to install/prepare Terraform for AWS
  • Prerequisites
  • AWS CLI installation
  • Creating an IAM user and credentials for Terraform
  • Building your first Terraform configuration
  • Building your first Terraform template
  • Provisioning and testing your template
  • Summary
  • Chapter 4: Discovering Best Practices for Terraform IaC Projects
  • How to maintain IaC projects with Terraform
  • Follow a standard module structure
  • Adopt a naming convention
  • Use variables carefully
  • Expose outputs
  • Use data sources
  • Leverage tfvars files
  • Separate variables and inputs based on their functionality
  • Limit the use of custom scripts
  • Include helper scripts in a separate directory
  • Put static files in a separate directory
  • Protect stateful resources
  • Use built-in formatting
  • Limit the complexity of expressions
  • Use count for conditional values
  • Use for_each for iterated resources
  • Publish modules to a registry
  • How to execute IaC projects with Terraform
  • How to secure IaC projects with Terraform
  • Implementing Terraform in DevOps or cloud teams
  • Summary
  • Part 2: Become an Expert in Terraform with AWS
  • Chapter 5: Planning and Designing Infrastructure Projects in AWS
  • Terraform infrastructure project planning basics
  • The speed benefits
  • The risk management benefits
  • Security, reusability, and governance
  • Team skill sets
  • The best candidates for automation
  • The types of applications you'll be running
  • The cost of automating too many tasks
  • The critical nature of the code
  • The need for software expertise
  • The impact on agility
  • Integration with existing infrastructure
  • Goals and available resources
  • The long-term plan
  • Quality control and security