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

What we keep in mind when migrating from Server...

What we keep in mind when migrating from Serverless Framework to AWS CDK and AWS SAM

2024/08/24 (Sat.) 11:40 (UTC) / 20:40 (JST)

JAWS PANKRATION 2024で発表した資料。

JAWS PANKRATION 2024:
https://jawspankration2024.jaws-ug.jp/en/

Session Infomation:
https://jawspankration2024.jaws-ug.jp/en/timetable/TT-28/

kasacchiful

August 24, 2024
Tweet

More Decks by kasacchiful

Other Decks in Programming

Transcript

  1. "CPVU.F  @kasacchiful @kasacchiful )JSPTIJ,BTBIBSB w8PSL$MBTTNFUIPE *OD%BUB"OBMZUJDT#VTJOFTT%JW w3PMF4PMVUJPOT"SDIJUFDU w)PNFUPXO/JJHBUBDJUZ +BQBO

    w'BWPSJUFT4ɺ-BNCEBɺ4UFQ'VODUJPOT w+"846(/JJHBUB w"84$PNNVOJUZ#VJMEFS"846TFS(SPVQ-FBEFS +BQBO"84"MM$FSUJ fi DBUJPOT&OHJOFFS
  2. & ff FDUJWFVTFPGFYJTUJOHQSPKFDUBTTFUT  w6TFBTJT -BNCEBGVODUJPO`TDPEF(MVFKPC`TDPEF -BNCEB-BZFS`TDPEF(MVFKPC`TDPNNPOMJCSBSZDPEF XIM  4UBUF.BDIJOFEF

    fi OFEJO"4-:".- *OGSBTUSVDUVSFEF fi OFEJO$MPVEGPSNBUJPOUFNQMBUF w3FEF fi OF -BNCEBGVODUJPOEF fi OJUJPOT(MVFKPCEF fi OJUJPOT 0UIFSUIJOHTUIBUOFFEUPCFEF fi OFEJOUIFBQQMJDBUJPO
  3. 4UBUF.BDIJOFEF fi OFEJO"4-:".-  w-PBE"4-:".- 6TJOHQMBDFIPMEFSTGPSSFGFSFODFWBMVFTJOTUBUFNBDIJOF // State Machine this.stateMachine

    = new StateMachine(this, 'FirstProcessingStateMachine', { stateMachineName: `${props.projectName}-first-processing-state-machine`, role: stateMachineRole, definitionBody: DefinitionBody.fromFile( 'resources/step-functions/state-machine.asl.yaml' ), definitionSubstitutions: { ToChangeFormatFunctionArn: props.toChangeFormatFunction.functionArn, SnsTopicArn: props.snsTopic.topicArn, } });
  4. *OGSBTUSVDUVSF  w"84JOGSBTUSVDUVSFXBTPSJHJOBMMZEF fi OFEJOUIF $MPVEGPSNBUJPOUFNQMBUF /PUJOTFSWFSMFTTZNM 0S JOTPNFDBTFT EF

    fi OFEJOEFQFOEFOUMZPOUIFDMJFOUTJEF BOEXFEPO`UIBWFPQFSBUJPOBMQSJWJMFHFT w/PUGPSDJCMZSFEF fi OFEJO"84$%, CVUVTFEBTB SFGFSFODF
  5. *OGSBTUSVDUVSFJTEF fi OFEJO$MPVEGPSNBUJPO  w"84JOGSBTUSVDUVSFJTEF fi OFEJOUIF$MPVEGPSNBUJPO  FWFOGPSOFXQSPKFDUT *OGSBTUSVDUVSFXJMMCFVTFEBTBSFGFSFODFGSPN"84$%,

    BOE"844". *OGSBTUSVDUVSFIBTBEJ ff FSFOUMJGFDZDMFUIBOBQQMJDBUJPOT w"TXFHBJONPSFFYQFSJFODFXJUI$%,EFWFMPQNFOU  DPOTJEFSEF fi OJOHBTFQBSBUF$%,TUBDL
  6.