{"id":20828382,"url":"https://github.com/codewithmuh/django-aws-ecs-fargate","last_synced_at":"2025-04-10T04:14:37.124Z","repository":{"id":213071079,"uuid":"732952120","full_name":"codewithmuh/django-aws-ecs-fargate","owner":"codewithmuh","description":"This GitHub repository offers a streamlined solution for deploying your production-grade application on AWS ECS Fargate seamlessly integrated with essential AWS services such as RDS, S3, Load Balancers, and AWS ECR. Simplify your deployment process and leverage the power of AWS infrastructure with this comprehensive repository.","archived":false,"fork":false,"pushed_at":"2023-12-23T10:48:53.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T04:14:32.024Z","etag":null,"topics":["aws","aws-s3","django","django-application","ecr-repositories","ecs-fargate","fargate","load-balancer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmuh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-18T08:30:13.000Z","updated_at":"2024-02-29T03:10:04.000Z","dependencies_parsed_at":"2023-12-23T09:38:28.753Z","dependency_job_id":null,"html_url":"https://github.com/codewithmuh/django-aws-ecs-fargate","commit_stats":null,"previous_names":["codewithmuh/django-aws-ecs-fargate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fdjango-aws-ecs-fargate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fdjango-aws-ecs-fargate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fdjango-aws-ecs-fargate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fdjango-aws-ecs-fargate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmuh","download_url":"https://codeload.github.com/codewithmuh/django-aws-ecs-fargate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154999,"owners_count":21056543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-s3","django","django-application","ecr-repositories","ecs-fargate","fargate","load-balancer"],"created_at":"2024-11-17T23:14:43.789Z","updated_at":"2025-04-10T04:14:37.104Z","avatar_url":"https://github.com/codewithmuh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Django Application on AWS ECS Fargate\n\n\n### 1. Clone Repository \n\n----\n  ```sh\n  git clone https://github.com/codewithmuh/django-aws-ecs-fargate.git\n\n  ```\n----  \n\n\n### 2.  Setup  Two Options\n1. Local Setup\n2. Deploy on AWS ECS Fargate\n\n### 1.  Quick Local Setup\n\n1. Make sure you Docker desktop or docker daemon is running . \nyou can install docker from office website.\n\n2.  Run this command to start project running locally.\n----\n  ```sh\n  docker compose -f \"build-process/aws-ecs-fargate/docker-compose-django-backend.yml\" up -d --build\n\n  ```\n----\n### 2.  Deploy on AWS ECS Fargate\n\n#### Step 1: Configure AWS CLI with a Profile Name\n\nEnsure that you have AWS CLI installed. If not, download and install it from the [official AWS CLI website](https://aws.amazon.com/cli/).\n\nRun the following command and replace `YOUR_AWS_PROFILE_NAME` with your desired AWS CLI profile name:\n\n```sh\naws configure --profile YOUR_AWS_PROFILE_NAME\n\n```\n----\n\nReplace YOUR_AWS_PROFILE_NAME with the desired name for your AWS CLI profile.\n\nInput AWS Access Key ID: Enter your AWS Access Key ID when prompted.\n\nInput AWS Secret Access Key: Enter your AWS Secret Access Key when prompted.\n\nDefault Region: Specify the default AWS Region you want to use for this profile.\n\n\n\n\n1. Open deploy-prod.sh file and make chnage,\n Replace YOUR_AWS_PROFILE_NAME, YOUR_REGION_NAME, YOUR_ACCOUNT_ID, YOUR_ECR_REPO_NAME, YOUR_CLUSTER_NAME, YOUR_SERVICE_NAME\n\n\n2. Then Run this command, it will build eocker image, and push image to ecr, It will also update ecs service\n\n----\n\n  ```sh\nbuild-process/aws-ecs-fargate/deploy-prod.sh\n\n  ```\n----","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmuh%2Fdjango-aws-ecs-fargate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmuh%2Fdjango-aws-ecs-fargate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmuh%2Fdjango-aws-ecs-fargate/lists"}