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

terraform,ECS,ALBで作るお気軽デプロイinfrastructure

machu
September 29, 2016

 terraform,ECS,ALBで作るお気軽デプロイinfrastructure

サンプルコードは後ほど掲載します。

machu

September 29, 2016
Tweet

More Decks by machu

Other Decks in Technology

Transcript

  1. resource "aws_ecs_task_definition" “test_task_definition” { family = “test-nginx" container_definitions = <<DEFINITION

    [ { "name": “test-nginx", "image": "registry.eitangosapuri.jp/test-nginx:b848744", "cpu": 128, "memory": 512, "essential": true, "portMappings": [ { "containerPort": 80, "hostPort": 80 } ] } ] DEFINITION } ͔͑͜͜Δ͚ͩ↑
  2. Ͱ΋ɺμ΢ϯλΠϜ 0 23࣌53෼50ඵ | blue env 23࣌53෼51ඵ | blue env

    23࣌53෼52ඵ | blue env 23࣌53෼53ඵ | blue env 23࣌53෼54ඵ | green env 23࣌53෼55ඵ | blue env 23࣌53෼57ඵ | green env 23࣌53෼58ඵ | blue env 23࣌53෼59ඵ | green env 23࣌54෼00ඵ | blue env 23࣌54෼01ඵ | green env 23࣌54෼05ඵ | blue env 23࣌54෼06ඵ | green env 23࣌54෼07ඵ | blue env 23࣌54෼08ඵ | green env 23࣌54෼09ඵ | blue env 23࣌54෼10ඵ | green env 23࣌54෼12ඵ | blue env 23࣌54෼13ඵ | green env 23࣌54෼14ඵ | blue env 23࣌54෼15ඵ | green env 23࣌54෼16ඵ | green env 23࣌54෼20ඵ | green env