site-logo

JAWS PANKRATION 2024

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

Lv300

Lv300

2024/8/24 20:40 (JST)

セッション情報

My team is migrating many projects built with Serverless Framework to AWS CDK and AWS SAM due to the change to paid licenses from Serverless Framework V4.

I will briefly talk about the reasons for the migration, what we are trying to do during the migration, and our outlook for the future.

Hiroshi  Kasahara

Hiroshi Kasahara

- AWS Community Builders -

- AWS User Community Leaders -

- AWS All Certified Engineers(APN) -



セッションカテゴリ
Application integration
Migration and transfer


関連AWSサービス
AWS CDK
AWS SAM
AWS Lambda
AWS Glue
AWS Step Functions


セッションアーカイブ

セッションサマリ(by Amazon Bedrock)
    The speaker, Hiroshi, discusses the transition from Serverless Framework to AWS CDK and SAM. Key points include: 1. Reasons for migration: Serverless Framework v4 became a paid license for organizations earning over $2 million annually. 2. Migration considerations: - Compare license and migration costs - Consider project's future growth potential - Compare features of Serverless Framework v4, CDK, and SAM 3. Migration strategies: - AWS SAM for small-scale applications - AWS CDK for medium to large-scale applications 4. CDK migration tips: - Gain CDK experience before migration - Conduct pilot projects and POCs - Utilize existing project assets efficiently 5. Reusing existing resources: - Lambda function code - Glue job code - Common libraries - State machines defined in ASL - Infrastructure definitions in CloudFormation templates 6. Challenges and solutions: - Lambda layers not widely used due to size limitations - Building and deploying shared libraries separately - Referencing existing infrastructure definitions instead of redefining them 7. Future outlook: - Use CDK for new projects - Consider Serverless Framework v4 if clients already use it - Gradually improve and adapt the migration process The speaker emphasizes the importance of choosing the optimal service for each project, gaining experience with CDK before migration, utilizing existing definition files, and implementing changes in a team-friendly manner while continuously improving the process.

©JAWS-UG (AWS User Group - Japan). All rights reserved.