SlideShare a Scribd company logo
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 1
Oracle Functions =
サーバーレス × Dockerコンテナ
Varun Madan
Senior Director, Software Development
Oracle Cloud – Serverless
@madvar
AWS Lambdaとの違いとは
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
以下の事項は、弊社の一般的な製品の方向性に関する概要を説明する
ものです。また、情報提供を唯一の目的とするものであり、いかなる
契約にも組み込むことはできません。以下の事項は、マテリアルや
コード、機能を提供することをコミットメント(確約)するものでは
ないため、購買決定を行う際の判断材料になさらないで下さい。オラ
クル製品に関して記載されている機能の開発、リリースおよび時期に
ついては、弊社の裁量により決定されます。
2
OracleとJavaは、Oracle Corporation 及びその子会社、関連会社の米国及びその他の国における登録商標です。
文中の社名、商品名等は各社の商標または登録商標である場合があります。
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 3
どうして、これらについて騒ぎ立てるのか?
● マイクロサービス?
● コンテナ?
● サーバーレス?
● FaaS?
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 4
ソフトウェア開発によりビジネスの俊敏性が加速する
開発プロセス アプリのアーキテクチャ デプロイ・パッケージ インフラストラクチャ
2000-072008-152016+
ウォーターフォール モノリシック 物理サーバ データセンター
N-ティア 仮想サーバ ホスティングアジャイル
Plan
Code
Build
Test
Release
Deploy
Operate
Monitor
DevOps
マイクロサービス コンテナ クラウド
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 5
コンテナ
DockerのWebサイトから引用:「コンテナ・イメージは、実行に
必要なすべてのもの(コード、ランタイム、システムツール、シ
ステムライブラリ、設定など)を含む、軽量でスタンド・アロー
ンな、ソフトウェアの実行可能パッケージ。」
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 6
Functions
Source: https://medium.com/oracledevs/containers-vs-functions-51c879216b97
Functions(関数)はコードのブロックで、理想的には一つの目的
のための小さなもの。
サーバーレスの文脈だと、ベンダーサービスのAWS Lambda、
Azure Functions、Google Cloud FunctionsなどのFaaSプラット
フォームと、OSSのフレームワークの Fn Project (当社発のプロ
ジェクト)、OpenWhisk, OpenFaasなど。
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 7
サーバーレス
Source: https://medium.com/oracledevs/containers-vs-functions-51c879216b97
OS、インフラストラクチャ、およびクラウドIaaS APIの上のアプ
リケーション層に、開発者のための抽象化層があるソフトウェア
設計のカテゴリ。
言い換えると、開発者はインフラストラクチャを意識しなくて良
い。
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 8
コンテナ vs サーバーレスの論争は、電気と電灯スイッチの論争
のようでバカげている
たとえ、あなたが(論争に)「勝った」と
しても、それはまだ重要な事ではない
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 9
コンテナ -> Function
Functionは、以下のようなよく知られた特色を持つコンテナ:
● 短い起動時間
● 揮発的
● ステートレス
● (処理が)呼び出される
● 一つの目的
● 自己完結型
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 10
FunctionをKubernetes上で実行するのがサーバーレス?
あなたの仕事はコンテナを稼働させること?
他のシステムとのやりとりは?Kubernetesの構成を信頼するのか?
(コンテナの)Podの上のリソース管理は?
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 11
Functions-as-a-service (FaaS)
抽象度
インフラストラクチャ実装に対する関心(および管理)の減少
仮想マシン
Function
コンテナ
ベアメタル
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12
サーバーレスの利点
俊敏性経済性 革新性信頼性
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 13
アジャイル –取り組むには未だに容易ではない
• サーバ数の見積もり
• 使っていないサーバへの支払い
とその管理
• 多様なトラフィックのさばき
• サーバコストの最適化
ビジネスのチャレンジ • ベンダー固有のサービス
• コードを環境に合わせて行く際に労力
がかかる
• 特殊な機能への依存
• 問題が見えづらい
ロックインに関するチャレンジ
• コードベース開発への取り組み
• 複数の開発環境をまたがっての一貫性の管理
• スケーラビリティ
アプリケーション開発のチャレンジ
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 14
Oracle Functions のご紹介
Oracle Functionsは、フルマネージド、高可用性、コンテナ・
ネイティブ、オン・デマンド型のFunction as a Serviceのプ
ラットフォーム。エンタープライズ・グレードの
Oracle Cloud Infrastructureに組み込まれていて、オープン・
ソースのFn Projectのエンジンで動作する。
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 15
Oracle Functions の導入
自動化
プラットフォーム上でオー
トスケールサーバの準備や
管理は不要
使っただけの課金
実行した時間だけの課金、
アイドル時間への課金不要
ロックインなし
オープンソースの
Fn Project とDocker ベース
Oracle Functions
Functions-as-a-Service
Oracle Cloud に統合
Container Native
マルチ・テナント
セキュア
オープン・ソースのエンジン
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
どのように動作するのか?
コンテナを
レジストリ
にpushする
Functionの
トリガーを設
定する
トリガーが
あった時にだけ
実行される
実行時間のみ
への課金
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions の課金モデル
リソース使用
リクエスト数
$0.00001417
以降、GB/秒
17
$0.20
以降、100万リクエストごと
無料
月間200万リクエスト
無料
月間 400,000 GB/秒
2x
AWS
15%
AWS
より
安価
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
Oracle Functions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
Oracle Functions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
Oracle Functions テナントのリソース
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
Oracle Functions OCI Servicesテナントのリソース
OCI
Registry
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
FunctionFunctionFunction
Oracle Functions OCI のサービステナントのリソース
OCI
Registry
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
呼び出し
FunctionFunctionFunction
DBaaS
Service B
Service C
Service A
Internet
Oracle Functions OCI のサービステナントのリソース
OCI
Registry
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Functions – 概要アーキテクチャ
Oracle Functions
呼び出し
FunctionFunctionFunction
DBaaS
Service B
Service C
Service A
Internet
OCI のサービス
Object
storage
Events
Key
Mgmt
OCI
Registry
Logging
Monitoring
テナントのリソース
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
デモ
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
一般的なユースケース – “イベント発生に応じてfunctionを実行”
Web, モバイル, IoT
のバックエンド
リアルタイムの
ストリーミングや
ファイル処理
DevOps
バッチ処理
クラウドサービスと
の統合、
イベント・ドリブン
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Functions as a “Oracle Cloud サービス統合”
Functions
Analytics
ERP
Data
HCM
CX
Supply Chain
StorageComputeNetwork
Integration
Mobile
Business
Insight Collaboration
Custom AppsData Mgmt
クラウド・アプリケーション (SaaS) クラウド・プラットフォーム (PaaS)
クラウド・インフラストラクチャ
(IaaS)
Audit Events
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
クラウドでのイベント・ドリブン・アーキテクチャ
ORACLE CLOUD
StorageCompute
Network
Function は、DB, Storage, その他
のサービスを利用できる
Function
のトリガー
FunctionsOCI EventsAudit
DB / DW
Storage
DB / DW
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
リアルタイム・データ処理
ORACLE CLOUD
別の低解像度
の画像の生成
高解像度の商品
イメージ画像の
アップロード
イメージをストレージ
に、メタデータを
データベースに保存
生成されたイメージは、
様々なデバイスで
表示される
Function
のトリガー
OCI Events
Functions
Object Store
Storage
DB / DW
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
デモ
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Webとモバイルのサーバーレス・バックエンド
ORACLE CLOUD
データの処理Expose functions as
REST API endpoints
Functions
Web, モバイル・アプリ
データの永続化
Storage
DB / DW
API Gateway
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 32
セキュリティ要求の強化
• 目標:ユーザーによってプロビジョニングされた全てのクラウドイ
ンフラのリソースが、自社のセキュリティ標準に準拠していること
を確認
• 解決方法:
– さまざまなIaaSリソース(VM、ネットワーク、データベース)の構成を検
証するための、監査用のfunctionを定義
– リソース作成時や変更時に監査用のfunctionを呼び出すため、OCI Events
サービスのルールを定義
– 自社の基準を満たさないリソースを削除
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 33
データの移動/変換
• 目標: 対象システムからレポーティング・システムへのデータの
移動と再フォーマット
• 解決方法
– 対象システムからデータを読み取り、目的の形式に変換し、変換された
データをターゲットのシステムへ送信するfunctionを定義
• 例:
– Kafkaから一連のJSON形式のレコードを読み取り、CSV形式に変換して
Elasticsearchシステムへ送信するfunction
– タイマーによって呼び出されるfunction
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 34
Function のランドスケープ
x 主要なものはプロプライエタリで、いつくはオープンソースがベース
x プラットフォーム間で共通の概念は多数あるが、業界標準はなし
x 開発者にとって容易ではない - 開発と本番の環境の忠実度が低い
x Java のサポートが乏しい
Amazon Web Services
Microsoft Azure
Google
IBM
Redhat
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 35
Oracle Functions 対 AWS Lambda
AWS 環境
のみでの実行
大きなロックイン
Functionとしての
Docker コンテナ
どこでも動作
オープンでポータブル
AWS Lambda
Oracle Functions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 36
Oracle Functions – 本セッションのまとめ
自動化
プラットフォーム上でオー
トスケールサーバの準備や
管理は不要
使っただけの課金
実行した時間だけの課金、
アイドル時間への課金不要
ロックインなし
オープンソースの
Fn Project とDocker ベース
Oracle Functions
Functions-as-a-Service
Oracle Cloud に統合
Container Native
マルチ・テナント
セキュア
オープン・ソースのエンジン
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 37
Thank You!
• Questions?
Varun Madan
Senior Director, Software Development
Oracle Cloud – Serverless
@madvar
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 38
Oracle Digitalは、オラクル製品の導入をご検討いただく際の総合窓口。
電話とインターネットによるダイレクトなコミュニケーションで、どんなお問い合わせにもすばやく対応します。
もちろん、無償。どんなことでも、ご相談ください。
[Modern Cloud Day Tokyo 2019] Oracle Functions = サーバーレス × Dockerコンテナ:AWS Lambdaとの違いとは

More Related Content

PDF
[Modern Cloud Day Tokyo 2019] オラクルコンサルが語る!事例でみていくOracle Cloud Infrastructure設...
PDF
Oracle Cloud Infrastructure:2021年12月度サービス・アップデート
PDF
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...
PDF
[Modern Cloud Day Tokyo 2019] ゼロから再設計したOracle Cloudのデータ保護戦略~7つの原則とその実装
PDF
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(1) - Netwo...
PDF
[Oracle Innovation Summit Tokyo 2018] 基幹システムのクラウド化への挑戦
PDF
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2021年2月3日)
PDF
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年4月7日)
[Modern Cloud Day Tokyo 2019] オラクルコンサルが語る!事例でみていくOracle Cloud Infrastructure設...
Oracle Cloud Infrastructure:2021年12月度サービス・アップデート
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...
[Modern Cloud Day Tokyo 2019] ゼロから再設計したOracle Cloudのデータ保護戦略~7つの原則とその実装
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(1) - Netwo...
[Oracle Innovation Summit Tokyo 2018] 基幹システムのクラウド化への挑戦
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2021年2月3日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年4月7日)

What's hot (20)

PDF
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年7月版]
PDF
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]
PDF
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年3月3日)
PDF
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
PDF
Oracle Cloud Infrastructure:2021年10月度サービス・アップデート
PPTX
オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部
PDF
Oracle Cloud PaaS & IaaS:2019年3月度サービス情報アップデート
PDF
事例から見る規模別クラウド・データベースの選び方 (Oracle Database) (Oracle Cloudウェビナーシリーズ: 2021年6月30日)
PDF
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年4月版]
PDF
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年6月16日)
PDF
Oracle Cloud Infrastructure セキュリティの取り組み [2021年8月版]
PDF
【旧版】オラクルのブロックチェーンソリューションご紹介(2021/08版)
PDF
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年6月版]
PDF
【旧版】Oracle Autonomous Database Cloud サービス紹介資料 [2020年/3月版]
PDF
Oracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデート
PDF
オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)
PDF
企業システムで使えるマイクロサービスの特長と実践 (Oracle Cloudウェビナーシリーズ: 2021年4月15日)
PDF
Oracle Cloud Infrastructure:2022年1月度サービス・アップデート
PPTX
OCI Data Integration Overview 2021年5月版
PPTX
Oracle Cloud Infrastructure:2021年4月度サービス・アップデート
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年7月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年3月3日)
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年9月22日)
Oracle Cloud Infrastructure:2021年10月度サービス・アップデート
オラクルのDX事例から学ぶ「次世代クラウド・インフラストラクチャとは?」第16回しゃちほこオラクル俱楽部
Oracle Cloud PaaS & IaaS:2019年3月度サービス情報アップデート
事例から見る規模別クラウド・データベースの選び方 (Oracle Database) (Oracle Cloudウェビナーシリーズ: 2021年6月30日)
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年4月版]
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年6月16日)
Oracle Cloud Infrastructure セキュリティの取り組み [2021年8月版]
【旧版】オラクルのブロックチェーンソリューションご紹介(2021/08版)
【旧版】Oracle Exadata Cloud Service:サービス概要のご紹介 [2021年6月版]
【旧版】Oracle Autonomous Database Cloud サービス紹介資料 [2020年/3月版]
Oracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデート
オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)
企業システムで使えるマイクロサービスの特長と実践 (Oracle Cloudウェビナーシリーズ: 2021年4月15日)
Oracle Cloud Infrastructure:2022年1月度サービス・アップデート
OCI Data Integration Overview 2021年5月版
Oracle Cloud Infrastructure:2021年4月度サービス・アップデート
Ad

