Amazon Ec2

1,499 views

Published on

2009/12/20に@hibachiyaさんのオフィスで行われたAmazon EC2 勉強会の資料です。

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

No Downloads
Views
Total views
1,499
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
29
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Amazon Ec2

    1. 1. LET’S GET STARTED WITH AMAZON EC2
    2. 2. LET’S GET STARTED WITH AMAZON EC2 2009/12/20 Amazon EC2 Study Conference @Hibachiya HQ
    3. 3. WHAT IS AMAZON EC2?
    4. 4. WHAT IS AMAZON EC2? Amazon EC2 EC2 S3 AMI
    5. 5. Amazon EC2 ”Elastic” http://aws.amazon.com
    6. 6. S3 50TB 1GB $0.15 EC2 S3
    7. 7. The New York Times TB Amazon S3 100 EC2 Animoto Amazon EC2 Amazon S3 Amazon EC2/S3 http://blog.animoto.com/2008/04/21/amazon-ceo-jeff-bezos-on-animoto/
    8. 8. X.509 Key Pairs AWS Management Console Key Pairs Amazon EC2 Command-Line Tools
    9. 9. Amazon Elastic Compute Cloud EC2
    10. 10. Click! EC2
    11. 11. Click!
    12. 12. Click! AMAZON
    13. 13. Click! AMAZON
    14. 14. Click!
    15. 15. Click!
    16. 16. ACCOUNT NUMBER
    17. 17. Click! X.509
    18. 18. pk-****.pem cert-****.pem X.509 ~/EC2
    19. 19. Click! KEY PAIRS EC2
    20. 20. Click! KEY PAIRS
    21. 21. Click! CREATE KEY PAIRS
    22. 22. AWS Management Console Amazon EC2 AMI Tools Amazon EC2 API Tools Java EC2
    23. 23. Click!
    24. 24. Click! LAUNCH INSTANCE
    25. 25. Click! COMMUNITY AMIS 32-BIT, CENTOS
    26. 26. Click!
    27. 27. Click!
    28. 28. Running! Click! SECURITY GROUP
    29. 29. SSH HTTP
    30. 30. DNS
    31. 31. pk-***.pem cert-***.pem S3
    32. 32. Click! Click!
    33. 33. Copy! SSH
    34. 34. SSH
    35. 35. ”pwconv”
    36. 36. OK AMAZON EC2 AMI TOOLS
    37. 37. AMAZON EC2 API DEVELOPPER TOOLS
    38. 38. BIN, LIB /MNT
    39. 39. JAVA
    40. 40. SPACE YES
    41. 41. EC2 “VI ~/.BASH_PROFILE”
    42. 42. “ec2ver” “SOURCE ~/.BASH_PROFILE” “EC2VER”
    43. 43. # yum check-update # yum update # yum -y install mysql-server # /etc/rc.d/init.d/mysqld start # chkconfig mysqld on # yum -y install httpd # /etc/rc.d/init.d/httpd start # chkconfig httpd on
    44. 44. 1.MYSQL # mysql -u root mysql> set password for root@localhost=password('root '); : http://centossrv.com/mysql.shtml
    45. 45. 2.PHP !! yum install php !! yum -y install php-mbstring php-mysql php-mcrypt GPG-KEY rpm –import http://www.jasonlitka.com/media/RPM- GPG-KEY-jlitka vi /etc/yum.repos.d/utterramblings.repo enable 0 update [utterramblings] name=Jason’s Utter Ramblings Repo vi /etc/yum.repos.d/utterramblings.repo baseurl=http://www.jasonlitka.com/media/EL#releasever/ [utterramblings] #basearch/ name=Jason’s Utter Ramblings Repo enabled=0 gpgcheck=1 baseurl=http://www.jasonlitka.com/media/EL#releasever/ gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka #basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY- jlitka
    46. 46. 3.WORDPRESS # wget http://wordpress.org/latest.tar.gz # tar xvfz latest.tar.gz # mv wordpress /var/www/html/ # apache /etc/rc.d/init.d/httpd restart
    47. 47. S3FOX S3
    48. 48. Click! AWS
    49. 49. Click!
    50. 50. Click!
    51. 51. Return! “EC2-BUNDLE-VOL COMPLETE.” OK
    52. 52. S3 “BUNDLE UPLOAD COMPLETED.” OK
    53. 53. “EC2-DESCRIBE-IMAGES -O SELF”
    54. 54. Click!
    55. 55. ELASTICFOX
    56. 56. Click! SSH(22 )
    57. 57. Click!
    58. 58. Click!
    59. 59. FIX http://www.studio-fix.com/blog/kaoru/2009/03/27/post150/ AWS Amazon EC2/S3 http://codezine.jp/article/detail/3137

    ×