Skip to content

Research and Implement IaC PoC for OWASP Nest Infrastructure #2215

@arkid15r

Description

@arkid15r

Description:

As part of our cloud migration and modernization efforts, we want to implement Infrastructure as Code (IaC) for the OWASP Nest stack. The goal is to evaluate available IaC tools (Terraform or alternatives) and implement a Proof of Concept (PoC) covering all critical infrastructure components.

High-level objectives:

  • Research IaC tools suitable for AWS (Terraform, AWS CDK, Pulumi, etc.) and compare them based on maintainability, community support, and AWS integration.

  • Implement a PoC infrastructure that includes:

    1. Backend: AWS Lambda (via Zappa or direct deployment)
    2. Frontend: ECS/Fargate service for serving frontend assets
    3. Static/media storage: S3 buckets
    4. Database: RDS (PostgreSQL) with proper security groups and parameter configurations
    5. Cache: Redis (ElastiCache)
    6. Nightly sync tasks: EC2 instance for cron-style batch jobs

Acceptance criteria:

  1. A documented comparison of IaC tools with pros/cons for our use case.
  2. A working PoC that provisions all listed infrastructure components in a sandbox AWS account.
  3. IaC code is modular, reusable, and version-controlled.
  4. Instructions for deploying, updating, and tearing down the PoC infrastructure.

Optional enhancements:

  • Automate environment-specific variables (dev/staging/prod).
  • Integrate with CI/CD for automatic provisioning and updates.
  • Include monitoring/alerting via CloudWatch or alternative tools.

Sub-issues

Metadata

Metadata

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions