https://github.com/codewithmuh/django-aws-eks-github-actions
We plan to utilize GitHub Actions and Terraform to deploy our Django project on AWS EKS.
https://github.com/codewithmuh/django-aws-eks-github-actions
aws-ec2 aws-eks aws-eks-cluster django docker dockerhub github-actions slack-notifications sonarcloud sonarqube terraform
Last synced: 9 months ago
JSON representation
We plan to utilize GitHub Actions and Terraform to deploy our Django project on AWS EKS.
- Host: GitHub
- URL: https://github.com/codewithmuh/django-aws-eks-github-actions
- Owner: codewithmuh
- License: mit
- Created: 2024-01-09T19:48:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T09:16:32.000Z (over 2 years ago)
- Last Synced: 2025-03-28T21:11:39.971Z (about 1 year ago)
- Topics: aws-ec2, aws-eks, aws-eks-cluster, django, docker, dockerhub, github-actions, slack-notifications, sonarcloud, sonarqube, terraform
- Language: Python
- Homepage: https://youtube.com/@codewithmuh
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy Django Project on AWS Elastic Kubernetes (EKS) using GitHub Actions CI/CD Pipeline and Terraform
We will utilize GitHub Actions and Terraform to deploy our Django project on AWS EKS.

## Overview:
We will deploy Django Application on aws Elastic Kubernetes(EKS). We will use Github actions for the ci/cd pipeline. We will use EC2 as the self-hosted runner for our GitHub Actions. We will integrate Sonarcube for code analysis and Trivt Image scan to scan our docker images. Also, we will integrate Slack to get Build/deployment notifications.
### Prerequisite
You should have basic Knowledge of AWS services, Docker, Kubernetes, and GitHub Actions.
### Table of Content/Steps:
**1.** Create an AWS EC2 Instance and an IAM Role
**2.** Add a Self Hosted Runner To AWS EC2
**3.** Python Code Quality Check using Pylint
**4.** Docker Installation and Running SonarQube Container
**5.** Integrate SonarQube with GitHub Actions
**6.** Installation of tools (Java JDK, Terraform, Trivy, Kubectl, Node.js, NPM, AWS CLI)
**7.** Provision AWS EKS With Terraform
**8.** Dockerhub and Trivy Image Scan Setup
**9.** Deploy Application(image) to AWS EKS
**10.** Integrate Slack Notifications
**11.** Running Final/Complete Github actions Workflow
**12.** Delete the infrastructure (To Avoid Extra Billing, if you are just using it for learning Purposes)
### Article Link:
### Youtube Video Link:
# coming Soon