{"id":25841819,"url":"https://github.com/animeshbasak-14/networksecurity","last_synced_at":"2026-06-11T17:31:22.478Z","repository":{"id":274067498,"uuid":"921805403","full_name":"AnimeshBasak-14/NetworkSecurity","owner":"AnimeshBasak-14","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-02T09:16:36.000Z","size":4271,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:32:37.545Z","etag":null,"topics":["amazon-ec2","amazon-ecr","amazon-s3","docker","docker-image","fastapi","s3-bucket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnimeshBasak-14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-24T16:44:38.000Z","updated_at":"2025-02-02T09:19:08.000Z","dependencies_parsed_at":"2025-01-31T20:22:35.861Z","dependency_job_id":null,"html_url":"https://github.com/AnimeshBasak-14/NetworkSecurity","commit_stats":null,"previous_names":["animeshbasak-14/networksecurity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnimeshBasak-14/NetworkSecurity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimeshBasak-14%2FNetworkSecurity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimeshBasak-14%2FNetworkSecurity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimeshBasak-14%2FNetworkSecurity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimeshBasak-14%2FNetworkSecurity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnimeshBasak-14","download_url":"https://codeload.github.com/AnimeshBasak-14/NetworkSecurity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimeshBasak-14%2FNetworkSecurity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34211061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-ec2","amazon-ecr","amazon-s3","docker","docker-image","fastapi","s3-bucket"],"created_at":"2025-03-01T05:31:48.356Z","updated_at":"2026-06-11T17:31:22.460Z","avatar_url":"https://github.com/AnimeshBasak-14.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Network Security Project For Phising Data\n\nThis project is designed to provide network security services using Docker containers deployed on AWS EC2 instances. The project utilizes AWS ECR for container image storage and AWS S3 for data storage.\n\n![predict](img/predict.png)\n\n## Project Structure\n\n    .\n    ├── .github/\n    │   └── workflows/\n    │       └── main.yml\n    ├── app.py\n    ├── data_schema/\n    │   └── schema.yaml\n    ├── dataset/\n    │   └── phishingData.csv\n    ├── Dockerfile\n    ├── final_model/\n    │   ├── model.pkl\n    │   └── preprocessing.pkl\n    ├── main.py\n    ├── notebooks/\n    │   └──__init__.py\n    ├── prediction_output/\n    │   ├── __init__.py\n    │   └── output.csv\n    ├── push_data.py\n    ├── README.md\n    ├── requirements.txt\n    ├── setup.py\n    ├── src/\n    │   ├── cloud/\n    │   ├── components/\n    │   ├── constant/\n    │   ├── entity/\n    │   ├── exception/\n    │   ├── logging/\n    │   ├── pipeline/\n    │   └── utils/\n    ├── static/\n    │   └── __init__.py\n    ├── templates/\n    │   ├── __init__.py\n    │   └── table.html\n    ├── test_mongodb.py\n    ├── valid_data/\n    │   └── test.csv\n    └── venv/\n\n## Prerequisites\n\n- Docker\n- AWS CLI\n- Python 3.8+\n- pip\n\n## Setup\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/yourusername/your-repo.git\n   cd your-repo\n   ```\n2. **Install dependencies:**\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n3. **Set up AWS credentials:**\n\n   Configure your AWS CLI with the necessary credentials:\n\n   ```sh\n   aws configure\n   ```\n4. **Build and push Docker image to ECR:**\n\n   ```sh\n   docker build -t your-ecr-repo-name .\n   docker tag your-ecr-repo-name:latest your-ecr-uri/your-ecr-repo-name:latest\n   docker push your-ecr-uri/your-ecr-repo-name:latest\n   ```\n\n## Deployment\n\n1. **Deploy on EC2:**\n\n   Use the following command to run the Docker container on an EC2 instance:\n\n   ```sh\n   docker run -d -p 8080:8080 --ipc=\"host\" --name=networksecurity -e 'AWS_ACCESS_KEY_ID=your-access-key-id' -e 'AWS_SECRET_ACCESS_KEY=your-secret-access-key' -e 'AWS_REGION=your-region' your-ecr-uri/your-ecr-repo-name:latest\n   ```\n2. **Continuous Integration and Deployment:**\n\n   The project uses GitHub Actions for CI/CD. The workflow is defined in [main.yml](https://github.com/AnimeshBasak-14/NetworkSecurity/blob/main/.github/workflows/main.yml). It includes steps for linting, running unit tests, building and pushing Docker images to ECR, and deploying the container on EC2.\n\n## Usage\n\n- **Access the application:**\n\n  Once the container is running, you can access the application at `http://\u003cec2-instance-public-ip\u003e:8080`.\n- **Data Storage:**\n\n  The project uses AWS S3 for storing data. Ensure that your S3 bucket is properly configured and accessible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimeshbasak-14%2Fnetworksecurity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimeshbasak-14%2Fnetworksecurity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimeshbasak-14%2Fnetworksecurity/lists"}