[PR #337] [MERGED] #336: Reworked terraform to use EC2 instead of ECS #386

Closed
opened 2026-02-27 19:18:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/EddieTheCubeHead/Stagnum/pull/337
Author: @ekosfin
Created: 6/13/2024
Status: Merged
Merged: 6/23/2024
Merged by: @EddieTheCubeHead

Base: masterHead: #336-infra-cost-optimizing


📝 Commits (10+)

📊 Changes

6 files changed (+402 additions, -326 deletions)

View changed files

📝 .github/workflows/terraform.yml (+2 -5)
infra/config/docker-compose.yaml (+128 -0)
infra/config/userdata.tftpl (+64 -0)
📝 infra/main.tf (+178 -306)
📝 infra/output.tf (+7 -7)
📝 infra/variables.tf (+23 -8)

📄 Description

Summary

Closes #336 This should reduce operational costs.

Notable changes

Updated terraform to use EC2 instance instead of ECS


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/EddieTheCubeHead/Stagnum/pull/337 **Author:** [@ekosfin](https://github.com/ekosfin) **Created:** 6/13/2024 **Status:** ✅ Merged **Merged:** 6/23/2024 **Merged by:** [@EddieTheCubeHead](https://github.com/EddieTheCubeHead) **Base:** `master` ← **Head:** `#336-infra-cost-optimizing` --- ### 📝 Commits (10+) - [`51a649e`](https://github.com/EddieTheCubeHead/Stagnum/commit/51a649effb5229105be8e11889bc9b7a0c4efdd9) #336: WIP revorked terraform to use ec2 instead of ecs - [`158c226`](https://github.com/EddieTheCubeHead/Stagnum/commit/158c2260d78b863719056f13fd47023b6ecf23dd) #336: WIP Updated instance, Tags and EBS - [`fff85df`](https://github.com/EddieTheCubeHead/Stagnum/commit/fff85dfb258e9f31a18e3ca4ca588902ee680143) #336: Added userdata and fixed some terraform - [`fa9460f`](https://github.com/EddieTheCubeHead/Stagnum/commit/fa9460f0de29d45a856155da309f8edfef7f3e8c) #336: Added watchtower and made .env vars defined by terraform vars - [`8f1e630`](https://github.com/EddieTheCubeHead/Stagnum/commit/8f1e63038b24591110deada7bd94464ce5e6f190) #336: Uncommented s3 backend - [`1d10156`](https://github.com/EddieTheCubeHead/Stagnum/commit/1d1015630121b20144e982d11c040bf010177fdd) Merge branch 'master' into #336-infra-cost-optimizing - [`e858905`](https://github.com/EddieTheCubeHead/Stagnum/commit/e8589055c3a6c95e400948ba453a3804d0fd08b6) #336: Recreate instance if userdata is updated - [`3c1d211`](https://github.com/EddieTheCubeHead/Stagnum/commit/3c1d2112030106a81ab52612d4b5791cf27a7f30) Merge branch '#336-infra-cost-optimizing' of https://github.com/EddieTheCubeHead/Stagnum into #336-infra-cost-optimizing - [`60d052f`](https://github.com/EddieTheCubeHead/Stagnum/commit/60d052ff251ee22d8b485f91b3b8563884b0717d) #336: Updated deployment to work in ec2 - [`28ece19`](https://github.com/EddieTheCubeHead/Stagnum/commit/28ece199254bc03021882b8e67da5e9a1fcb7b09) #336: Updated wget to future location ### 📊 Changes **6 files changed** (+402 additions, -326 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/terraform.yml` (+2 -5) ➕ `infra/config/docker-compose.yaml` (+128 -0) ➕ `infra/config/userdata.tftpl` (+64 -0) 📝 `infra/main.tf` (+178 -306) 📝 `infra/output.tf` (+7 -7) 📝 `infra/variables.tf` (+23 -8) </details> ### 📄 Description ## Summary Closes #336 This should reduce operational costs. ## Notable changes Updated terraform to use EC2 instance instead of ECS --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:18:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Stagnum#386
No description provided.