Similar to [Modern Cloud Day Tokyo 2019] Oracle Functions = サーバーレス × Dockerコンテナ:AWS Lambdaとの違いとは (20)

PDF
SaaSをもっと便利に、使いやすくする方法 [Oracle Cloud Days Tokyo 2016]
PPTX
20191015 beyondstudy oracle_nagahisa
PPTX
20191015 oracle beyondstudy
PDF
20190620 multicloud share
PDF
Oracle Cloud Platform:サービス概要と活用ケースのご紹介
PDF
ITアーキテクトのためのOracle Cloud Platform設計・構築入門 [Oracle Cloud Days Tokyo 2016]
PDF
[Modern Cloud Day Tokyo 2019] Oracle CloudでDevOps!?Javaアプリケーションのモダン開発を支援するOra...
PDF
【OCP Summit 2016】エンジニア100人でOracle Cloud使い始めました&全てのプラットフォームでJP1を
PDF
クラウド慎重派も納得!“社内パブリッククラウド”でセキュリティとコスト削減を両立 [Oracle Cloud Days Tokyo 2016]
PDF
オラクルが提唱するクラウドの真価と可能性(Oracle Cloud Days Tokyo 2015)
PDF
[Modern Cloud Day Tokyo 2019] 攻撃を排除し、正しくユーザーを認証・監視、Oracle Cloudのセキュリティ・サービスの概要
PDF
エンタープライズ・クラウドのシステム・デザイン・パターン [Oracle Cloud Days Tokyo 2016]
PDF
[Oracle Innovation Summit Tokyo 2018] Fn Project: Next Generation Serverless ...
PDF
Oracle Integration Cloud Process Automation概要資料(20200507版)
PDF
Oracle Cloud PaaS & IaaS:2018年5月度サービス情報アップデート
PDF
OCI serverless introduction
PDF
[DevSumi2019]Cloud Native アプリケーションに最適!Oracle Cloud Infrastructureの魅力!
PDF
Oracle も Serverless サービスやっています
PDF
[Modern Cloud Day Tokyo 2019] KubeConに登壇したCloud Native Labsのエンジニアが、初学者にも分かりやす...
PDF
Oracle Cloudでエンタープライズシステムを!
SaaSをもっと便利に、使いやすくする方法 [Oracle Cloud Days Tokyo 2016]
20191015 beyondstudy oracle_nagahisa
20191015 oracle beyondstudy
20190620 multicloud share
Oracle Cloud Platform:サービス概要と活用ケースのご紹介
ITアーキテクトのためのOracle Cloud Platform設計・構築入門 [Oracle Cloud Days Tokyo 2016]
[Modern Cloud Day Tokyo 2019] Oracle CloudでDevOps!?Javaアプリケーションのモダン開発を支援するOra...
【OCP Summit 2016】エンジニア100人でOracle Cloud使い始めました&全てのプラットフォームでJP1を
クラウド慎重派も納得!“社内パブリッククラウド”でセキュリティとコスト削減を両立 [Oracle Cloud Days Tokyo 2016]
オラクルが提唱するクラウドの真価と可能性(Oracle Cloud Days Tokyo 2015)
[Modern Cloud Day Tokyo 2019] 攻撃を排除し、正しくユーザーを認証・監視、Oracle Cloudのセキュリティ・サービスの概要
エンタープライズ・クラウドのシステム・デザイン・パターン [Oracle Cloud Days Tokyo 2016]
[Oracle Innovation Summit Tokyo 2018] Fn Project: Next Generation Serverless ...
Oracle Integration Cloud Process Automation概要資料(20200507版)
Oracle Cloud PaaS & IaaS:2018年5月度サービス情報アップデート
OCI serverless introduction
[DevSumi2019]Cloud Native アプリケーションに最適!Oracle Cloud Infrastructureの魅力!
Oracle も Serverless サービスやっています
[Modern Cloud Day Tokyo 2019] KubeConに登壇したCloud Native Labsのエンジニアが、初学者にも分かりやす...
Oracle Cloudでエンタープライズシステムを!
Ad

