A Python application with AR (Augmented Reality) capabilities, containerized with Docker and deployed on AWS EC2.
This project is an AR-enabled Python application that provides asset configuration and management service for ITSM professionals. The application is containerized using Docker and deployed on AWS EC2 for scalable cloud hosting.
- Application: Python-based AR application
- Containerization: Docker
- Deployment: AWS EC2 (myDockerServer)
- Registry: Docker Hub (
tekktribe/ar-python-app)
- Python 3.x
- Docker
- AWS CLI (for EC2 deployment)
- Docker Hub account
-
Clone the repository:
git clone <your-repository-url> cd AR-python-app
-
Install dependencies:
pip install -r requirements.txt
-
Run the application locally:
python app.py
Docker Deployment
-
Build the Docker image:
docker build -t tekktribe/ar-python-app . -
Run the container locally:
docker run -p 8080:8080 tekktribe/ar-python-app
-
Push to Docker Hub:
docker push tekktribe/ar-python-app
🌐 AWS EC2 Deployment
Server Setup (myDockerServer)
The application is deployed on AWS EC2 instance named myDockerServer.
Server Details:
- Instance Name: myDockerServer
- Instance Type: t2 micro
- Region: US-EAST-1
Deployment Steps
-
Connect to EC2 instance:
Amazon EC2 Instance Connect -
Pull the Docker image:
docker pull tekktribe/ar-python-app
-
build the application:
docker build -t tekktribe/ar-python-app
AR-python-app/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── Dockerfile # Docker configuration
└── README.md # This file
-
Docker build fails:
# Make sure you're in the correct directory docker build -t tekktribe/ar-python-app . -
Push fails:
# Login to Docker Hub first docker login docker push tekktribe/ar-python-app
# Build and push
docker build -t tekktribe/ar-python-app .
docker push tekktribe/ar-python-app
# Deploy on EC2
ssh -i your-key.pem ubuntu@your-ec2-ip
docker pull tekktribe/ar-python-appLast Updated: [Current Date] Version: 1.0.0



