AWS 雑多なメモ
出典: 雑多なメモ Wiki版
- boot from EBS での ephemeral stores の使用
- Region 間の移動メモ
- Amazon EC2のイメージ(AMI)をus-eastからus-westにコピーする方法 : Media Technology Labs (MTL) : メディアテクノロジーラボ ブログ
- AMIこれで行くのね。EBSはどうしたら効率的に移動できるのかなぁ...(データ転送利用料をミニマムで)
- boot from EBS 雑多なメモ
2 scripts that can be used to create an bootable EBS from a running instance. ami-4205e72b created with this process
ec2-register --snapshot snap-xxxxxxxx --kernel aki-xxxxxxxx --ramdisk ari-xxxxxxxx --description="EBS Ubuntu Hardy" --name="ebs-ubuntu-hardy-8.04-i386-server-20109999" --architecture i386 --root-device-name /dev/sda1
- ほう Root Device Type ebs では Instance Lifecycle に stop と start が追加されてるのね。
- '<delete-on-termination>': indicates whether the Amazon EBS
volume should be deleted on instance termination. If not
specified, this will default to 'true' and the volume will be
deleted.
- それで、default が true なのか...
- ebs volume ごと消したければ、明示的に Terminate しろということか
- shutdown -h now だけでは、stop になるだけ。
- Ubuntu on EC2 ec2-tools PPA
- Ubuntu 用の ec2-api, ec2-ami tools の最新版リポジトリ
deb http://ppa.launchpad.net/ubuntu-on-ec2/ec2-tools/ubuntu hardy main
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9EE6D873
- Amazon S3 support for Versioning
- Ubuntu One
- Ubuntu One : Home
- って S3 つかってるんですね。
- Amazon Relational Database Service (Amazon RDS)
- Amazon Relational Database Service (Amazon RDS)
- あらら "What Amazon is introducing today is slightly different than what most people might have expected, it’s really MySQL5.1 as a service." (RightScale blog より)
- フルマネージド MySQL という立て付けなのね...
- Lower Amazon EC2 Instance Pricing
- Amazon EC2 High-Memory Instances
- Auto Scaling groups can now span multiple availability zones
- EC2 Instance IP Black Listed at spamhaus.org
- Amazon Web Services Developer Community : EC2 Instance IP Black Listed at ...
- "Reputation Fate Sharing" 問題ですな。
- とはいえ、まだ RBL つかってるんですか????
- Amazon EBS Shared Snapshots
- Introducing Amazon EBS Shared Snapshots
- shared AMI + shared EBS でうれしさ倍増
- AWS Solution Providers Program
- Solution Providers Program
- RackSpace Cloud Tools の地味なヤツ (この地味さがAWSの良さかもしれず)
- AWS Access Credential Rotation
- Amazon Web Services Blog: AWS Access Credential Rotation
- Access Key の 差し替えを簡単に。
- 管理者がヤンゴトナキ事情で交代する場合に便利 ;)
- Cloud 系なんでもかんでも OSS 落ち穂拾いプロジェクト
- hail cloud computing project - hail is a cloud computing umbrella project for several inter-related projects
- RedHat 肝いりのプロジェクトです
- ヲチしましょう。
- 公式 日本語コンテンツ
- Amazon CloudFront > Information in Japanese
- へぇ CloudFront には日本語のページがあるのね
- AWS 多要素認証
- AWS Management Console で CloudWatch サポート
- Amazon Virtual Private Cloud (VPC)
- Introducing Amazon Virtual Private Cloud (VPC)
- うーむ うーむ うーむ
- Reserved Instances が値下げ
- Announcing Amazon EC2 Reserved Instances
- うーむ もう一声ほしいなぁ (おとーさんの小遣いからの出費[一時出費ではあるが]ではつらい)
- (もちろんランニングコストは1/3になるんだが...)
- こっちにメモ
- Ten observations about cloud computing | The Pervasive Datacenter - CNET News
- Ten things I learned while writing Cloud Computing for Dummies « Judith Hurwitz’s Weblog
- AWS blog より二題 (もはや惰性)
- Pig Latin - High Level Data Processing with Elastic MapReduce
- Adding the Export to AWS Import/Export
- すご...
- わははすごい libcloud a unified interface to the cloud
- libcloud python library - a unified interface cloud server providers
- 統一 API ごにょごにょやるよりも実践!
- Rackspace Cloud APIs が Creative Commons 3.0 で公開
- Rackspace goes Open Source with API's
- カンブリア爆発的な時期ですなぁ
- Notice: Degraded Amazon EC2 Instance
- Recover data from "Degraded Amazon EC2 Instance"?
- へー こんなメールがくるんだ ;)
- Rackspace Cloud 1.0 for iPhone
- Amazon EC2 Zone Reaches Capacity???
- Rackspace Cloud 加速中
- Cloudkick now supports Rackspace Cloud Servers
- RightScaleも対応してるし、RESTful な API も公開したし
- これは秀逸:)
- YouTube - Cloud Wars
- おいしいキーワード満載:)
- (追記)
BEZOS : Jeff bezos - Amazon CEO LORD WERNER : Werner Vogels [@werner] Amazon CTO http://www.allthingsdistributed.com/ Thorsten SKYWALKER : Thorsten Eicken, RightScale CTO RUV : Reuven Cohen [@ruv] Enomaly CTO http://www.elasticvapor.com/ the Red Monk, COTE : Michael Coté [@cote] RedMonk http://www.redmonk.com/cote/ http://www.redmonk.com/cote/it-management-podcast/ BOTCHAGALUPE : John Willis [@botchagalupe] http://www.johnmwillis.com/ http://www.johnmwillis.com/best-of/ URQUHART : James Urquhart [@jamesurquhart] http://blog.jamesurquhart.com/ PERRY : Geva Perry [@gevaperry] http://gevaperry.typepad.com/ http://overcast.typepad.com/overcast/ the GREAT LINTHICUM : David S. Linthicum [@davidlinthicum] http://davelinthicum.blogspot.com/ http://feeds.feedburner.com/CloudComputingPodcast
- Mosso is now the Rackspace Cloud!
- From Mosso To The Rackspace Cloud
- Cloud Computing, Cloud Hosting & Online Storage by Rackspace Hosting. Mosso is now the Rackspace Cloud.
- Amazon's EC2 vs Mosso
- Cloud servers for your Perl app - Amazon's EC2 vs Mosso - Catalyzed.org: A Catalyst and Perl Blog
- バランス・バランス :)
- (追記)
- mon petit blogue sans importance... - A look at rackspacecloud.com vs AWS (updated)
- Reserved Instance 適用タイミング
- Cloud Developer Tips: EC2 Reserved Instance Billing Gotcha
- 次の月次請求タイミングかららしい
- RackSpaceでも一部の区画が停電
- Data center update as of 8:58 pm CST
- Mossoにも影響があったようだ
- Cloud Sites | DFW | Online
- ふぅぅぅぅぅ
- ひと月の間に3回もっていってるユーザがいるな。IDCの電源周りの不備なんだろうなぁ。すぐには替えられないような...
- (追記)
- Dallas data center update as of 11:26 pm CST(link消滅)
- 電源設備の容量不足???
- (さらに追記)
- Dallas Data Center Update
- INCIDENT REPORT - GRAPEVINE, DFW POWER INTERRUPTION - June, 29 2009
- 商用電源停止中に発電機が障がいをおこし停止した。
- 電源周波数の同期回路に問題か。ありがちだなぁ
- (しかし、RackSpaceの情報開示のレベルは賞賛に値すると思う。さすが、Fanatical Support® !!!)
- (またまた追記)
- The Day After: A Brutal Week for Uptime « Data Center Knowledge
- 厄週間か...
- (またまたまた追記)
- Someone Needs To Stop Tripping Over The Power Cord At Rackspace
- また DFW で電源断...
- Open Federated Clouds
- SUN は SUN であってほしいなぁ
- Open Federated Clouds And Sun’s Cloud Announcement | CloudAve
- Sun Rethinking Its Cloud Strategy? | CloudAve
- もう実用化の段階ですね (それにくらべて...)
- ハイブリッド型のクラウドでババン
- Rackspace lays out its cloud computing roadmap: Think hybrid
- AWSの独占の気配をうけて、最近はみな Mosso を持ち上げてますね。(バランス感覚すごいです)
- 落雷で一部のインスタンスが停止
- Lightning Strike Triggers Amazon EC2 Outage
- うーむ インフラ屋は大変だなぁ しみじみ...
- AWS Security Center
- AWS Security Center
- RADLab Above the Clouds の "Data Confidentiality and Auditability" に回答中... AWS気合いはいってるなぁ
- Mosso も API 公開するのね
- EC2 での /etc/hosts と hostname
- debian, ubuntu 方面で厳密化している localhost と hostname の扱いを考えると、EC2 の プライベート IP アドレス空間での /etc/hosts は Canonical 版 ubuntu ami の /usr/sbin/ec2-set-hostname で設定しているやりかたが妥当な所かな
127.0.0.1 localhost 127.0.1.1 AMIのlocal-hostname(AMI instance Metadata から取得) # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
- また、hostname は hostname --fqdn で取得したホスト名を DNS を引けば、現在の ローカル IP アドレス を引けるものを設定する事。つまり、AMIのlocal-hostname(AMI instance Metadata から取得)を hostname とする。
- ec2-bundle-vol で -e /tmp,/opt したら
- /opt が消えたし、/tmp の 権限で失敗 (あたりまえか)
mkdir /opt chmod 1777 /tmp
- EC2の public FQDN を EC2内部で引くと
- おもしろい、private IP address が返ってくる。
- 深い意味があるなぁ
- Instance Addressing Concepts
- (追記) Elastic IP の AWSから割り当てられる外部DNS名も、EC2内部でひけば、private IP address がかえってくるので、必ず同一の Elastic IP を割り当てるのなら、簡単にインスタンス間でひも付けができる。
- Using Elastic IP to Identify Internal Instances on Amazon EC2
- また出た! AWS Import/Export for Physical Data Transfer
- RADLab Above the Clouds の "Data transfer bottlenecks" という指摘に素早く対応した。やるなぁ AWS
- AWS Import/Export
- 出た! Amazon CloudWatch, Elastic Load Balancing, Auto Scaling,
- AWS最強ですな。これで価格がもう少し下がったら、恐ろしいことになるなぁ。(まだチョイと高めな印象ですね)
- Amazon CloudWatch Developer Guide
- Elastic Load Balancing Developer Guide
- Auto Scaling Developer Guide
- Eucalyptus が商用化
- 4月29日に550万ドル調達して事業化らしい。
- すげ
- Ubuntu採用オープンソースクラウド「Eucalyptus」を専門とする企業が発足
- Eucalyptus Systems Inc
- Eucalyptus Systems raises $5.5M for a hybrid approach to cloud computing » VentureBeat
- Security Groupsうんぬん
- amiによったら、デフォルトやばいのあるのかしら...
- 当たり前のことを当たり前にやっておく事だねぃ
- Tips for Securing Your EC2 Instance
- ec2-authorize
- 得難いレポート:)
- 非常事態宣言!! Amazon EC2、ホームページが消えました【 横浜のホームページ制作|スタジオFIXの社長ブログ 】
- まぁ
PasswordAuthentication no
- は、確認しておく事
- (追記)
tcpwrapper された sshd なら(たいていそうなっている) /etc/hosts.allow で制限しておく事
sshd : 127.0.0.1 あなたがアクセスするIPアドレス もしくはドメイン名(たとえば .e-mobile.ne.jp) : allow sshd : ALL : deny ALL : localhost 127.0.0.1 : allow ALL : [::1] : allow
- EC2 で リモートデスクトップ
- Running an X desktop with VNC on Ubuntu on Amazon EC2
- のところ、NX がいいぞと
- New AMI in development: Ubuntu 7.10 Gutsy desktop AMI with NoMachine NX Free Server
- NoMachine NX
- EC2 で ubuntu の DeskTop 版を NX で使ってみたけど、反応が重いなりにつかえた。
- user dataあたりを調査厨
- sysctl.conf はこんな程度でいいかな
# tuning for Amazon EC2 m1.small instance # # uncomment, if you want. #vm.swappiness=0 # #kernel.random.poolsize = 2048 kernel.sem = 250 32000 128 1024 kernel.msgmni = 256 #kernel.shmmax=268435456 #kernel.shmmax=2147483648 # net.ipv4.tcp_rmem = 4096 4194304 4194304 net.ipv4.tcp_wmem = 98304 4194304 4194304 net.ipv4.tcp_mem = 162624 4194304 4194304 net.core.rmem_default = 262144 net.core.wmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_max = 4194304 # net.ipv4.tcp_max_syn_backlog = 2500 net.core.somaxconn = 4096 #net.ipv4.tcp_max_orphans = 32768 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_tw_recycle=1 net.ipv4.tcp_keepalive_time = 1800 net.ipv4.tcp_keepalive_intvl = 15 net.ipv4.tcp_keepalive_probes = 5
- 時々勝手に reboot しちゃうなぁ
- インスタンスを立ち上げて、まもなく勝手にリブートする場合があるなぁ...
- Elastic IP 割り当ててしばらくしてからかなぁ...
- まったくこういった事象に遭遇しないインスタンスもあるなぁ...
- ヲチしよう...
- たんなるメモ
dpkg-reconfigure tzdata
apt-get update apt-get upgrade apt-get autoremove
apt-get install rcconf apt-get install sysv-rc-conf #apt-get install acct apt-get install screen apt-get install traceroute apt-get install unzip
apt-get install emacs22-nox apt-get install ddskk apt-get install skkdic apt-get install nkf
apt-get install python-boto
/etc/bashrc

