Cloud

Deploy Cloud Stack in AWS

VPC, keypair, five VMs, inventory sync — one click


Author: Matthew Fernandez

Deploy Cloud Stack in AWS

Provisions the full demo infrastructure in AWS: VPC, keypair, five VMs (two Windows, two RHEL, one reports server), dynamic inventory sync, and a VPC report published to S3. This is the starting point for most cloud, Linux, and Windows demos.

Prerequisites

  • If using RHDP (demo.redhat.com): Run APD ǀ Multi-demo setup to configure all templates and credentials. AWS and APD Machine credentials are pre-configured for you.
  • If using your own installation: Run APD ǀ Single demo setup and choose cloud. Configure the AWS credential with your Access Key and Secret Key, and add an SSH private key to APD Machine Credential.

Survey prompts

Prompt Variable Type Required
AWS Region create_vm_aws_region multiplechoice Yes
Owner create_vm_aws_owner_tag text Yes
Environment vm_environment multiplechoice Yes
Email email text Yes
  1. Creates keypair aws-test-key (public key derived from APD Machine Credential private key)
  2. Creates VPC aws-test-vpc with subnet, security group, and route table
  3. Deploys five VMs in parallel from blueprints
  4. Syncs AWS dynamic inventory so new hosts appear in AAP
  5. Publishes VPC infrastructure report to S3

Why it matters

  • Creates a complete demo environment in minutes — no manual AWS console clicking
  • Configuration-as-code for infrastructure — the entire stack is defined in playbooks and blueprints
  • Mixed OS fleet (RHEL 8, RHEL 9, Windows Server) reflects real customer environments
  • Dynamic inventory automatically imports all provisioned VMs into AAP

Presenter walkthrough

  1. Show the survey: Walk through each field — region, owner, environment. Explain how surveys make self-service provisioning safe.
  2. Launch: Start the workflow. As nodes light up, explain the sequence: keypair → VPC → parallel VM creation → inventory sync.
  3. Parallel VM creation: Point out that all five VMs deploy simultaneously. ‘This is the power of workflow nodes — parallel execution with dependency management.’
  4. Inventory sync: After VMs are created, the dynamic inventory syncs automatically. Show the new hosts appearing in AAP.
  5. VPC report: Show the S3 report — a visual summary of what was built.
  6. Transition: ‘Now that we have infrastructure, let’s do something with it’ — pivot to patching, compliance, or other demos.

See other Cloud demos

Browse all Cloud demos →

Workflow

graph LR
  S["🏠 Start"]
  S --> A
  S --> B
  A["🔑 Create Keypair"] --> C["📊 EC2 Stats"]
  B["🌐 Create VPC"] --> C
  C -->|always| D["🪟 aws-dc
windows_full"] C -->|always| E["🪟 aws_win1
windows_core"] C -->|always| F["🐧 aws_rhel8
rhel8"] C -->|always| G["🐧 aws_rhel9
rhel9"] C -->|always| H["📋 reports
rhel9"] D --> I["🔄 Sync Inventory"] E --> I F --> I G --> I H --> I I --> J["📄 VPC Report"] style A fill:#1e3a5f,stroke:#4a90d9,color:#fff style B fill:#1e3a5f,stroke:#4a90d9,color:#fff style C fill:#2d2d2d,stroke:#888,color:#fff style D fill:#1a2744,stroke:#2b88d8,color:#fff style E fill:#1a2744,stroke:#2b88d8,color:#fff style F fill:#3d1a1a,stroke:#cc0000,color:#fff style G fill:#3d1a1a,stroke:#cc0000,color:#fff style H fill:#3d1a1a,stroke:#cc0000,color:#fff style I fill:#162c46,stroke:#58a6ff,color:#fff style J fill:#2d1f4e,stroke:#a78bfa,color:#fff style S fill:#212427,stroke:#8a8d90,color:#fff