Your SlideShare is downloading. ×
0
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Debian on EC2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Debian on EC2

894

Published on

第1回目福岡Debian勉強会で発表した、DebianをEC2で使う方法についての資料です!

第1回目福岡Debian勉強会で発表した、DebianをEC2で使う方法についての資料です!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
894
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Debian on AWS EC2 Aya Komuro2012年7月29日日曜日
  • 2. お知らせ ざわ... ざわ.. Keynoteで作った資料です。 Mac Book AirはMac OS Xです。 ざわ... ざわ.. ざわ... ざわ.. m9( ´д)ヒソ(´д`)ヒソ(д` )c9m2012年7月29日日曜日
  • 3. 本日の目次 AWSでの仮想サーバの立て方 Debianの探し方、見方 自分でイメージを作る方法2012年7月29日日曜日
  • 4. Amazon Web Services http://aws.amazon.com/jp/2012年7月29日日曜日
  • 5. EC2の使い方 マネージメントコ ンソールにログイン Create a New Insntacesから、 EC2を選択 Classic Wizardを選択 Launch Instanceをクリック2012年7月29日日曜日
  • 6. EC2の使い方 Community AMIsタブを選択、検索でDebianを入力 (検索に少し時間がかかる...)2012年7月29日日曜日
  • 7. 面倒だ!という貴方には2012年7月29日日曜日
  • 8. Community AMIsの見方 ルートディバイス選択 Instance Store: 停止させたらデータが消え る(揮発性) EBS: 停止、再起動させてもデータは消 えない AMI IDからの検索 ユニークなID2012年7月29日日曜日
  • 9. Community AMIsの見方 ap-northeast-1.aws157-team/images/2012-01-27-01-11-12/debian-i386/ debian-i386.manifest.xml 2ndquadrant-ami-ap-northeast-1/debian-squeeze-amd64- beta2.img.manifest.xml rightscale-oss-rightimages-ap-northeast-1/ rightimage_debian_6.0.1_i386_20110405.1.manifest.xml 624081292306/debian-6.0-squeeze-base-i386-20110417 750753468831/debian6-64-0302a-ar@debian.org arakisa/ami/xvdg.img.manifest.xml 246035562716/debian-installer-squeeze4-amd642012年7月29日日曜日
  • 10. EC2の起動方法2012年7月29日日曜日
  • 11. arakisa/ami/debian-squeeze-64/xvdg.img.manifest.xml (ami-b216a1b3) $ ssh -i dev-komuro-debian.pem root@ec2-175-41-213-228.ap-northeast-1.compute.amazonaws.com The authenticity of host ec2-175-41-213-228.ap-northeast-1.compute.amazonaws.com (175.41.213.228) cant be established. RSA key fingerprint is ed:18:4e:2c:c6:b6:c7:5e:ed:1b:f4:93:7e:7b:2c:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ec2-175-41-213-228.ap-northeast-1.compute.amazonaws.com,175.41.213.228 (RSA) to the list of known hosts. Linux ip-10-156-119-96 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@ip-10-156-119-96:~# uname -a Linux ip-10-156-119-96 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64 GNU/Linux root@ip-10-156-119-96:~# cat /etc/apt/sources.list deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free deb http://ftp.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free2012年7月29日日曜日
  • 12. rightscale-oss-rightimages-ap-northeast-1/ rightimage_debian_6.0.1_i386_20110405.1.manifest.xml  (ami-42cc6643) $ ssh -i dev-komuro-debian.pem root@ec2-54-248-40-245.ap-northeast-1.compute.amazonaws.com The authenticity of host ec2-54-248-40-245.ap-northeast-1.compute.amazonaws.com (54.248.40.245) cant be established. RSA key fingerprint is 1b:35:36:b1:f7:3a:e2:47:3a:3c:4b:b6:1e:bd:cb:8f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ec2-54-248-40-245.ap-northeast-1.compute.amazonaws.com,54.248.40.245 (RSA) to the list of known hosts. Linux ip-10-158-165-225 2.6.32-5-xen-686 #1 SMP Wed Mar 9 01:27:54 UTC 2011 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@ip-10-158-165-225:~# uname -a Linux ip-10-158-165-225 2.6.32-5-xen-686 #1 SMP Wed Mar 9 01:27:54 UTC 2011 i686 GNU/Linux root@ip-10-158-165-225:~# cat /etc/apt/sources.list deb http://ftp.us.debian.org/debian squeeze main deb-src http://ftp.us.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main2012年7月29日日曜日
  • 13. ap-northeast-1.aws157-team/images/2012-06-12-04-20-30/debian-amd64/debian-amd64.manifest.xml (ami-24883b25) $ ssh -i dev-komuro-debian.pem root@ec2-176-34-10-252.ap-northeast-1.compute.amazonaws.com The authenticity of host ec2-176-34-10-252.ap-northeast-1.compute.amazonaws.com (176.34.10.252) cant be established. RSA key fingerprint is 06:02:67:2e:59:b2:ec:9f:a5:63:f7:0a:fc:a8:c4:e2. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ec2-176-34-10-252.ap-northeast-1.compute.amazonaws.com,176.34.10.252 (RSA) to the list of known hosts. Permission denied (publickey). komuro-bun-no-MacBook-Air:Downloads aya$ ssh -i dev-komuro-debian.pem root@ec2-176-34-10-252.ap-northeast-1.compute.amazonaws.com Permission denied (publickey). AMI: Amazon Elastic MapReduce 2012-06-12-04-18-47 pvm/s3 ap-northeast-1.aws157-team/images/2012-01-27-01-11-12/debian-i386/debian-i386.manifest.xml ap-northeast-1.aws157-team/images/2012-01-27-03-09-33/debian-amd64/debian-amd64.manifest.xml ap-northeast-1.aws157-team/images/2012-06-12-04-18-47/debian-i386/debian-i386.manifest.xml ap-northeast-1.aws157-team/images/2012-06-12-04-20-30/debian-amd64/debian-amd64.manifest.xml 一般的な仮想サーバとしては使えない!2012年7月29日日曜日
  • 14. ec2debian Debianのイメージを作成、公開したり、DebianをEC2上で動 かす際の情報共有などを行う メンバー数: 339人2012年7月29日日曜日
  • 15. ec2debian Camptocamp https://github.com/camptocamp/ec2debian-build-ami ec2ubuntuのfork版 http://code.google.com/p/ec2ubuntu/2012年7月29日日曜日
  • 16. ec2debian Creating a Debian EC2 EBS PVGRUB Image https://github.com/tomheady/ec2debian/wiki/64bit-ebs- ami-pvgrub2012年7月29日日曜日
  • 17. Debian in everywhere Debianをもっと使って行きましょう♥2012年7月29日日曜日

×