More from オラクルエンジニア通信 (20)

PDF
Oracle Cloud Infrastructure:2023年5月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2023年4月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2023年3月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2023年2月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2023年1月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年12月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年11月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年10月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年9月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年8月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年7月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年6月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年5月度サービス・アップデート
PDF
Oracle Cloud Infrastructure:2022年4月度サービス・アップデート
PDF
Oracle Cloud Infrastructure データベース・クラウド:各バージョンのサポート期間 (2022年4月版)
PPTX
MySQL Technology Cafe #14 MySQL Shellを使ってもっと楽をしようの会
PDF
Oracle Cloud Infrastructure:2022年3月度サービス・アップデート
PPTX
Oracle Cloud Infrastructure:2022年2月度サービス・アップデート
PDF
Oracle Databaseはクラウドに移行するべきか否か 全10ケースをご紹介 (Oracle Cloudウェビナーシリーズ: 2021年11月30日)
PDF
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
Oracle Cloud Infrastructure:2023年5月度サービス・アップデート
Oracle Cloud Infrastructure:2023年4月度サービス・アップデート
Oracle Cloud Infrastructure:2023年3月度サービス・アップデート
Oracle Cloud Infrastructure:2023年2月度サービス・アップデート
Oracle Cloud Infrastructure:2023年1月度サービス・アップデート
Oracle Cloud Infrastructure:2022年12月度サービス・アップデート
Oracle Cloud Infrastructure:2022年11月度サービス・アップデート
Oracle Cloud Infrastructure:2022年10月度サービス・アップデート
Oracle Cloud Infrastructure:2022年9月度サービス・アップデート
Oracle Cloud Infrastructure:2022年8月度サービス・アップデート
Oracle Cloud Infrastructure:2022年7月度サービス・アップデート
Oracle Cloud Infrastructure:2022年6月度サービス・アップデート
Oracle Cloud Infrastructure:2022年5月度サービス・アップデート
Oracle Cloud Infrastructure:2022年4月度サービス・アップデート
Oracle Cloud Infrastructure データベース・クラウド:各バージョンのサポート期間 (2022年4月版)
MySQL Technology Cafe #14 MySQL Shellを使ってもっと楽をしようの会
Oracle Cloud Infrastructure:2022年3月度サービス・アップデート
Oracle Cloud Infrastructure:2022年2月度サービス・アップデート
Oracle Databaseはクラウドに移行するべきか否か 全10ケースをご紹介 (Oracle Cloudウェビナーシリーズ: 2021年11月30日)
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]

