Architecture - Ga-3tan/AMT_Project GitHub Wiki

Network Diagram

The network infrastructure of the project.

Currently, the project is served on an AWS server within a private network managed by the Scrum Master, to connect to the machine you need to connect via SSH to the public address of the DMZ and forwarding of port 8080 of the server 10.0.1.11, then the site will be accessible at the address localhost:YOUR_PORT.

To perform these manipulations you need to know the SSH private keys, you can request them by contacting the team.

Architecture Diagram

The internal structure of the AWS machine (Application Server).

The details of the authentication service seen in the diagram can be found here : https://github.com/Alessandro-AP/JWTAuthentication

Our architecture contains two environments:

  • Tomcat : contains the main application ( the web app) this service runs on port 8080.
  • Docker : The Docker environment contains different services:
    • MongoDB : Database that contains the business logic data, this container talks directly with the web app for the necessary queries. The service runs on port: 27017.
    • Microservice : Contains the authentication microservice. The service runs on port: 8084.
    • MySQL : Database containing user data. The service runs on port: 3306.

We use Amazon Simple Storage Service (Amazon S3) to manage our products images. For now, we configured our S3 bucket as a public bucket, but we are aware that this is not an optimal solution. If time allows, we will switch it to private and adapt the configuration and/or change the authorization access rules of the bucket.