AWS Environment Replication Tool - Clone production to staging in minutes
Project description
RepliMap
Clone AWS Prod to Staging in 5 Minutes. Save 50% on Cloud Costs.
Stop writing
terraform importby hand. Stop paying production prices for dev environments.
Read-only AWS access | 100% local processing | Minutes, not weeks
See It In Action
RepliMap doesn't just clone—it optimizes. Here's real output from a production scan:
╭──────────────────────────────────── Right-Sizer Savings Report ────────────────────────────────╮
│ Right-Sizer Analysis Complete │
│ │
│ Resources analyzed: 16 (7 EC2, 3 RDS, 6 ElastiCache) │
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Cost Comparison │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ Original (Production): $ 1,856.58/mo │ │
│ │ Optimized (Dev/Staging): $ 939.75/mo │ │
│ ├─────────────────────────────────────────────────────────────────┤ │
│ │ Monthly Savings: $ 916.83 │ │
│ │ Annual Savings: $ 11,001.96 │ │
│ │ Savings Percentage: 49% │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
│ Optimizations Applied: │
│ • EC2: m5.2xlarge → t3.large (7 instances) │
│ • RDS: db.r5.xlarge → db.t3.large, Multi-AZ disabled (3 instances) │
│ • ElastiCache: cache.r5.large → cache.t3.medium (6 clusters) │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯
One command. Real savings. Production-grade Terraform.
The Problem RepliMap Solves
| The Old Way (Manual / Terraformer) | With RepliMap |
|---|---|
Weeks of terraform import |
5 minutes from scan to deploy |
| Staging costs = Production costs | 50% cheaper with auto-downsizing |
| Hardcoded secrets in generated code | Auto-sanitized (SOC2-ready) |
| Messy, monolithic HCL files | Clean, modular Terraform |
| Requires write access to AWS | Read-only permissions only |
| Manual instance size adjustments | AI-powered Right-Sizer |
Quick Start
1. Install
# Recommended: isolated environment
pipx install replimap
# Verify
replimap --version
2. Clone & Optimize
replimap clone \
--profile your-aws-profile \
--output-dir ./staging-infra \
--dev-mode # Activates Right-Sizer cost optimization
3. Deploy
cd ./staging-infra
terraform init
terraform plan # See the optimized instance types!
terraform apply
That's it. Production infrastructure → Cost-optimized staging in under 5 minutes.
Features
Free & Open Source
| Feature | Description |
|---|---|
| Reverse Engineering | VPC, EC2, RDS, ElastiCache, S3, SQS → Terraform HCL |
| Security Sanitization | Passwords, secrets, account IDs auto-stripped |
| Dependency Graph | Understands VPC → Subnet → EC2 relationships |
| 100% Local | Your data never leaves your machine |
| Read-Only | Only needs ReadOnlyAccess IAM permissions |
Pro Features (Solo+)
| Feature | Description |
|---|---|
| Right-Sizer Engine | AI-powered instance optimization with savings reports |
| Cost Estimation | Estimate monthly costs with optimization recommendations |
| Drift Detection | Compare Terraform state vs actual AWS resources |
| Dependency Explorer | Impact analysis before modifying resources |
| Multi-Format Output | Terraform, CloudFormation, Pulumi |
Right-Sizer: The Money-Saving Engine
The Right-Sizer is what makes RepliMap unique. It's not just cloning—it's intelligent optimization.
# Conservative mode (default) - balanced performance and cost
replimap clone --profile prod --dev-mode --output-dir ./staging
# Aggressive mode - maximum savings for CI/CD environments
replimap clone --profile prod --dev-mode --dev-strategy aggressive --output-dir ./staging
What Gets Optimized
| Resource | Example Transformation | Typical Savings |
|---|---|---|
| EC2 | m5.2xlarge → t3.large |
60-70% |
| RDS | db.r5.xlarge → db.t3.large + Multi-AZ off |
50-60% |
| ElastiCache | cache.r5.large → cache.t3.medium |
50-60% |
| Storage | gp2 → gp3 |
20% |
How It Works
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ 1. Scan AWS │────▶│ 2. Generate │────▶│ 3. Right-Size │
│ (Read-only) │ │ variables.tf │ │ .auto.tfvars │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│
▼
┌─────────────────┐
│ Production │
│ defaults in │
│ variables.tf │
│ ──────────── │
│ Dev overrides │
│ in .auto.tfvars│
└─────────────────┘
Delete right-sizer.auto.tfvars to instantly revert to production sizes.
Pricing
RepliMap is Open Core. The CLI and Terraform generation are free forever.
| Plan | Price | Best For |
|---|---|---|
| Free | $0/mo | Trying out, small projects |
| Solo | $29/mo | Individual DevOps engineers |
| Pro | $79/mo | Small teams, multiple accounts |
| Team | $149/mo | Larger teams with collaboration |
| Enterprise | Custom | SSO, audit logs, support SLA |
Feature Comparison
| Feature | Free | Solo | Pro | Team |
|---|---|---|---|---|
| Terraform Output | Yes | Yes | Yes | Yes |
| Security Sanitization | Yes | Yes | Yes | Yes |
| Right-Sizer | No | Yes | Yes | Yes |
| CloudFormation Output | No | No | Yes | Yes |
| Cost Estimation | No | No | Yes | Yes |
| Drift Detection | No | No | Yes | Yes |
| Dependency Explorer | No | No | No | Yes |
| AWS Accounts | 1 | 1 | 3 | 10 |
Who Is This For?
- DevOps Engineers tired of writing
terraform importcommands - Startups needing staging environments without breaking the bank
- Platform Teams standardizing infrastructure across environments
- Consultants auditing client AWS infrastructure
- Anyone paying too much for non-production AWS environments
FAQ
Is it safe to run on production AWS?
Yes! RepliMap only needs ReadOnlyAccess. It cannot modify any resources. Your credentials stay on your machine.
What if I don't buy a license?
The CLI is 100% functional for free—full Terraform generation with security sanitization. Right-Sizer adds cost optimization but isn't required.
How accurate are the savings estimates?
We use real-time AWS pricing data. Estimates are based on on-demand pricing and are typically within ±10% of actual costs.
Does it work with Terraform Cloud / Terragrunt?
Yes! The generated code is standard Terraform HCL compatible with any workflow.
What AWS resources are supported?
24 resource types: VPC, Subnets, Security Groups, EC2, RDS, ElastiCache, S3, SQS, SNS, ALB/NLB, ASG, Launch Templates, and more. See full list →
Supported Resources
| Category | Resources |
|---|---|
| Network | VPC, Subnets, Security Groups, Route Tables, NAT/Internet Gateways |
| Compute | EC2, ASG, Launch Templates, ALB/NLB, Target Groups |
| Database | RDS (MySQL, PostgreSQL, Aurora), ElastiCache (Redis, Memcached) |
| Storage | S3 Buckets, EBS Volumes |
| Messaging | SQS Queues, SNS Topics |
Documentation & Reference
This README provides a high-level overview. For detailed technical documentation:
Technical Reference & CLI Guide
- Installation Options
- Full CLI Command Reference
- Configuration Guide
- Architecture Deep Dive
- Security & IAM Policies
- Graph-Based Selection Engine
- All Supported Resources
Security
- Read-Only Access: Only requires
ReadOnlyAccessIAM permissions - Local Processing: All data stays on your machine
- No Data Upload: Your infrastructure data never leaves your environment
- SOC2-Ready: Auto-sanitizes secrets, passwords, and credentials
See IAM_POLICY.md for recommended minimal permissions.
License
- CLI & Terraform Generator: Proprietary with free tier
- Right-Sizer API: Commercial license required (Solo+)
See LICENSE for details.
Ready to save 50% on your AWS staging bill?
Built with care by an AWS Solutions Architect who got tired of writing terraform import.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file replimap-0.1.22.tar.gz.
File metadata
- Download URL: replimap-0.1.22.tar.gz
- Upload date:
- Size: 514.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed0d5cbfc216ed790ca15916cfa4649a08b9b58d4b7402b1229dc5f13844f595
|
|
| MD5 |
686a759ab6c7214a0a2f293fb26c1f56
|
|
| BLAKE2b-256 |
5fddee291a6ffcb195373079fcca3c51c16186397cec40915b609381988dfc31
|
Provenance
The following attestation bundles were made for replimap-0.1.22.tar.gz:
Publisher:
auto-release.yml on RepliMap/replimap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
replimap-0.1.22.tar.gz -
Subject digest:
ed0d5cbfc216ed790ca15916cfa4649a08b9b58d4b7402b1229dc5f13844f595 - Sigstore transparency entry: 780840472
- Sigstore integration time:
-
Permalink:
RepliMap/replimap@04e948ff1c4b9d56466f0b5f0f7b657b8c706be6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RepliMap
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@04e948ff1c4b9d56466f0b5f0f7b657b8c706be6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file replimap-0.1.22-py3-none-any.whl.
File metadata
- Download URL: replimap-0.1.22-py3-none-any.whl
- Upload date:
- Size: 616.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6562ce579812be7f090c7d794d7746c4a49dde2ac15bb0399f9edd686e5f36b
|
|
| MD5 |
4cebdc5755bd7a354b6c5b711ce5e3a7
|
|
| BLAKE2b-256 |
2a8178725a740cce8c3c9cdf80fcbf4807952ba722ab1dc3546bc2e6850f3fd1
|
Provenance
The following attestation bundles were made for replimap-0.1.22-py3-none-any.whl:
Publisher:
auto-release.yml on RepliMap/replimap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
replimap-0.1.22-py3-none-any.whl -
Subject digest:
a6562ce579812be7f090c7d794d7746c4a49dde2ac15bb0399f9edd686e5f36b - Sigstore transparency entry: 780840473
- Sigstore integration time:
-
Permalink:
RepliMap/replimap@04e948ff1c4b9d56466f0b5f0f7b657b8c706be6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RepliMap
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@04e948ff1c4b9d56466f0b5f0f7b657b8c706be6 -
Trigger Event:
push
-
Statement type: