Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 783 Bytes

File metadata and controls

47 lines (24 loc) · 783 Bytes

Infrastructure

  • Public Github Repository

  • Docker Swarm

    • 3 Manager nodes

    • 2 Worker nodes

      • Each of the nodes should communicate with the other nodes via Docker Swarm

      • EC2 instance to connect CLI

      • IAM policy

    • Leader manager node can pull/push image from/to ECR.

    • Full-Access ECR policy for the instances.

    • Other managers and worker nodes can pull image from ECR.

  • AWS ECR to be created for image registry.

  • main.tf terraform file to be created.

Application

  • Dockerfile

    • Will be used for the app-server image

    • Required files:

      • phonebook-app.py

      • requirements.txt

      • templates folder

  • docker-compose.yml

    • Services:

      • app-server and MySQL

      • app-server image will be pulled from ECR.