owned this note changed 5 years ago
Linked with GitHub

AWS Firecracker VMM 之 大熱天捲起袖子動手玩 - Ernest Chiang

tags: COSCUP2020 中階 AU

歡迎來到 https://hackmd.io/@coscup/2020 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

議程資訊

Live Demo

Firecracker Workshop Collections: https://github.com/dwchiang/firecracker-workshops

#01: Getting Started with Firecracker in 2 Minutes

傳送門:https://github.com/dwchiang/firecracker-workshops/tree/master/01-getting-started

這個 workshop 主要讓大家很輕鬆無負擔地將 Firecracker 跑起來運行,拉近大家與 Firecracker 的距離。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

#02: Creating 4,000 microVMs in 90 Seconds

傳送門:https://github.com/dwchiang/firecracker-workshops/tree/master/02-4000-microVMs

第二個 workshop 結合了兩個開源專案:

  • 專案一:使用 Pahud 做的 cdk-spot-one,可以很方便地開啟一台 Amazon EC2 Spot Instance,享受 Spot 折扣價格而且不用擔心忘記關掉機器。我整理成一包 aws-spot-one,方便隨時使用。
    • 這次用這個工具,開了一台 i3.metal EC2 Bare metal 機器起來玩。設定成只開一個小時就會將機器自己關掉,不怕忘記,機器自己關掉。
    • i3.metal 相關的尺寸資訊:64 vCPU, 208 ECU, 512 GiB Memory, 8 x 1900 NVMe SSD, 在 us-east-2 region 開起來的每小時單價為 US$4.992。
    • 用 Spot 方式開起來,每小時變成 US$1.5,70% off。
  • 專案二:是 Firecracker 官方的一個 demo。
    • 這個 demo 很有趣,會在一台 i3.metal EC2 Bare metal 實體機器上用 Firecracker 跑起 4,000 個 microVM,並且用視覺化的方式來呈現整個喚起的過程。
    • 最後統計量測這堆 microVM 花了多少時間的一些統計。
    • 今天這次 live demo 在現場約花費 82 秒將這 4,000 個 microVM 跑起來同時運行。

影片:分成兩段落,

  • 00:00 使用 CDK aws-spot-one,開一台 EC2 bare metal spot instance。
  • 05:25 喚起 4,000 個 microVMs。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Select a repo