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

AWS ECS の説明 /aws-ecs-introduction

yutachaos
October 01, 2018

AWS ECS の説明 /aws-ecs-introduction

サポーターズ下記勉強会用資料
https://supporterzcolab.com/event/522/

yutachaos

October 01, 2018
Tweet

More Decks by yutachaos

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ໦ଜ༐ଠ • SREΤϯδχΞ • ϓϩάϥϛϯάݴޠ • Java, node,

    PHP, Ruby, Go • ීஈ͸AWSΛར༻ͨ͠γεςϜͷӡ༻ɺӡ༻վળͱ͔΍ͬͯ·͢ɻ • ࠷ۙ͸EnvoyΛ͍ͬͯ͡·ͨ͠ɻ • AWS Certificated Solutions Architect • AWS Certificated DepOps Engineer
  2. • ߓʹ͋ΔΞϨ • Container ʹ DockerͰ͸ͳ͍ɻ • Docker͸ίϯςφܕԾ૝Խͷ࣮૷ͷҰͭ • Docker͸ΧʔωϧͱcgroupsͳͲͷٕज़Λ૊

    Έ߹ΘͤͯɺΞϓϦέʔγϣϯͱϥϯλΠϜ ࣮ߦ؀ڥΛ·ͱΊͯ෼཭͢Δٕज़ • ίϯςφ͸ϓϩηε ͬ͘͟Γͱͨ͠ղઆ
  3. • Elastic Container Serviceͷུ • AWS͕ఏڙ͢ΔίϯςφΦʔέετϨʔ γϣϯπʔϧ • e.g. kubernates,

    docker swarmͱ͔ • Docker͚ͩͰ͸ग़དྷͳ͍ίϯςφͷ Scaling, ഑ஔ, ؅ཧΛߦ͏αʔϏε ECSʹ͍ͭͯ
  4. • ECR • Elastic Container RegistryͷུɺAWS্ͰϚωʔδυʹ ӡ༻͞ΕΔɺDocker imageΛอଘ͢ΔRegistry • Cluster

    • Container͕࣮ࡍʹ࣮ߦ͞ΕΔEC2Πϯελϯεͷू߹ ମ • Service • Task definitionΛ΋ͱʹͯ͠࡞੒͞ΕͨTaskΛ͍ͭ͘ى ಈ͢Δ͔ɺͲͷΑ͏ʹ഑ஔ͢Δͷ͔ɺͲͷϩʔυόϥϯ αʔܦ༝Ͱ௨৴͢Δ͔ͷઃఆɻTask definitionͱ1:1Ͱ ઃఆ͢Δ ༻ޠ1
  5. Fargate launch typeʹ͍ͭͯ • ECSʹ͸̎ͭͷlaunch type EC2 launch typeͱ Fargate

    launch type͕͋Δɻ • EC2 launch type͸ContainerΛಈ͔ͨ͢ΊͷEC2Λ؅ ཧ͢Δඞཁ͕͋Δ͕ɺFargate launch type͸ಈ͔ͨ͢ ΊͷEC2ͷresourceΛAWSଆͰ؅ཧͯ͘͠ΕΔɻ • ؅ཧίετ͕ݮΔ • ݸਓతʹ͸·ͩಋೖͨ͜͠ͱͳ͍ɻ
  6. Cloud Native landscape • https://landscape.cncf.io/ • CNCF(Cloud Native Computing Foundation)

    ͕ఏ͍ࣔͯ͠ΔɺCloud NativeͳΞϓϦέʔ γϣϯΛનΊ্͍ͯ͘ͰͷϩʔυϚοϓ