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