> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Infrastructure Composer Introduction

> Overview of AWS Infrastructure Composer, a visual drag-and-drop tool that generates deployable CloudFormation YAML or JSON templates for prototyping, learning, and collaboration.

Welcome to this focused lesson on AWS Infrastructure Composer. In this guide you'll learn how Composer simplifies building AWS CloudFormation templates with a visual, drag-and-drop editor that generates ready-to-deploy YAML or JSON templates.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/7Vg7D5Qe0ykvRK48/images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/aws-infrastructure-composer-cloudformation-templates.jpg?fit=max&auto=format&n=7Vg7D5Qe0ykvRK48&q=85&s=9e1863b2e29a1947bc93a6dc5a93ae53" alt="A slide titled &#x22;AWS Infrastructure Composer&#x22; showing icons for Resources and a CloudFormation Template with the caption &#x22;Build template by drag-and-drop.&#x22; It also notes the tool automatically generates valid CloudFormation code and outputs templates in YAML or JSON." width="1920" height="1080" data-path="images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/aws-infrastructure-composer-cloudformation-templates.jpg" />
</Frame>

What Infrastructure Composer does:

* Lets you pick AWS resources from a palette and place them on a canvas.
* Automatically generates valid CloudFormation template code (YAML or JSON) as you design.
* Helps with rapid prototyping, architecture visualization, and teaching CloudFormation concepts.

Why use Infrastructure Composer

* Faster prototyping: visually assemble stacks without hand-writing every resource.
* Better collaboration: diagrams make architecture easier to explain to others.
* Learning aid: inspect the generated template to understand CloudFormation structure and properties.

<Callout icon="lightbulb" color="#1CB2FE">
  AWS Infrastructure Composer is ideal for discovery, prototyping, and training. Treat it as a visual authoring layer on top of CloudFormation—useful for generating templates quickly, but still important to understand the underlying CloudFormation syntax before production use.
</Callout>

How this compares to the traditional CloudFormation workflow

* Manual approach: author CloudFormation templates directly in YAML or JSON, specifying Resources, Properties, and configuration. Deploy the template to create or update a stack.
* Composer approach: visually assemble resources on a canvas; Composer translates the diagram to a standard CloudFormation template that CloudFormation can deploy.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/7Vg7D5Qe0ykvRK48/images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/manual-vs-infrastructure-composer-cloudformation.jpg?fit=max&auto=format&n=7Vg7D5Qe0ykvRK48&q=85&s=e4d771c9682abf7a836336720ffbbb52" alt="A slide titled &#x22;Manual vs Infrastructure Composer&#x22; showing the traditional CloudFormation workflow: write JSON/YAML templates that define resources, properties and configuration, then deploy the template to CloudFormation." width="1920" height="1080" data-path="images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/manual-vs-infrastructure-composer-cloudformation.jpg" />
</Frame>

Quick feature comparison

| Aspect          |                 Manual CloudFormation (YAML/JSON) | AWS Infrastructure Composer                            |
| --------------- | ------------------------------------------------: | ------------------------------------------------------ |
| Authoring style |               Text-first (hand-written templates) | Visual drag-and-drop with optional YAML view           |
| Best for        |          Production-grade templates, full control | Rapid prototyping, discovery, teaching                 |
| Output          |                            YAML or JSON templates | Valid CloudFormation YAML/JSON generated automatically |
| Learning curve  |          Requires CloudFormation syntax knowledge | Easier introduction; inspect generated code to learn   |
| Use cases       | CI/CD, complex templates, advanced customizations | Architecture planning, proof-of-concept, demos         |

Visual composer workflow overview:

* Use the visual interface to add resources (S3, EC2, RDS, etc.).
* Connect resources and set simple properties in the GUI.
* Composer generates the CloudFormation template behind the scenes (YAML/JSON).
* Export, inspect, or modify the generated template; then deploy via CloudFormation.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/7Vg7D5Qe0ykvRK48/images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/aws-infrastructure-composer-cloudformation-stack-diagram.jpg?fit=max&auto=format&n=7Vg7D5Qe0ykvRK48&q=85&s=72cffb104ae763858413488762eacbf0" alt="A simple flow diagram showing AWS Infrastructure Composer: a visual interface (and YAML) converts into a CloudFormation template, which is then used to create an application stack." width="1920" height="1080" data-path="images/AWS-CloudFormation/Infrastructure-Composer/AWS-Infrastructure-Composer-Introduction/aws-infrastructure-composer-cloudformation-stack-diagram.jpg" />
</Frame>

Best practices and next steps

* Use Composer to prototype and learn, but validate and test templates before using in production.
* Inspect and, if needed, hand-edit the generated YAML/JSON to add advanced configuration not available in the visual editor.
* Integrate generated templates into your CI/CD pipeline once reviewed.

Links and references

* [AWS CloudFormation overview](https://aws.amazon.com/cloudformation/)
* [AWS Infrastructure Composer documentation](https://docs.aws.amazon.com/) (search for Infrastructure Composer in the AWS docs)
* [CloudFormation template anatomy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)

Summary
AWS Infrastructure Composer accelerates prototyping and education by letting you assemble AWS resources visually while producing standard CloudFormation templates (YAML/JSON) you can inspect, customize, and deploy. Use it as a complementary tool to manual template authoring to speed up discovery and collaboration.

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/aws-cloud-formation/module/563043d1-772f-4d1f-a812-f0a96dafa94f/lesson/38eb9c61-21a6-4d15-b8b1-ac9143758e2f" />
</CardGroup>
