Checkers Game Deployment
An online Checkers game that utilizes AWS resources for hosting and storage.
Contributors
Deployment Instructions
1. Launch an EC2 Instance
- Log in to AWS: Go to AWS Management Console and sign in.
- Navigate to EC2: Use the search bar to find and access the EC2 Dashboard.
- Launch a New Instance:
- Click "Launch Instance" and select Amazon Linux 2 AMI.
- Choose
t2.micro
(free tier eligible) as the instance type.
- Configure Security Group:
- Allow SSH (Port 22) for remote access.
- Allow HTTP (Port 80) for web traffic.
- Add an inbound rule for Port 8080 (used by the application server).
- Review and Launch: Confirm settings, then launch. Download the key pair (.pem file) when prompted and store it securely.
2. Connect to Your EC2 Instance
- Open a Terminal on your local machine.
- Navigate to the directory where your key pair (.pem file) is saved.
- Connect to your EC2 instance using SSH:
ssh -i "your-key-pair.pem" ec2-user@your-ec2-public-dns
3. Change Bucket Name
- After the instance is created, you want to edit the index.html and replace the s3 bucket names with the name of your bucket.
cd templates
nano index.html
- Then
sudo chmod +x deploy.sh
and then run the deploy script with ./deploy.sh