[Modern Cloud Day Tokyo 2019] Oracle Functions = サーバーレス × Dockerコンテナ:AWS Lambdaとの違いとは

  • 1. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 1 Oracle Functions = サーバーレス × Dockerコンテナ Varun Madan Senior Director, Software Development Oracle Cloud – Serverless @madvar AWS Lambdaとの違いとは
  • 2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 以下の事項は、弊社の一般的な製品の方向性に関する概要を説明する ものです。また、情報提供を唯一の目的とするものであり、いかなる 契約にも組み込むことはできません。以下の事項は、マテリアルや コード、機能を提供することをコミットメント(確約)するものでは ないため、購買決定を行う際の判断材料になさらないで下さい。オラ クル製品に関して記載されている機能の開発、リリースおよび時期に ついては、弊社の裁量により決定されます。 2 OracleとJavaは、Oracle Corporation 及びその子会社、関連会社の米国及びその他の国における登録商標です。 文中の社名、商品名等は各社の商標または登録商標である場合があります。
  • 3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 3 どうして、これらについて騒ぎ立てるのか? ● マイクロサービス? ● コンテナ? ● サーバーレス? ● FaaS?
  • 4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 4 ソフトウェア開発によりビジネスの俊敏性が加速する 開発プロセス アプリのアーキテクチャ デプロイ・パッケージ インフラストラクチャ 2000-072008-152016+ ウォーターフォール モノリシック 物理サーバ データセンター N-ティア 仮想サーバ ホスティングアジャイル Plan Code Build Test Release Deploy Operate Monitor DevOps マイクロサービス コンテナ クラウド
  • 5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 5 コンテナ DockerのWebサイトから引用:「コンテナ・イメージは、実行に 必要なすべてのもの(コード、ランタイム、システムツール、シ ステムライブラリ、設定など)を含む、軽量でスタンド・アロー ンな、ソフトウェアの実行可能パッケージ。」
  • 6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 6 Functions Source: https://medium.com/oracledevs/containers-vs-functions-51c879216b97 Functions(関数)はコードのブロックで、理想的には一つの目的 のための小さなもの。 サーバーレスの文脈だと、ベンダーサービスのAWS Lambda、 Azure Functions、Google Cloud FunctionsなどのFaaSプラット フォームと、OSSのフレームワークの Fn Project (当社発のプロ ジェクト)、OpenWhisk, OpenFaasなど。
  • 7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 7 サーバーレス Source: https://medium.com/oracledevs/containers-vs-functions-51c879216b97 OS、インフラストラクチャ、およびクラウドIaaS APIの上のアプ リケーション層に、開発者のための抽象化層があるソフトウェア 設計のカテゴリ。 言い換えると、開発者はインフラストラクチャを意識しなくて良 い。
  • 8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 8 コンテナ vs サーバーレスの論争は、電気と電灯スイッチの論争 のようでバカげている たとえ、あなたが(論争に)「勝った」と しても、それはまだ重要な事ではない
  • 9. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 9 コンテナ -> Function Functionは、以下のようなよく知られた特色を持つコンテナ: ● 短い起動時間 ● 揮発的 ● ステートレス ● (処理が)呼び出される ● 一つの目的 ● 自己完結型
  • 10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 10 FunctionをKubernetes上で実行するのがサーバーレス? あなたの仕事はコンテナを稼働させること? 他のシステムとのやりとりは?Kubernetesの構成を信頼するのか? (コンテナの)Podの上のリソース管理は?
  • 11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 11 Functions-as-a-service (FaaS) 抽象度 インフラストラクチャ実装に対する関心(および管理)の減少 仮想マシン Function コンテナ ベアメタル
  • 12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12 サーバーレスの利点 俊敏性経済性 革新性信頼性
  • 13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 13 アジャイル –取り組むには未だに容易ではない • サーバ数の見積もり • 使っていないサーバへの支払い とその管理 • 多様なトラフィックのさばき • サーバコストの最適化 ビジネスのチャレンジ • ベンダー固有のサービス • コードを環境に合わせて行く際に労力 がかかる • 特殊な機能への依存 • 問題が見えづらい ロックインに関するチャレンジ • コードベース開発への取り組み • 複数の開発環境をまたがっての一貫性の管理 • スケーラビリティ アプリケーション開発のチャレンジ
  • 14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 14 Oracle Functions のご紹介 Oracle Functionsは、フルマネージド、高可用性、コンテナ・ ネイティブ、オン・デマンド型のFunction as a Serviceのプ ラットフォーム。エンタープライズ・グレードの Oracle Cloud Infrastructureに組み込まれていて、オープン・ ソースのFn Projectのエンジンで動作する。
  • 15. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 15 Oracle Functions の導入 自動化 プラットフォーム上でオー トスケールサーバの準備や 管理は不要 使っただけの課金 実行した時間だけの課金、 アイドル時間への課金不要 ロックインなし オープンソースの Fn Project とDocker ベース Oracle Functions Functions-as-a-Service Oracle Cloud に統合 Container Native マルチ・テナント セキュア オープン・ソースのエンジン
  • 16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | どのように動作するのか? コンテナを レジストリ にpushする Functionの トリガーを設 定する トリガーが あった時にだけ 実行される 実行時間のみ への課金
  • 17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions の課金モデル リソース使用 リクエスト数 $0.00001417 以降、GB/秒 17 $0.20 以降、100万リクエストごと 無料 月間200万リクエスト 無料 月間 400,000 GB/秒 2x AWS 15% AWS より 安価
  • 18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し Oracle Functions
  • 19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し Oracle Functions
  • 20. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し Oracle Functions テナントのリソース
  • 21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し Oracle Functions OCI Servicesテナントのリソース OCI Registry
  • 22. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し FunctionFunctionFunction Oracle Functions OCI のサービステナントのリソース OCI Registry
  • 23. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ 呼び出し FunctionFunctionFunction DBaaS Service B Service C Service A Internet Oracle Functions OCI のサービステナントのリソース OCI Registry
  • 24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Functions – 概要アーキテクチャ Oracle Functions 呼び出し FunctionFunctionFunction DBaaS Service B Service C Service A Internet OCI のサービス Object storage Events Key Mgmt OCI Registry Logging Monitoring テナントのリソース
  • 25. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | デモ
  • 26. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 一般的なユースケース – “イベント発生に応じてfunctionを実行” Web, モバイル, IoT のバックエンド リアルタイムの ストリーミングや ファイル処理 DevOps バッチ処理 クラウドサービスと の統合、 イベント・ドリブン
  • 27. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Functions as a “Oracle Cloud サービス統合” Functions Analytics ERP Data HCM CX Supply Chain StorageComputeNetwork Integration Mobile Business Insight Collaboration Custom AppsData Mgmt クラウド・アプリケーション (SaaS) クラウド・プラットフォーム (PaaS) クラウド・インフラストラクチャ (IaaS) Audit Events
  • 28. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | クラウドでのイベント・ドリブン・アーキテクチャ ORACLE CLOUD StorageCompute Network Function は、DB, Storage, その他 のサービスを利用できる Function のトリガー FunctionsOCI EventsAudit DB / DW Storage DB / DW
  • 29. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | リアルタイム・データ処理 ORACLE CLOUD 別の低解像度 の画像の生成 高解像度の商品 イメージ画像の アップロード イメージをストレージ に、メタデータを データベースに保存 生成されたイメージは、 様々なデバイスで 表示される Function のトリガー OCI Events Functions Object Store Storage DB / DW
  • 30. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | デモ
  • 31. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Webとモバイルのサーバーレス・バックエンド ORACLE CLOUD データの処理Expose functions as REST API endpoints Functions Web, モバイル・アプリ データの永続化 Storage DB / DW API Gateway
  • 32. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 32 セキュリティ要求の強化 • 目標:ユーザーによってプロビジョニングされた全てのクラウドイ ンフラのリソースが、自社のセキュリティ標準に準拠していること を確認 • 解決方法: – さまざまなIaaSリソース(VM、ネットワーク、データベース)の構成を検 証するための、監査用のfunctionを定義 – リソース作成時や変更時に監査用のfunctionを呼び出すため、OCI Events サービスのルールを定義 – 自社の基準を満たさないリソースを削除
  • 33. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 33 データの移動/変換 • 目標: 対象システムからレポーティング・システムへのデータの 移動と再フォーマット • 解決方法 – 対象システムからデータを読み取り、目的の形式に変換し、変換された データをターゲットのシステムへ送信するfunctionを定義 • 例: – Kafkaから一連のJSON形式のレコードを読み取り、CSV形式に変換して Elasticsearchシステムへ送信するfunction – タイマーによって呼び出されるfunction
  • 34. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 34 Function のランドスケープ x 主要なものはプロプライエタリで、いつくはオープンソースがベース x プラットフォーム間で共通の概念は多数あるが、業界標準はなし x 開発者にとって容易ではない - 開発と本番の環境の忠実度が低い x Java のサポートが乏しい Amazon Web Services Microsoft Azure Google IBM Redhat
  • 35. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 35 Oracle Functions 対 AWS Lambda AWS 環境 のみでの実行 大きなロックイン Functionとしての Docker コンテナ どこでも動作 オープンでポータブル AWS Lambda Oracle Functions
  • 36. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 36 Oracle Functions – 本セッションのまとめ 自動化 プラットフォーム上でオー トスケールサーバの準備や 管理は不要 使っただけの課金 実行した時間だけの課金、 アイドル時間への課金不要 ロックインなし オープンソースの Fn Project とDocker ベース Oracle Functions Functions-as-a-Service Oracle Cloud に統合 Container Native マルチ・テナント セキュア オープン・ソースのエンジン
  • 37. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 37 Thank You! • Questions? Varun Madan Senior Director, Software Development Oracle Cloud – Serverless @madvar
  • 38. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 38 Oracle Digitalは、オラクル製品の導入をご検討いただく際の総合窓口。 電話とインターネットによるダイレクトなコミュニケーションで、どんなお問い合わせにもすばやく対応します。 もちろん、無償。どんなことでも、ご相談ください。