liveBook · Manning

Declarative configuration

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A blueprint is a declarative infrastructure specification that describes resources and their configuration.

Declarative configuration describes infrastructure as a blueprint: resources and their dependencies. An Infrastructure as Code tool compares that blueprint with the current system, then calculates the changes needed to create, update, or delete resources. section 1.7.4

Use declarative configuration to:

  • Automate complex or numerous environments, such as a network and its virtual machines. section 1.7.4
  • Reuse infrastructure definitions to build environments quickly and support deployment pipelines. section 4.1.1
  • Keep detailed, repeatable documentation that coworkers can use to reproduce infrastructure changes. section 4.1.1
  • Prefer blueprints over custom CLI or SDK code when dependency resolution, version updates, and error handling would otherwise be manual. section 1.7.4

WordPress infrastructure

A CloudFormation blueprint creates the resources for a WordPress installation. After the stack reaches CREATE_COMPLETE, its Outputs tab provides the installation URL. The resulting infrastructure includes load-balanced web servers, a network filesystem, and a MySQL database server. section 2.1

Figure 1.15 Infrastructure automation with blueprints

Follow the infrastructure automation flow from a blueprint to a running AWS system. section 1.7.4

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Defines blueprint reconciliation and its benefits, but stops short of blueprint syntax or Infrastructure as Code implementation details.
Examples
Uses a CloudFormation WordPress stack, network and virtual-machine setup, and reusable AWS blueprints for infrastructure automation.
What it assumes
Assumes basic AWS service awareness while introducing infrastructure automation, blueprints, and their relationship to CLI and SDK approaches.
What you can do after
Build it from scratch by describing AWS resources and dependencies in a reusable blueprint for repeatable infrastructure changes.
How it connects
Connects blueprints with Infrastructure as Code, AWS CLI, SDKs, CloudFormation, deployment pipelines, and automation.

Also explained in

Compare how 6 books explain declarative configuration →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.