Skip to main content

AWS Environment Replication Tool - Clone production to staging in minutes

Project description

RepliMap

PyPI Downloads Python Tests

Clone AWS Prod to Staging in 5 Minutes. Save 50% on Cloud Costs.

Stop writing terraform import by hand. Stop paying production prices for dev environments.

Read-only AWS access | 100% local processing | Minutes, not weeks

Quick Start | Features | Pricing | Full Documentation


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.2xlarget3.large 60-70%
RDS db.r5.xlargedb.t3.large + Multi-AZ off 50-60%
ElastiCache cache.r5.largecache.t3.medium 50-60%
Storage gp2gp3 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 $49/mo Individual DevOps engineers
Pro $99/mo Small teams, multiple accounts
Team $199/mo Larger teams with collaboration
Enterprise From $500/mo 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 import commands
  • 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


Security

  • Read-Only Access: Only requires ReadOnlyAccess IAM 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?

Get Started Free →


Built with care by an AWS Solutions Architect who got tired of writing terraform import.

Twitter | Blog | Support

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

replimap-0.1.30.tar.gz (663.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

replimap-0.1.30-py3-none-any.whl (810.7 kB view details)

Uploaded Python 3

File details

Details for the file replimap-0.1.30.tar.gz.

File metadata

  • Download URL: replimap-0.1.30.tar.gz
  • Upload date:
  • Size: 663.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for replimap-0.1.30.tar.gz
Algorithm Hash digest
SHA256 6bfc469fd8838def94722657fb55fb6a657858ceb52236af8245f48e475665d2
MD5 6732cbc8c4b78c453bb4530fd03d6bea
BLAKE2b-256 c9a28d320adc61e8f12431395d4bbfed1de4d98815ce3de7ba0489966f5a8a44

See more details on using hashes here.

Provenance

The following attestation bundles were made for replimap-0.1.30.tar.gz:

Publisher: auto-release.yml on RepliMap/replimap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file replimap-0.1.30-py3-none-any.whl.

File metadata

  • Download URL: replimap-0.1.30-py3-none-any.whl
  • Upload date:
  • Size: 810.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for replimap-0.1.30-py3-none-any.whl
Algorithm Hash digest
SHA256 4fbf445b3aac5fed40fb123d0b2960568b58a68c7241a4c4ab047459edca35a9
MD5 2dffe390fa9f93d9f56e4bd3c0092784
BLAKE2b-256 eaec35a272969c9efa323685557dfa159b35464681398f5ea6a91ace1fc36800

See more details on using hashes here.

Provenance

The following attestation bundles were made for replimap-0.1.30-py3-none-any.whl:

Publisher: auto-release.yml on RepliMap/replimap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page