Powered by
Quick Start
This guide will help you get started with iwrap and deploy your first infrastructure in just a few minutes.Prerequisites
Before you begin, ensure you have:- Node.js 18+ (if installing via npm)
- Terraform 1.0+ installed and in your PATH
- AWS CLI configured with credentials
- AWS account with appropriate permissions
Installation
Choose your preferred installation method:- npm
- Homebrew
- Manual
Deploy Your First Infrastructure
Follow these steps to get your first deployment up and running:1
Initialize Project
Create a new directory and initialize your iwrap project:This creates:
config/directory with example configuration filesterraform/directory structuretemplates/directory with code templates
The
iwrap init command sets up a complete project structure with example configurations you can customize.2
Configure AWS Account
Add your AWS account. You can use auto-detection (recommended) or add manually:Set the active account:
3
Define Services
Edit For more service types and configuration options, see the Service Configuration Guide.
config/services.yaml to define your services. Here’s an example for an ECS service:config/services.yaml
4
Plan Deployment
Before deploying, review what will be created:This shows you a Terraform plan of all resources that will be created, modified, or destroyed.
5
Deploy
Deploy your infrastructure to the dev environment:The deployment will:
- Validate your configuration
- Generate Terraform files
- Apply the Terraform plan
- Display deployment status
Use the
--auto-approve flag to skip confirmation prompts in CI/CD pipelines.What’s Next?
Now that you’ve deployed your first infrastructure, explore these resources:Account Management
Learn how to manage multiple AWS accounts and regions
Service Configuration
Deep dive into service configuration options
Deployment Strategies
Explore Blue/Green, Canary, and Rolling deployments
Monitoring
Set up monitoring and observability
Command Reference
Complete command reference
Advanced Topics
Advanced configuration and usage patterns