movable type in the cloud

20
Movable Type in the cloud 天野卓 @ ToI 企画

Upload: taku-amano

Post on 12-Jun-2015

2.034 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Movable Type in the cloud

Movable Typein the cloud

天野卓 @ ToI 企画

Page 2: Movable Type in the cloud

自己紹介

Movable Type のプラグインを開発し、フリーソフト

ウェアとして配布しています。

http://tec.toi-planning.net/

http://mt-acme.sourceforge.jp/

http://sourceforge.jp/projects/ckeditor/

http://twitter.com/usualoma/

Page 3: Movable Type in the cloud

この発表に関する資料

以下の URL からダウンロードできます。

http://tec.toi-planning.net/mt-column/event/

mt-in-the-cloud/

Page 4: Movable Type in the cloud

クラウド時代の

Movable Type Publishing Platform

Page 5: Movable Type in the cloud

Before Cloud

Page 6: Movable Type in the cloud

After Deploying

Page 7: Movable Type in the cloud

Amazonhttp://tec.toi-planning.net/mt/amazon/about/

Page 8: Movable Type in the cloud

これは何か?

Amazon S3 へアイテムや CSS をアップロードしま

す。

アップロードしたアイテムが Amazon S3 からダウン

ロードされるように URL を差し替えます。

追加で設定を行うと、 Amazon S3 ではなく Amazo

n CloudFront 経由でダウンロードされる URL に差

し替えることもできます。

Page 9: Movable Type in the cloud

Amazon S3 とは?

容量無制限でファイルをアップロードできるストレー

ジサービス。

DropBox のバックエンドにも使われている。

アップロードしたファイルは誰でもダウンロード出来

るように設定できる。

ダウンロード速度は遅い。

Page 10: Movable Type in the cloud

Amazon CloudFront とは?

Amazon S3 にアップロードしたファイルを Amazon

の CDN で配信することのできるサービス。

ダウンロード速度が速い。

国内のレンタルサーバーと比較してもダウンロード速度

で負けていないという調査結果もある。 (※1)

Page 11: Movable Type in the cloud

with Amazon

Page 12: Movable Type in the cloud

AppEnginehttp://tec.toi-planning.net/mt/appengine/about/

Page 13: Movable Type in the cloud

これは何か?

AppEngine に Web ページのデータをアップロードし

ます。

Page 14: Movable Type in the cloud

AppEngine とは?

Google の提供するアプリケーションの実行環境。

実行時間や転送量に応じて課金される。ただしアクセ

スの少ない間は無料で利用できる。

アクセス数が増えた場合にも Google がうまくやってくれ

るので安定した運用が可能。

Page 15: Movable Type in the cloud

AppEngine 上のプログラム

プラグインとは別にプログラムが別途必要です。

100 行程度の短いプログラムを書きました。

MT からアップロードされたデータを保存します。

訪問者からのリクエストに応じてページを表示します。

表示順序がランダムに変化するなどの動的なページも

作成可能です。

Page 16: Movable Type in the cloud

with AppEngine

Page 17: Movable Type in the cloud

クラウド時代の

Movable Type Publishing Platform

Page 18: Movable Type in the cloud

以上です

Page 19: Movable Type in the cloud

参考 URL

1. http://mtl.recruit.co.jp/blog/2008/11/amazo

ns3amazon_cloudfront.html

Page 20: Movable Type in the cloud

ご静聴ありがとうございました