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

ECS+S3でスクレイピングを試してみた

 ECS+S3でスクレイピングを試してみた

sug1t0m0

July 05, 2019
Tweet

More Decks by sug1t0m0

Other Decks in Programming

Transcript

  1. λεΫ࣮ߦϩʔϧͷϙϦγʔΛΞλονͰ͖ͳ͍ - νϡʔτϦΞϧ: Amazon ECS CLI Λ࢖༻ͯ͠ Fargate λεΫͷΫϥελʔΛ࡞੒͢ΔΛࢀߟʹ࡞ۀΛਐΊͯ ͍͕ͨҎԼͷίϚϯυ͕͏·࣮͘ߦ͞Εͳ͔ͬͨ

    aws iam --region us-west-2 attach-role-policy - -role-name ecsTaskExecutionRole --policy-arn arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy
  2. ·ͱΊ - S3ͷΞΫηεΩʔΛ؀ڥม਺ͱͯ͠ίϯςφʹ ౉͕ͨ͠, ΋ͬͱ͍͍ํ๏͕͋Δ͸ͣ - 1λεΫͰىಈ͢Δίϯςφ਺Λ૿΍ͯ͠ίϯς φؒ௨৴Λࢼͯ͠Έ͍ͨ - ecs-cli

    up ίϚϯυͰαϒωοτ͕2ͭఆٛ͞Ε ͨVPC͕ੜ੒͞ΕΔͷ͸Կނͳͷ͔? (azʹґଘ͢ΔΒ͍͠ɺ࣭ٙԠ౴ͷ࣌ؒʹղܾ)