-
Book Overview & Buying
-
Table Of Contents
AWS for System Administrators - Second Edition
By :
Throughout the previous chapters, we have seen how Infrastructure as Code (IaC) can be leveraged to build up the infrastructure we want to deploy in our AWS account in a reproducible manner.
Especially when you are operating multiple workloads within your account, you’ll have common patterns that are shared across the workloads. Maybe each workload should have the same general VPC setup, or you want a standardized configuration for your S3 buckets and their integration into the CloudFront CDN. We could copy and paste the IaC code between different workloads; however, this makes it hard to track where pieces of infrastructure came from (are they custom or provided by a component?), and if we want to update a shared configuration, it becomes even more difficult, since for every workload where the code was copied and pasted, we would need to update it manually.
This is where IaC components come into play. Both CDK and Terraform...