Archive for the ‘S3’ Category

 

amazon AWS 利用料金の確認 | s3

2月 15th, 2012

料金をいちお見ておこうと思い。
と思ったらまだ0円でした。
まだ4GBだから無料みたいです、5GBまで一年は無料と書いてあるので
Account Activity > Details > AWS Service Charges

普通に練習したり勉強したりするくらいは余裕で無料みたいですね!良い時代です。
http://aws.amazon.com/jp/s3/pricing/
http://aws.amazon.com/jp/free/
2012/2/15現在では、無料利用分は以下のように表記されています。
http://aws.amazon.com/jp/free/

AWS 無料使用範囲(1ヵ月に付き):
Amazon EC2 Linux マイクロインスタンス使用 (613 MB メモリと、32ビットと64ビットプラットフォームサポート)750時間 – 毎月継続的に実行するのに十分な時間*
Amazon EC2 Microsoft Windows Server マイクロインスタンス使用 (613 MB メモリと、32ビットと64ビットプラットフォームサポート)750時間 – 毎月継続的に実行するのに十分な時間*
Elastic Load Balancing 750時間に加え 15 GB 分のデータ処理*
Amazon Elastic Block Storage 30 GB に加え、100万 I/O、スップショット ストレージ 2 GB*
Amazon S3 ストレージ 5 GB、20,000 Get リクエスト、2,000 Put リクエスト*
すべての AWS サービスを総合して、帯域幅「送信(アウト)」15 GB。*
Amazon SimpleDB [...]

Read full article | コメントは受け付けていません。

amazon s3 バックアップ、pythonで書いてみる。

2月 14th, 2012

Get Started With Amazon Simple Storage Service
http://docs.amazonwebservices.com/AmazonS3/latest/gsg/GetStartedWithS3.html?r=9648
create a bucket
https://console.aws.amazon.com/s3/home?#

Add an Object to a Bucket

普通にuploads - add files - upload でファイルを上げるだけです。

こんな感じで。
=== ここから ===
* s3 docs rest
http://docs.amazonwebservices.com/AmazonS3/latest/dev/Welcome.html
http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAPI.html
* python
http://aws.amazon.com/code/Python/134
認証して、リストを取ってみる。
http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAuthentication.html
key
https://aws-portal.amazon.com/gp/aws/securityCredentials
Access Key ID Secret Access Key Status
tokyoを利用するので
http://docs.amazonwebservices.com/general/latest/gr/rande.html#s3_region
S3.pyにTOKYOを追加
618行

class Location:
DEFAULT = None
EU = ‘EU’
TOKYO = ‘ap-northeast-1′

s3-driver.pyから接続、bucket作成、list取得

if (conn.check_bucket_exists(BUCKET_NAME).status == 200):
[...]

Read full article | コメントは受け付けていません。

amazon s3使ってみる。ちょっと計算してバックアップしてみる。

2月 14th, 2012

【AWS発表】 Amazon S3の価格さらに値下げ
* Designed to provide 99.999999999% durability and 99.99% availability of objects over a given year.
耐久性が凄いですね。
1GB/month
tokyo $0.130
us $0.125
tokyoで100GB置いておくと 13$ * 80円 = 1040円
resuquestは、これなので、1日1-100回程度のrequestだとほぼ無料ですね。1日1円というところ
PUT, COPY, POST, or LIST Requests $0.01 per 1,000 requests
GET and all other Requests † $0.01 per 10,000 requests
† No charge for delete requests
入れるのは無料です. 100GB取ると100*0.201*80=1600円
data transfer
IN
All data transfer in $0.000 per GB
OUT
First 1 [...]

Read full article | コメントは受け付けていません。