PacManOps is a DevOps-focused deployment project that containerizes and automates the deployment of the classic Pac-Man game using modern cloud and infrastructure-as-code (IaC) technologies. It leverages Docker, Kubernetes, Terraform, and AWS to provide a scalable and automated deployment environment. The project aims to integrate CI/CD pipelines, monitoring with Prometheus and Grafana, and infrastructure automation.
- Containerized Pac-Man: Uses Docker to package the Pac-Man game for deployment.
- Automated Infrastructure: Terraform provisions AWS EC2 instances to host the game.
- Kubernetes Orchestration: Deploys and manages the game using Kubernetes.
- Scalable and Cloud-Ready: Designed for deployment on AWS EC2.
PacManOps/
│── src/
│ ├── js/
│ │ ├── pacman.js
│ │ ├── game.js
│ │ ├── utils.js
│ ├── wf/
│ │ ├── pacman10-source/
│ │ │ ├── frames/
│ │ │ ├── images/
│ │ │ ├── sounds/
│── index.html
│── Dockerfile
│── terraform/
│ ├── main.tf
│── k8s/
│ ├── deployment.yaml
│ ├── service.yaml
│── README.md
git clone https://github.com/nsahil992/PacManOps.git
cd PacManOps
docker build -t pacman-game .
docker run -p 8080:80 pacman-game
cd terraform
terraform init
terraform apply
kubectl apply -f k8s/
The following tasks are yet to be implemented and are planned as improvements:
- CI/CD Pipeline: Automate builds and deployments with GitHub Actions.
- Prometheus & Grafana Monitoring: Set up monitoring and logging to track performance.
- Ansible for Automation: Automate server setup and configuration.
- EKS Deployment: Deploy PacManOps on AWS EKS instead of EC2.
- Load Balancer & Auto-Scaling: Enhance scalability with Kubernetes Ingress and auto-scaling.
If you love this project, feel free to give this repository a ⭐. Thanks