서버리스(serverless) 프레임웍 비교 - claudiajs와 chalice를 중심으로 (윤석찬)

12
ClaudiaJSChalice를 중심으로 서버리스(Serverless) 프레임웍 비교 윤석찬 아마존웹서비스코리아, 테크에반젤리스트 @channyun

Upload: aws-korea-usergroup-aws

Post on 21-Jan-2017

1.085 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

ClaudiaJS와 Chalice를 중심으로

서버리스(Serverless) 프레임웍 비교

윤석찬아마존웹서비스코리아, 테크에반젤리스트

@channyun

Page 2: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

A Comparison of Serverless Frameworks Serverless Apex ClaudiaJS Chalice

Aim Feature-rich solution for multi-vendors

Simple and robust solution

Serverless deployment utility

Serverless micro-framework for AWS

Runtime NodeJSPythonJava

GolangNodeJSPythonJava

NodeJS Python

CLI Support O O O O

Resources Management

O △(Terraform)

X X

Multi-vendors △(AWS only)

X X X

Plugin O △(User-defined handler)

△(3rd party builders)

X

Unit-test X X △(Partial unit-test)

X

(Channy Yun’s Personal opinions in2016 September)

Page 3: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Serverless Framework

• Full-managed the lifecycle of your serverless architecture

• Required resource managers using AWS CloudFormation

• Built-in support for multiple stages and optimized for CI/CD workflows.

• Extending Serverless Ecosystem• 100% Extensible: Extend or modify the

Framework and its operations via Plugins

• Future support for multi-vendors

https://github.com/serverless/serverless

Page 4: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Apex

• Golang based Serverless Framework• Supports languages Lambda does not

natively support via shim, such as Go Lang• Deployment optimized

• Binary install (install apex quickly for continuous deployment in CI etc)

• Idempotent deployments (checksums skip already-deployed code)

• Transparently generates a zip for your deploy, Function rollback support and tail function logs, concurrency for quick deploys

https://github.com/apex/apex

Page 5: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

ClaudiaJS

• Claudia is a deployment utility, not a framework and Getting started easily with a simple web API

• Extensions for new features• API Builder• Chatbot Builder

• Enabling unit-test for Lambda Functions• https://claudiajs.com/tutorials/designing-testable-

lambdas.html• https://claudiajs.com/tutorials/testing-locally.html

https://github.com/claudiajs/

Page 6: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Demo: ClaudiaJShttps://youtu.be/pJNXS_BYEUU?t=46m25s

Page 7: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Chalice

• Python ServerlessMicroframework for AWS

• A command line tool for creating, deploying, and managing your app

• A familiar and easy to use API for declaring views in python code

• Preview in now• This project is published as a

preview project, and is not yet recommended for production APIs.

https://github.com/awslabs/chalice

Page 8: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Demo: Chalicehttps://youtu.be/_ZPSBJon-oI

Page 9: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Other Lambda-focused Frameworks• Zappa

• Facilitates the deployment of all Python WSGI applications on AWS Lambda + API Gateway.

• Kappa• A Python command line tool that (hopefully) makes it easier to

deploy, update, and test functions for AWS Lambda.• Lambda-complex:

• A Node.js framework for applications that runs entirely within Lambda, SQS, and other high abstraction layers AWS services.

• λ Gordon: • An automation tool based on self-contained CloudFormation

templates for many AWS Resources• λambdify:

• A tool that turns any python callable into an AWS Lambda function. Serverless Functional Reactive Programming

• Python-lambda: • A toolset for developing and deploying serverless Python code

in AWS Lambda.

Page 10: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

AWS Zombie Apocalypse Workshop살고싶다면 AWS 서버리스 아키텍처에 탑승하라!

전대미문의좀비사태를퇴치할시스템개발을위한Zombie Apocalypse Workshop 워크샵에참여하세요!

2016년 10월 14일(금) | 역삼동 GS타워 25층

http://bit.ly/awskr-zombie10월 14일(금) 오후 2시

Page 11: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Serverless 관련 한국어 자료

http://www.slideshare.net/awskorea/serverless-architecture-lambda-api-gateway

https://youtu.be/pJNXS_BYEUU

https://aws.amazon.com/ko/blogs/korea/category/severless/

서버리스 아키텍처 강의 동영상

서버리스 아키텍처 강의 슬라이드 다운로드

서버리스 아키텍처 관련 한국어 블로그 소식

Page 12: 서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)

Q&A

@channyunAWS 클라우드 서비스 사용 시, 궁금한 점은 페이스북 메시지 혹은

이메일 [email protected] 으로 해주세요!