Skip to content

feat: add Terraform IaC and ECS Fargate backend for cloud computing p…#28

Draft
AshrafHosam wants to merge 2 commits into
aws-samples:masterfrom
AshrafHosam:cloud-computing-project
Draft

feat: add Terraform IaC and ECS Fargate backend for cloud computing p…#28
AshrafHosam wants to merge 2 commits into
aws-samples:masterfrom
AshrafHosam:cloud-computing-project

Conversation

@AshrafHosam

Copy link
Copy Markdown

…roject

Deploys Gomoku game service twice on AWS to compare Lambda vs ECS Fargate as HTTP backends. Scenario A uses Lambda + API Gateway; Scenario B uses ECS Fargate + ALB. All shared infrastructure (GameLift, DynamoDB, Redis, SQS, CloudFront) is identical between scenarios.

Added:

  • infra/terraform/ — reusable modules (networking, data, gamelift, event-lambdas, http-lambda, http-ecs, static-frontend) + scenario-a/b roots
  • app/ — FastAPI wrapper (main.py, Dockerfile, requirements.txt) for Scenario B
  • scripts/ — load_test.py (Locust), collect_metrics.py, generate_report.py, make_arch_diagrams.py, start_all.ps1, stop_all.ps1, build_push_ecr.sh
  • docs_project/ — teammate client configuration guide
  • web/main.js — updated API endpoint to use template variable

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…roject

Deploys Gomoku game service twice on AWS to compare Lambda vs ECS Fargate
as HTTP backends. Scenario A uses Lambda + API Gateway; Scenario B uses
ECS Fargate + ALB. All shared infrastructure (GameLift, DynamoDB, Redis,
SQS, CloudFront) is identical between scenarios.

Added:
- infra/terraform/ — reusable modules (networking, data, gamelift,
  event-lambdas, http-lambda, http-ecs, static-frontend) + scenario-a/b roots
- app/ — FastAPI wrapper (main.py, Dockerfile, requirements.txt) for Scenario B
- scripts/ — load_test.py (Locust), collect_metrics.py, generate_report.py,
  make_arch_diagrams.py, start_all.ps1, stop_all.ps1, build_push_ecr.sh
- docs_project/ — teammate client configuration guide
- web/main.js — updated API endpoint to use template variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant