SlideShare uma empresa Scribd logo
1 de 49
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker,
서버리스 컴퓨팅을 위한 오픈소스
microVM 기술
류한진
Cloud Architect
Eland systems
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
류한진
Cloud Architect, Eland Group
Fashion, Food, Retail, Hotel & Resort
AWSKRUG 오거나이저
- 데이터과학 소모임
- 컨테이너 소모임
- CLI 소모임
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
개요
• Lambda 로 보는 서버리스 컴퓨팅
• Lambda worker 구조
• Firecracker
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
이벤트 기반 서버리스 컴퓨팅
서버 유지 관리, 용량 프로비저닝, 배포,
모니터링, 로깅 등 컴퓨팅 리소스 관리를
자동으로 수행
실제로 이벤트를 처리한 시간*용량만큼
과금
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
우리가 신경 쓰지 않아도
Lambda는 알아서 해줍니다.
• Load Balancing
• Auto Scaling
• Handling Failures
• Security Isolation
• Managing Utilization
• 기타 등등…
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
: 동기/비동기 호출 조율
: Concurrency 추적/제한 설정
: Worker 상태 트래킹/스케쥴링
: Sandbox, 어플리케이션 코드 실행
: Sandbox 배치할 위치 결정
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Cloud
Region
Lambda customer
(New Function or
Scaling Up)
Availability zone 2
Availability zone 1
Invoke
Front End
Invoke
Front End
Worker Mgr
Worker Mgr
Reserve Sandbox
Invoke
Init
Placement
Claim Worker
Worker
Worker
Worker
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda는 관리하지 않아도 유연한 확장성을
주고 자동화된 가용성을 내장
= 유연한 확장성과 가용성을 얻기 위한 아키텍처를
설계하고 유지하기 위한 노력을 하지 않아도 된다
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Hardware
Host OS
Hypervisor
Guest OS
Sandbox
Lambda Runtime
Our Code
Worker의 layer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Worker의 layer 격리
per One Function
per One Account
Our Code
Lambda
Runtime
Sandbox
Guest OS
Hypervisor
Host OS
Hardware
Guest OS
Sandbox Sandbox Sandbox
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
cgroups
namespaces
seccomp
iptables
chroot
Our Code
Lambda
Runtime
Sandbox
Guest OS
Hypervisor
Host OS
Hardware
Guest OS
Sandbox Sandbox Sandbox
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Sandbox / Function간 격리
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
virtualization &
device emulation
Our Code
Lambda
Runtime
Sandbox
Guest OS (Amazon Linux)
Hypervisor
Host OS
Hardware
Guest OS (Amazon Linux)
Sandbox Sandbox Sandbox
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
VM / Account간 격리
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
그리고 Nitro...
Our Code
Lambda
Runtime
Sandbox
Guest OS (Amazon Linux)
Nitro Hypervisor
Hardware
Guest OS (Amazon Linux)
Sandbox Sandbox Sandbox
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nitro: AWS re:Invent 2017
2017년 11월 발표
2013부터 개발 시작
최신 인스턴스는 모두 Nitro
hardware/software를 의도적으로 만듬
AWS를 위해 Hypervisor 빌드
AWS Nitro
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nitro Hypervisor
KVM-based hypervisor with
custom MM and small
userspace
실제로 인스턴스가
사용하는 기능만 남김
Nitro는 hypervisor를 빠르고 간단하게 만듭니다.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
현재의 Woker
Our Code
Lambda
Runtime
Sandbox
Guest OS (Amazon Linux)
Nitro Hypervisor
Hardware
Guest OS (Amazon Linux)
Sandbox Sandbox Sandbox
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
Our Code
Lambda
Runtime
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker기술이 적용된 Worker
OurCode
Lambda
Runtime
Sandbox
GuestOS
Firecraker Hypervisor
Hardware (EC2 Bare Metal)
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
OurCode
Lambda
Runtime
Sandbox
GuestOS
Our
Code
Lambda
Runtime
Sandbox
Guest
OS
per One Function
Many Accounts
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
re:Invent 2018 공개
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker
• Linux KVM 을 사용하여 microVM을
만들고 관리하는 VMM
• User space에서 실행
• microVM의 빠른 시작시간과 낮은
메모리오버헤드로 수천개의
microVM을 한 서버에 패킹
• QEMU의 대안
• Restfull API로 Firecracker 프로세스 제어
• 보안적으로 안전한 Host-guestOS간
설정 정보 공유서비스제공
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker 호스트와 통합
최소한의 디바이스
모델만 제공
• virtio-net
• virtio-io
• Serial console
• 1-버튼
키보드컨트롤러
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker 내부 아키텍처
API thread
• API 서버, 컨트롤 플레인
VMM thread
• 컴퓨터 모델
• 최소한의 레거시 디바이스 모델
• MicroVM Metadata Service
• Net, Block 장치
vCPU thread
• guestOS CPU 코어 수
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker Micro-VMs
보안 속도를 위한 디자인 Scale과 efficiency
최소한의 device model은 memory
footprint를 줄이고 공격받을 수
있는 영역을 줄입니다
User-space code in <125ms,
150 microVM
per second per host
적은 memory overhead.
각 서버에 높은 밀도 (수천개) 의
microVM
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker 오픈소스 프로젝트
Open Source and on GitHub
Serverless를 위한 빌드
AWS Lambda and AWS Fargate
Rust 로 작성
아직 초기단계, 해야할 것들
Containerd integration
Linux improvements
Kata integration
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Hardware
Host OS
Hypervisor
Guest OS
virtio drivers
virtio host in Firecracker
Physical
Devices
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda 사용자 :
Pay only for useful work.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda 운영자 :
항상 서버가 바쁘도록 최적화
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Bad:
60% 60% 60% 60% 60% 60% 60%
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Good:
99% 99% 99% 99% 0% 0% 0%
Cache Locality
Ability to Autoscale
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Server
Bad: 한 워크로드를 packing
Workload
Workload
Workload
Workload
Workload
Workload
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Server
Better: 다수 워크로드를 packing
Workload
Workload
Workload
Workload
Workload
Workload
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Server
Best: 배치 최적화
Workload
Workload
Workload
Workload
Workload
Workload
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Worker
Lambda
Function
ENI in
your VPC
Your VPC
Local NAT
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Worker
Lambda
Function
Improving VPC start-up and scaling: 2019 예정
ENI in
your VPC
Your VPC
Remote
NAT
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker Hypervisor vs 그외
↓
↓
↑
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Firecracker 는
Higher Utilization와
Scale을 가능케 합니다
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
류한진
Cloud Architect
Eland Systems

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 
Docker internals
Docker internalsDocker internals
Docker internals
 
7. 게임 스트리밍 서비스를 위한 아키텍처 - 언리얼 엔진을 중심으로! [레벨 300] - 발표자: 하흥수, 솔루션즈 아키텍트, AWS :...
7.	게임 스트리밍 서비스를 위한 아키텍처 - 언리얼 엔진을 중심으로! [레벨 300] - 발표자: 하흥수, 솔루션즈 아키텍트, AWS :...7.	게임 스트리밍 서비스를 위한 아키텍처 - 언리얼 엔진을 중심으로! [레벨 300] - 발표자: 하흥수, 솔루션즈 아키텍트, AWS :...
7. 게임 스트리밍 서비스를 위한 아키텍처 - 언리얼 엔진을 중심으로! [레벨 300] - 발표자: 하흥수, 솔루션즈 아키텍트, AWS :...
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017
 
Kubernetes networking
Kubernetes networkingKubernetes networking
Kubernetes networking
 
Dockerクイックツアー
DockerクイックツアーDockerクイックツアー
Dockerクイックツアー
 
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
 
AWS Black Belt Techシリーズ Amazon VPC
AWS Black Belt Techシリーズ Amazon VPCAWS Black Belt Techシリーズ Amazon VPC
AWS Black Belt Techシリーズ Amazon VPC
 
What is Docker Architecture | Edureka
What is Docker Architecture | EdurekaWhat is Docker Architecture | Edureka
What is Docker Architecture | Edureka
 
Cisco sddc solution 소개
Cisco sddc solution 소개Cisco sddc solution 소개
Cisco sddc solution 소개
 
SDDC(software defined data center)에서 NFV의 역할과 관리도구 (세미나 발표 자료)
SDDC(software defined data center)에서 NFV의 역할과 관리도구 (세미나 발표 자료)SDDC(software defined data center)에서 NFV의 역할과 관리도구 (세미나 발표 자료)
SDDC(software defined data center)에서 NFV의 역할과 관리도구 (세미나 발표 자료)
 
PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...
PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...
PUBG: Battlegrounds 라이브 서비스 EKS 전환 사례 공유 [크래프톤 - 레벨 300] - 발표자: 김정헌, PUBG Dev...
 
Managing Egress with Istio
Managing Egress with IstioManaging Egress with Istio
Managing Egress with Istio
 
Ansible Automation Platform.pdf
Ansible Automation Platform.pdfAnsible Automation Platform.pdf
Ansible Automation Platform.pdf
 
Improving Performance of Micro-Frontend Applications through Error Monitoring
Improving Performance of Micro-Frontend Applications through Error MonitoringImproving Performance of Micro-Frontend Applications through Error Monitoring
Improving Performance of Micro-Frontend Applications through Error Monitoring
 
쿠키런: 킹덤 대규모 인프라 및 서버 운영 사례 공유 [데브시스터즈 - 레벨 200] - 발표자: 용찬호, R&D 엔지니어, 데브시스터즈 ...
쿠키런: 킹덤 대규모 인프라 및 서버 운영 사례 공유 [데브시스터즈 - 레벨 200] - 발표자: 용찬호, R&D 엔지니어, 데브시스터즈 ...쿠키런: 킹덤 대규모 인프라 및 서버 운영 사례 공유 [데브시스터즈 - 레벨 200] - 발표자: 용찬호, R&D 엔지니어, 데브시스터즈 ...
쿠키런: 킹덤 대규모 인프라 및 서버 운영 사례 공유 [데브시스터즈 - 레벨 200] - 발표자: 용찬호, R&D 엔지니어, 데브시스터즈 ...
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Deep dive in Docker Overlay Networks
Deep dive in Docker Overlay NetworksDeep dive in Docker Overlay Networks
Deep dive in Docker Overlay Networks
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
게임사를 위한 Amazon GameLift 세션 - 이정훈, AWS 솔루션즈 아키텍트
게임사를 위한 Amazon GameLift 세션 - 이정훈, AWS 솔루션즈 아키텍트게임사를 위한 Amazon GameLift 세션 - 이정훈, AWS 솔루션즈 아키텍트
게임사를 위한 Amazon GameLift 세션 - 이정훈, AWS 솔루션즈 아키텍트
 

Semelhante a Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 :: 류한진 - AWS Community Day 2019

Semelhante a Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 :: 류한진 - AWS Community Day 2019 (20)

A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
A Serverless Journey: AWS Lambda Under the Hood (SRV409-R1) - AWS re:Invent 2018
 
2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless
2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless
2018 10-19-jc conf-embrace-legacy-java-ee-by-aws-serverless
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
Secure and Fast microVM for Serverless Computing using Firecracker
Secure and Fast microVM for Serverless Computing using FirecrackerSecure and Fast microVM for Serverless Computing using Firecracker
Secure and Fast microVM for Serverless Computing using Firecracker
 
ServerlessConf 2018 Keynote - Debunking Serverless Myths
ServerlessConf 2018 Keynote - Debunking Serverless MythsServerlessConf 2018 Keynote - Debunking Serverless Myths
ServerlessConf 2018 Keynote - Debunking Serverless Myths
 
