Slide 1

Slide 1 text

͸·ʔΜ(@track3jyo) あなたと 「|」 したい・・・ ぱいぷ nakanoshima.dev #33 Dec 20, 2022

Slide 2

Slide 2 text

WHO?? はまーん / track3jyo AWS / 西のスタートアップSA ---- • 過去のスライド: https://speakerdeck.com/track3jyo • 最近はおうちアーキテクトな人

Slide 3

Slide 3 text

Τΰα͍ͨ͠ɾɾɾ

Slide 4

Slide 4 text

Ͱ΋ωΨςΟϒͳ͜ͱॻ͔ΕͯͨΒා͍ɾɾɾ

Slide 5

Slide 5 text

શͯΛղܾ͢ΔʮͰ΋͕ͦ͜޷͖ʯ

Slide 6

Slide 6 text

$ tail -f tweet.log | grep '͸·ʔΜ' \ | sed -e 's/$/Ͱ΋͕ͦ͜޷͖...♡/' ͜͏͍ͨ͠ʂʂʂʂʂ

Slide 7

Slide 7 text

ʮʛʯ ύΠϓ͕΄͍͠ʂʂ

Slide 8

Slide 8 text

EventBridge Pipes ͕ར༻ՄೳʹͳΓ·ͨ͠ʂ

Slide 9

Slide 9 text

EventBridge Pipes ͱ͸ API Destination API Gateway Lambda Batch CloudWatch ECS EventBridge Bus Kinesis Data Firehose Inspector Kinesis Data Streams Redshift SageMaker pipeline SNS SQS Step Functions Source MQ SQS DynamoDB Stream MSK Kinesis Data Stream self managed Kafka filter Step Functions Lambda API Destination API Gateway transform transform Target EventBridge Pipes enrich • ΠϕϯτϓϩσϡʔαʔͱίϯγϡʔϚؒͷ࿈ܞΛҰ؏ͨ͠ํ๏Ͱ࣮૷ • ΞϓϦέʔγϣϯͱͯ͠ͷΠϕϯτ/ϝοηʔδॲཧΛѻ͏ • ϓϩσϡʔαʔ΁ͷ Polling΍ DeleteMessage(SQS) ͳͲͷ੹຿΋౉ͤΔ

Slide 10

Slide 10 text

࡞ͬͯΈͨ

Slide 11

Slide 11 text

Enrich ϑΣʔζͷ Step Functions Ͱ΍ͬͯΔ͜ͱ όονऔಘ͢Δͱ ഑ྻͰ౉͞ΕΔͷͰMap ॲཧ ૊ΈࠐΈؔ਺Ͱσʔλͷલॲཧ States.StringToJson(States.Base64Decode($.data) Comprehend: DetectSentiment (πΠʔτຊจͷײ৘෼ੳ) States.Format ؔ਺ͰɺຊจΛม׵ States.Format('{} \n Ͱ΋͕ͦ͜޷͖...ὑʂ', $.data.body)

Slide 12

Slide 12 text

σϞ͢ΔΑ ʢTwitter ͷ͝४උΛʣ

Slide 13

Slide 13 text

πΠʔτͯ͠ΈͯͶʂʂ • ͜ΜͳπΠʔτΛͯ͠Έ͍ͯͩ͘͞ • #nakanoshima_dev Λ͚ͭͯπΠʔτ(ඞਢ) • ͸·ʔΜ͔Β࢝·ΔπΠʔτ(Φϓγϣϯ) • e.g.ʮ͸·ʔΜɺ͔͍͍ͬ͜ʂʯʮ͸·ʔΜ࠷ߴʂʯʮ͸·ʔΜɺ͏Δ͍͞ʯ

Slide 14

Slide 14 text

ʢ´-`ʣ.ŇoOʢ͋·ΓʹϦΞϧͳωΨςΟϒͳ࿩͸ ٽ͍ͪΌ͏ͷͰɺ΋͠ຊ৺͡Όͳ͍ͳΒޙͰফͯ͠Ͷwʣ

Slide 15

Slide 15 text

ʮʛʯ ύΠϓ͸શͯΛٹ͏ʂ

Slide 16

Slide 16 text

Thank you for your attention!! please follow me @track3jyo