Aws - Service (Microservice)

Card Puncher Data Processing

About

Web - Micro-service in Aws is managed by the ECS service

AWS offers managed services for:

Management

create-service

aws ecs create-service --cli-input-json file://module-2/aws-cli/service-definition.json
{
  "serviceName": "MythicalMysfits-Service",
  "cluster": "MythicalMysfits-Cluster",
  "launchType": "FARGATE",
  "deploymentConfiguration": {
    "maximumPercent": 200,
    "minimumHealthyPercent": 0
  },
  "desiredCount": 1,
  "networkConfiguration": {
    "awsvpcConfiguration": {
      "assignPublicIp": "DISABLED",
      "securityGroups": [
        "REPLACE_ME_SECURITY_GROUP_ID"
      ],
      "subnets": [
        "REPLACE_ME_PRIVATE_SUBNET_ONE",
        "REPLACE_ME_PRIVATE_SUBNET_TWO"
      ]
    }
  },
  "taskDefinition": "mythicalmysfitsservice",
  "loadBalancers": [
    {
      "containerName": "MythicalMysfits-Service",
      "containerPort": 8080,
      "targetGroupArn": "REPLACE_ME_NLB_TARGET_GROUP_ARN"
    }
  ]
}

where:

Documentation / Reference





Discover More
Card Puncher Data Processing
Aws - Elastic Container Service (Ecs)

Amazon Elastic Container Service (Amazon ECS) is a container orchestration service that supports Docker containers. A task in ECS is a set of container images that should be scheduled together....
Aws Moder App Mysfits Home Page
Aws - Modern Web App Workshop

Note the Aws project Build a Modern Web Application Code: aws-samples/aws-modern-application-workshop/tree/python...



Share this page:
Follow us:
Task Runner