ServerlessConf 2018 Keynote - Debunking Serverless Myths (no video / detailed...
ServerlessConf 2018 Keynote - Debunking Serverless Myths (no video / detailed...ServerlessConf 2018 Keynote - Debunking Serverless Myths (no video / detailed...
ServerlessConf 2018 Keynote - Debunking Serverless Myths (no video / detailed...
 
Ci/CD for AWS Lambda Projects - JLM CTO Club
Ci/CD for AWS Lambda Projects - JLM CTO ClubCi/CD for AWS Lambda Projects - JLM CTO Club
Ci/CD for AWS Lambda Projects - JLM CTO Club
 
Serverless use cases with AWS Lambda - More Serverless Event
Serverless use cases with AWS Lambda - More Serverless EventServerless use cases with AWS Lambda - More Serverless Event
Serverless use cases with AWS Lambda - More Serverless Event
 
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
 
AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day Israel
 
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni ServerlessForza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
 
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
 
Introduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day JerusalemIntroduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day Jerusalem
 
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 

Mais de AWSKRUG - AWS한국사용자모임

Mais de AWSKRUG - AWS한국사용자모임 (20)

IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
 
Docker를 활용한 손쉬운 ECS 활용기 - 김민태 (AUSG) :: AWS Community Day Online 2021
Docker를 활용한 손쉬운 ECS 활용기 - 김민태 (AUSG) :: AWS Community Day Online 2021Docker를 활용한 손쉬운 ECS 활용기 - 김민태 (AUSG) :: AWS Community Day Online 2021
Docker를 활용한 손쉬운 ECS 활용기 - 김민태 (AUSG) :: AWS Community Day Online 2021
 
AWS와 함께하는 무중단 배포 파이프라인 개선기 - 황성찬 (AUSG) :: AWS Community Day Online 2021
AWS와 함께하는 무중단 배포 파이프라인 개선기 - 황성찬 (AUSG) :: AWS Community Day Online 2021AWS와 함께하는 무중단 배포 파이프라인 개선기 - 황성찬 (AUSG) :: AWS Community Day Online 2021
AWS와 함께하는 무중단 배포 파이프라인 개선기 - 황성찬 (AUSG) :: AWS Community Day Online 2021
 
보안을 위한 AWS Network 구성 - 우수연 (AUSG) :: AWS Community Day Online 2021
보안을 위한 AWS Network 구성 - 우수연 (AUSG) :: AWS Community Day Online 2021보안을 위한 AWS Network 구성 - 우수연 (AUSG) :: AWS Community Day Online 2021
보안을 위한 AWS Network 구성 - 우수연 (AUSG) :: AWS Community Day Online 2021
 
자연어 처리 ML모델을 활용한 이커머스 문제 해결하기 - 진현두 (카카오스타일) :: AWS Community Day Online 2021
자연어 처리 ML모델을 활용한 이커머스 문제 해결하기 - 진현두 (카카오스타일) :: AWS Community Day Online 2021자연어 처리 ML모델을 활용한 이커머스 문제 해결하기 - 진현두 (카카오스타일) :: AWS Community Day Online 2021
자연어 처리 ML모델을 활용한 이커머스 문제 해결하기 - 진현두 (카카오스타일) :: AWS Community Day Online 2021
 
Athena & Step Function 으로 통계 파이프라인 구축하기 - 변규현 (당근마켓) :: AWS Community Day Onl...
Athena & Step Function 으로 통계 파이프라인 구축하기 - 변규현 (당근마켓) :: AWS Community Day Onl...Athena & Step Function 으로 통계 파이프라인 구축하기 - 변규현 (당근마켓) :: AWS Community Day Onl...
Athena & Step Function 으로 통계 파이프라인 구축하기 - 변규현 (당근마켓) :: AWS Community Day Onl...
 
자바개발자가 최대한 빠르게 서비스를 오픈하는 방법 - 최진환 (드라마앤컴퍼니) :: AWS Community Day Online 2021
자바개발자가 최대한 빠르게 서비스를 오픈하는 방법 - 최진환 (드라마앤컴퍼니) :: AWS Community Day Online 2021자바개발자가 최대한 빠르게 서비스를 오픈하는 방법 - 최진환 (드라마앤컴퍼니) :: AWS Community Day Online 2021
자바개발자가 최대한 빠르게 서비스를 오픈하는 방법 - 최진환 (드라마앤컴퍼니) :: AWS Community Day Online 2021
 
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
 
커뮤니티 빌더를 아시나요? - 윤평호(AWSKRUG) :: AWS Community Day Online 2021
커뮤니티 빌더를 아시나요? - 윤평호(AWSKRUG) :: AWS Community Day Online 2021커뮤니티 빌더를 아시나요? - 윤평호(AWSKRUG) :: AWS Community Day Online 2021
커뮤니티 빌더를 아시나요? - 윤평호(AWSKRUG) :: AWS Community Day Online 2021
 
복잡한 권한신청문제 ConsoleMe로 해결하기 - 손건 (AB180) :: AWS Community Day Online 2021
복잡한 권한신청문제 ConsoleMe로 해결하기 - 손건 (AB180) :: AWS Community Day Online 2021복잡한 권한신청문제 ConsoleMe로 해결하기 - 손건 (AB180) :: AWS Community Day Online 2021
복잡한 권한신청문제 ConsoleMe로 해결하기 - 손건 (AB180) :: AWS Community Day Online 2021
 
ECS to EKS 마이그레이션 경험기 - 유용환(Superb AI) :: AWS Community Day Online 2021
ECS to EKS 마이그레이션 경험기 - 유용환(Superb AI) :: AWS Community Day Online 2021ECS to EKS 마이그레이션 경험기 - 유용환(Superb AI) :: AWS Community Day Online 2021
ECS to EKS 마이그레이션 경험기 - 유용환(Superb AI) :: AWS Community Day Online 2021
 
복잡한 기존 시스템에 피쳐 애드업 후기 - 김태웅(브랜디) :: AWS Community Day Online 2021
복잡한 기존 시스템에 피쳐 애드업 후기 - 김태웅(브랜디) :: AWS Community Day Online 2021복잡한 기존 시스템에 피쳐 애드업 후기 - 김태웅(브랜디) :: AWS Community Day Online 2021
복잡한 기존 시스템에 피쳐 애드업 후기 - 김태웅(브랜디) :: AWS Community Day Online 2021
 
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
 
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
 
[AWS Hero 스페셜] 서버리스 기반 검색 서비스 구축하기 - 이상현(스마일벤처스) :: AWS Community Day Online ...
[AWS Hero 스페셜] 서버리스 기반 검색 서비스 구축하기 - 이상현(스마일벤처스) :: AWS Community Day Online ...[AWS Hero 스페셜] 서버리스 기반 검색 서비스 구축하기 - 이상현(스마일벤처스) :: AWS Community Day Online ...
[AWS Hero 스페셜] 서버리스 기반 검색 서비스 구축하기 - 이상현(스마일벤처스) :: AWS Community Day Online ...
 
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
 
[AWS Hero 스페셜] Amazon Personalize를 통한 개인화/추천 서비스 개발 노하우 - 소성운(크로키닷컴) :: AWS C...
[AWS Hero 스페셜] Amazon Personalize를 통한 개인화/추천 서비스 개발 노하우 - 소성운(크로키닷컴) :: AWS C...[AWS Hero 스페셜] Amazon Personalize를 통한 개인화/추천 서비스 개발 노하우 - 소성운(크로키닷컴) :: AWS C...
[AWS Hero 스페셜] Amazon Personalize를 통한 개인화/추천 서비스 개발 노하우 - 소성운(크로키닷컴) :: AWS C...
 
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
 
온라인 주문 서비스를 서버리스 아키텍쳐로 구축하기 - 김태우(Classmethod) :: AWS Community Day Online 2020
온라인 주문 서비스를 서버리스 아키텍쳐로 구축하기 - 김태우(Classmethod) :: AWS Community Day Online 2020온라인 주문 서비스를 서버리스 아키텍쳐로 구축하기 - 김태우(Classmethod) :: AWS Community Day Online 2020
온라인 주문 서비스를 서버리스 아키텍쳐로 구축하기 - 김태우(Classmethod) :: AWS Community Day Online 2020
 
엔터프라이즈 기업을 위한 Digital 플랫폼 구축 사례 - 권낙주(SK C&C) :: AWS Community Day Online 2020
엔터프라이즈 기업을 위한 Digital 플랫폼 구축 사례 - 권낙주(SK C&C)  :: AWS Community Day Online 2020엔터프라이즈 기업을 위한 Digital 플랫폼 구축 사례 - 권낙주(SK C&C)  :: AWS Community Day Online 2020
엔터프라이즈 기업을 위한 Digital 플랫폼 구축 사례 - 권낙주(SK C&C) :: AWS Community Day Online 2020
 

Último

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Último (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 :: 류한진 - AWS Community Day 2019

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 류한진 Cloud Architect Eland systems
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 류한진 Cloud Architect, Eland Group Fashion, Food, Retail, Hotel & Resort AWSKRUG 오거나이저 - 데이터과학 소모임 - 컨테이너 소모임 - CLI 소모임
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 개요 • Lambda 로 보는 서버리스 컴퓨팅 • Lambda worker 구조 • Firecracker
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 이벤트 기반 서버리스 컴퓨팅 서버 유지 관리, 용량 프로비저닝, 배포, 모니터링, 로깅 등 컴퓨팅 리소스 관리를 자동으로 수행 실제로 이벤트를 처리한 시간*용량만큼 과금
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 우리가 신경 쓰지 않아도 Lambda는 알아서 해줍니다. • Load Balancing • Auto Scaling • Handling Failures • Security Isolation • Managing Utilization • 기타 등등…
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. : 동기/비동기 호출 조율 : Concurrency 추적/제한 설정 : Worker 상태 트래킹/스케쥴링 : Sandbox, 어플리케이션 코드 실행 : Sandbox 배치할 위치 결정
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Cloud Region Lambda customer (New Function or Scaling Up) Availability zone 2 Availability zone 1 Invoke Front End Invoke Front End Worker Mgr Worker Mgr Reserve Sandbox Invoke Init Placement Claim Worker Worker Worker Worker
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda는 관리하지 않아도 유연한 확장성을 주고 자동화된 가용성을 내장 = 유연한 확장성과 가용성을 얻기 위한 아키텍처를 설계하고 유지하기 위한 노력을 하지 않아도 된다
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hardware Host OS Hypervisor Guest OS Sandbox Lambda Runtime Our Code Worker의 layer
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Worker의 layer 격리 per One Function per One Account Our Code Lambda Runtime Sandbox Guest OS Hypervisor Host OS Hardware Guest OS Sandbox Sandbox Sandbox Our Code Lambda Runtime Our Code Lambda Runtime Our Code Lambda Runtime
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. cgroups namespaces seccomp iptables chroot Our Code Lambda Runtime Sandbox Guest OS Hypervisor Host OS Hardware Guest OS Sandbox Sandbox Sandbox Our Code Lambda Runtime Our Code Lambda Runtime Our Code Lambda Runtime Sandbox / Function간 격리
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. virtualization & device emulation Our Code Lambda Runtime Sandbox Guest OS (Amazon Linux) Hypervisor Host OS Hardware Guest OS (Amazon Linux) Sandbox Sandbox Sandbox Our Code Lambda Runtime Our Code Lambda Runtime Our Code Lambda Runtime VM / Account간 격리
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 그리고 Nitro... Our Code Lambda Runtime Sandbox Guest OS (Amazon Linux) Nitro Hypervisor Hardware Guest OS (Amazon Linux) Sandbox Sandbox Sandbox Our Code Lambda Runtime Our Code Lambda Runtime Our Code Lambda Runtime
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Nitro: AWS re:Invent 2017 2017년 11월 발표 2013부터 개발 시작 최신 인스턴스는 모두 Nitro hardware/software를 의도적으로 만듬 AWS를 위해 Hypervisor 빌드 AWS Nitro
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Nitro Hypervisor KVM-based hypervisor with custom MM and small userspace 실제로 인스턴스가 사용하는 기능만 남김 Nitro는 hypervisor를 빠르고 간단하게 만듭니다.
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 현재의 Woker Our Code Lambda Runtime Sandbox Guest OS (Amazon Linux) Nitro Hypervisor Hardware Guest OS (Amazon Linux) Sandbox Sandbox Sandbox Our Code Lambda Runtime Our Code Lambda Runtime Our Code Lambda Runtime
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker기술이 적용된 Worker OurCode Lambda Runtime Sandbox GuestOS Firecraker Hypervisor Hardware (EC2 Bare Metal) Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS OurCode Lambda Runtime Sandbox GuestOS Our Code Lambda Runtime Sandbox Guest OS per One Function Many Accounts
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. re:Invent 2018 공개
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker • Linux KVM 을 사용하여 microVM을 만들고 관리하는 VMM • User space에서 실행 • microVM의 빠른 시작시간과 낮은 메모리오버헤드로 수천개의 microVM을 한 서버에 패킹 • QEMU의 대안 • Restfull API로 Firecracker 프로세스 제어 • 보안적으로 안전한 Host-guestOS간 설정 정보 공유서비스제공
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker 호스트와 통합 최소한의 디바이스 모델만 제공 • virtio-net • virtio-io • Serial console • 1-버튼 키보드컨트롤러
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker 내부 아키텍처 API thread • API 서버, 컨트롤 플레인 VMM thread • 컴퓨터 모델 • 최소한의 레거시 디바이스 모델 • MicroVM Metadata Service • Net, Block 장치 vCPU thread • guestOS CPU 코어 수
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker Micro-VMs 보안 속도를 위한 디자인 Scale과 efficiency 최소한의 device model은 memory footprint를 줄이고 공격받을 수 있는 영역을 줄입니다 User-space code in <125ms, 150 microVM per second per host 적은 memory overhead. 각 서버에 높은 밀도 (수천개) 의 microVM
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker 오픈소스 프로젝트 Open Source and on GitHub Serverless를 위한 빌드 AWS Lambda and AWS Fargate Rust 로 작성 아직 초기단계, 해야할 것들 Containerd integration Linux improvements Kata integration
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hardware Host OS Hypervisor Guest OS virtio drivers virtio host in Firecracker Physical Devices
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda 사용자 : Pay only for useful work.
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda 운영자 : 항상 서버가 바쁘도록 최적화
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Bad: 60% 60% 60% 60% 60% 60% 60%
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Good: 99% 99% 99% 99% 0% 0% 0% Cache Locality Ability to Autoscale
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Server Bad: 한 워크로드를 packing Workload Workload Workload Workload Workload Workload
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Server Better: 다수 워크로드를 packing Workload Workload Workload Workload Workload Workload
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Server Best: 배치 최적화 Workload Workload Workload Workload Workload Workload
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Worker Lambda Function ENI in your VPC Your VPC Local NAT
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Worker Lambda Function Improving VPC start-up and scaling: 2019 예정 ENI in your VPC Your VPC Remote NAT
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker Hypervisor vs 그외 ↓ ↓ ↑
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Firecracker 는 Higher Utilization와 Scale을 가능케 합니다
  • 49. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 류한진 Cloud Architect Eland Systems