hackforla / incubator

https://github.com/orgs/hackforla/projects/73/views/5
GNU General Public License v2.0
3 stars 14 forks source link

AWS: Create new services for AWS #65

Closed JimmyJuarez10 closed 7 months ago

JimmyJuarez10 commented 8 months ago

Account Name

JimmyJuarez10

Project(s) Name

CivicTechJobs

Action Items

Resources for

  1. ECR - Read/Write Docker Containers for our Application
robinglov commented 8 months ago

We need to move this issue over to incubator where we need to create these resources. Will need to understand who created the configuration files (in state file but not checked into codebase. @JimmyJuarez10 will investigate.

JimmyJuarez10 commented 7 months ago

Sorry I have been a bit inactive I was on vacation the past week. Attached is the configuration that was in the code base.

  {
    "family": "<FAMILY>",
    "taskRoleArn": "arn:aws:iam::035866691871:role/<TASK_ROLE_ARN>",
    "executionRoleArn": "arn:aws:iam::035866691871:role/<EXECUTION_ROLE_ARN>",
    "networkMode": "awsvpc",
    "requiresCompatibilities": ["FARGATE"],
    "cpu": "256",
    "memory": "512",
    "containerDefinitions": [
      {
        "name": "<CONTAINER_NAME>",
        "image": "",
        "portMappings": [
          {
            "containerPort": 8000,
            "protocol": "tcp"
          }
        ],
        "logConfiguration": {
          "logDriver": "awslogs",
          "options": {
            "awslogs-group": "ecs/<ECS_SERVICE>",
            "awslogs-region": "us-west-2",
            "awslogs-stream-prefix": "app"
          }
        },
        "healthCheck": {
          "command": ["CMD-SHELL", "curl -f http://localhost:8000/ || exit 1"],
          "interval": 30,
          "timeout": 5,
          "retries": 3,
          "startPeriod": 30
        }
      }
    ]
  }
ExperimentsInHonesty commented 7 months ago