LoginSignup
1
8

More than 5 years have passed since last update.

PaaSとサーバレス

Last updated at Posted at 2018-11-26

似て非なるもの
今更ですが自分的によくわからないので整理のために

PaaSとは

PaaS(Platform as a Service)、ソースコードをデプロイするだけで
アプリケーションが動く
メリット:今までサーバ立ててミドルインストールして・・・という手間がなくなる
     サーバ構成を意識する必要がない
デメリット:動作する言語に制約がある場合がある

・AWS Elastic Beanstalk
・Azure App Service
・Google App Engine

サーバレスとは

大きく分けて下記2つ

FaaS(Function as a Service)
起動しない限りコストが発生せず、関数が使われた時間や起動数で課金される
・AWS Lambda
・Azure Functions
・Google Cloud Functions

BaaS(Backend as a service)
アプリケーション構築に必要な機能を提供
・Google FireBase
・AWS Mobile Hub

メリット:
デメリット

で、結局どちらを選べばいいの?

※あくまで目安として

PaaSを選択する場合
→アプリケーションを長時間で動かす必要がある
 支出パターンの変動を避けたい場合

サーバレスを選択する場合
→短期間で不定期なタスクが多い場合
インフラ管理から解放されたい場合

1
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
8