Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploying Fargate servicer with CloudFormation

ProdOps
December 21, 2017

Deploying Fargate servicer with CloudFormation

ProdOps

December 21, 2017
Tweet

More Decks by ProdOps

Other Decks in Technology

Transcript

  1. Amazon ECS Launch Types An Amazon ECS launch type determines

    the type of infrastructure on which your tasks and services are hosted. Fargate EC2
  2. > Fargate only supports network mode awsvpc > Fargate requires

    that the privileged setting be false at the container level > Fargate requires log configuration options to include awslogs-stream-prefix to support log driver awslogs > Fargate requires task definition to have execution role ARN to support log driver awslogs > Fargate requires that 'memory' be defined at the task level > No Fargate configuration exists for given values > The provided target group <Target-Group-ARN> has target type instance, which is incompatible with the awsvpc network mode specified in the task definition > Network Configuration must be provided when networkMode 'awsvpc' is specified > You cannot specify an IAM role for services that require a service linked role > Placement strategies are not supported with FARGATE launch type > CannotPullContainerError: API error (500): Get https://000.dkr.ecr.us-east-1.amazonaws.com/v2/
  3. Reading materials and links https://github.com/omerxx/ecscale - Scaling ECS instances down

    autmatically https://blog.devopspro.co.uk/deploying-fargate-services-using-cloudformation-the-guide- i-wish-i-had-d89b6dc62303 - Migrating CloudFormation from EC2 to FARGATE https://github.com/awslabs/ecs-refarch-cloudformation - AWSLABS CloudFormation http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html