First Architecture from a Template¶
Audience: Beginners | Status: V1 Core | Verified against: v0.43.0
Learn your first cloud architecture in 5 minutes using a built-in template with guided learning. No cloud account or backend required — everything runs in your browser.
Desktop recommended
CloudBlocks is optimized for desktop browsers (Chrome, Firefox, Edge). The SVG-based visual editor works best with a mouse and keyboard.
Step 1 — Open CloudBlocks¶
- Live Demo: Visit https://yeongseon.github.io/cloudblocks/
- Documentation: Browse the full docs at https://yeongseon.github.io/cloudblocks/docs/
- Local: Clone and run (see Quick Start)
When CloudBlocks opens, click Get Started to enter the builder.
Step 2 — Load a Template¶
On the empty canvas, you will see two options:
| Option | What it does |
|---|---|
| Start Learning | Opens the Scenario Gallery with guided architecture patterns |
| Practice on Blank Canvas | Dismisses the overlay so you can build manually from the sidebar |
Recommended for beginners: Click Start Learning to open the Scenario Gallery, then select Three-Tier Web Application to follow a guided learning scenario. You can also browse scenarios later by clicking the Learn button in the menu bar.
This loads a complete architecture with:
- An Application Gateway (Delivery)
- A Virtual Machine (Compute)
- A SQL Database (Data)
- A Blob Storage (Data)
All components are pre-wired with connections.
Step 3 — Explore What You Got¶
Take a moment to understand the loaded template:
- Click any block to see its details in the Inspector Panel (right side).
- Scroll to zoom in and out on the canvas.
- Notice how blocks are organized inside Network and Subnet containers.
The template follows a standard three-tier pattern: traffic enters through the Delivery layer, reaches the Compute layer, and stores data in the Data layer. This is one of the most common cloud architecture patterns — learning it gives you a foundation for understanding more complex designs.
Step 4 — Customize the Template¶
Templates are starting points for learning, not fixed designs. Try these modifications:
- Add a resource: Open the Sidebar Palette (left) and drag a new resource onto a subnet.
- Create a connection: Click an output port on one block, then click an input port on another.
- Rename a block: Click a block, then edit its name in the Inspector Panel.
- Move blocks: Drag any block to reposition it on the canvas.
Press Ctrl+Z / Cmd+Z to undo any change.
Step 5 — Validate Your Design¶
CloudBlocks validates your architecture in real-time. You can also run a manual check:
- Go to Build → Validate Architecture in the menu bar.
- Check results in the Validation tab in the Bottom Dock.
- Fix any errors shown in the list.
Step 6 — Export Starter Code¶
Once your architecture is valid, you can export Terraform starter code to continue learning:
- Go to Build → Generate Code in the menu bar.
- Preview the generated Terraform code.
- Click Copy to save it to your clipboard.
This starter code shows you what your visual architecture looks like as infrastructure-as-code — a great way to learn Terraform alongside cloud architecture.
Step 7 — Save Your Work¶
Your progress is automatically saved to your browser's local storage.
- Press Ctrl+S / Cmd+S to save manually.
- Use File → Save Workspace from the menu bar.
What's Next?¶
| Goal | Guide |
|---|---|
| Understand the building blocks | Core Concepts |
| Browse all architecture patterns | Templates |
| Try guided learning scenarios | Click the Learn button in the menu bar |
| Build from a blank canvas (advanced) | Blank Canvas Mode |
| Learn keyboard shortcuts | Keyboard Shortcuts |