# Terraback Licensing

This project uses a multi-tier licensing model designed to support different use cases, from individual developers to enterprise teams.

## Community Edition (MIT License)

The Community Edition of Terraback is free and open source, perfect for individuals, students, and small projects.

### MIT License

```
MIT License

Copyright (c) 2025 Bogdan Moldovan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

## Commercial Editions

### Migration Pass ($299 per user/business for 3 months)

Perfect for consultants and teams with migration projects.
- **Duration**: 3 months from activation
- **Users**: Per user/business licensing
- **Features**: Full access to all 50+ cloud services and scanning features
- **Support**: Priority email support and migration planning assistance

### Enterprise Edition (Coming Soon)

For large organizations with specific requirements.
- **Duration**: Annual/multi-year contracts
- **Users**: Volume licensing with team management
- **Features**: Everything in Migration Pass, plus SSO, on-premise deployment, and dedicated support
- **Support**: SLA with guaranteed uptime and dedicated customer success manager

## Feature Comparison

| Feature                                  | Community | Migration Pass | Enterprise |
|------------------------------------------|:---------:|:--------------:|:----------:|
| **Core Features**                        |           |                |            |
| Basic Resource Scanning (EC2, VPC, S3)   |    ✅     |       ✅       |     ✅     |
| Basic Resource Scanning (VMs, VNets, Storage) |    ✅     |       ✅       |     ✅     |
| Basic Resource Scanning (Compute, Networks, Storage) |    ✅     |       ✅       |     ✅     |
| CLI with `list` & `import` helpers       |    ✅     |       ✅       |     ✅     |
| Resource Limit                           | Unlimited |   Unlimited    | Unlimited  |
| Basic dependency mapping                 |    ✅     |       ✅       |     ✅     |
| **Advanced Features**                    |           |                |            |
| All 50+ Cloud Services                   |    ❌     |       ✅       |     ✅     |
| RDS & Database Resources                 |    ❌     |       ✅       |     ✅     |
| Load Balancers (ALB/NLB/CLB)             |    ❌     |       ✅       |     ✅     |
| Lambda & API Gateway                     |    ❌     |       ✅       |     ✅     |
| Route 53 & DNS                           |    ❌     |       ✅       |     ✅     |
| IAM Roles & Policies                     |    ❌     |       ✅       |     ✅     |
| Advanced Dependency Mapping              |    ❌     |       ✅       |     ✅     |
| Multi-account/subscription scanning      |    ❌     |       ✅       |     ✅     |
| Module generation & best practices       |    ❌     |       ✅       |     ✅     |
| State file management                    |    ❌     |       ✅       |     ✅     |
| API access for automation               |    ❌     |       ✅       |     ✅     |
| **Enterprise Features**                  |           |                |            |
| SSO integration (SAML, OIDC)             |    ❌     |       ❌       |     ✅     |
| Custom resource scanners                 |    ❌     |       ❌       |     ✅     |
| On-premise deployment options            |    ❌     |       ❌       |     ✅     |
| Volume licensing & team management       |    ❌     |       ❌       |     ✅     |
| Compliance reporting                     |    ❌     |       ❌       |     ✅     |
| **Support & Updates**                    |           |                |            |
| Community Support                        |    ✅     |       ✅       |     ✅     |
| Priority Email Support                   |    ❌     |       ✅       |     ✅     |
| Migration Planning Assistance            |    ❌     |       ✅       |     ✅     |
| SLA with guaranteed uptime               |    ❌     |       ❌       |     ✅     |
| Dedicated customer success manager       |    ❌     |       ❌       |     ✅     |
| Dedicated training & onboarding          |    ❌     |       ❌       |     ✅     |
| Automatic Updates                        |    ✅     |       ✅       |     ✅     |

## License Activation

### Community Edition
No activation required. Install and use immediately:
```bash
pip install terraback
```

### Migration Pass
After purchase, activate your license:
```bash
terraback activate --license-key=XXXX-XXXX-XXXX-XXXX
```

### Enterprise Edition
Custom deployment and activation process. Contact sales for details.

## Purchasing

- **Migration Pass**: Purchase at [terraback.io](https://terraback.io/#pricing)
- **Enterprise**: Contact sales@terraback.io

## Questions?

- **Sales**: sales@terraback.io
- **Support**: support@terraback.io
- **Community**: [GitHub Discussions](https://github.com/terraback/terraback/discussions)