---
title: "Discussion on \"20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)\" | Hashnode"
description: "Discussion on \"20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)\". 1️⃣ Not Installing the Postgres Driver (pg) in the Docker Image\nMistake:My Strapi container kept crashing with:Cannot find module 'pg'\nWhy It Happened:Strapi needs the pg package to talk to Postgres. It’s not included by default.\nFix:Added this to pa..."
url: "https://hashnode.com/posts/20-mistakes-i-made-while-deploying-strapi-on-aws-ecs-and-how-i-fixed-them20-mistakes-i-made-while-deploying-strapi-on-aws-ecs-and-how-i-fixed-them/69968d66a939069503012511"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)20 Mistakes I Made While Deploying Strapi on AWS ECS (and How I Fixed Them)](https://mistakesnlearn.hashnode.dev/20-mistakes-i-made-while-deploying-strapi-on-aws-ecs-and-how-i-fixed-them20-mistakes-i-made-while-deploying-strapi-on-aws-ecs-and-how-i-fixed-them?utm_source=hashnode&utm_medium=feed)

1️⃣ Not Installing the Postgres Driver (pg) in the Docker Image Mistake:My Strapi container kept crashing with:Cannot find module 'pg' Why It Happened:Strapi needs the pg package to talk to Postgres. It’s not included by default. Fix:Added this to pa...

Feb 19 · 4 min read · mistakesnlearn.hashnode.dev  
Read the article

-   [#lav](https://hashnode.com/tag/lav)

## Written by

[Lav kushwaha](https://hashnode.com/@Lavkushwaha01)

@Lavkushwaha01 · prayagraj , Utter pradesh

  
[View profile](https://hashnode.com/@Lavkushwaha01)

student of Btech CSE

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
