Upgrade to Pro — share decks privately, control downloads, hide ads and more …

「取り敢えずAWSを使ってる」 開発者のためのAWS再入門

「取り敢えずAWSを使ってる」 開発者のためのAWS再入門

対象
AWSは利用してるけど、InstanceとVolume位しか使ってない・・・。
最近のAWSの機能に追いついてない・・・。
目的
AWSの新機能、余り知られていない機能を活用してより快適に、より安く、より安全にAWSを利用しよう。

yutuki

July 31, 2014
Tweet

Other Decks in Technology

Transcript

  1.  EC2  InstanceType  EBS Volume  EBS Instance

     IAM & CloudTrail  Amazon RDS  Cloud Formation Agenda
  2. Instance  ECU  1ECU≒ 2007 CPU 1 1.2Ghz 1

       EBS  EBS   HDD  Snapshot Instance Ephemeral EBS EBS ECU Instance PC
  3. Ins  Instance Terminate Volume  Volume  Volume Delete

    On Termination Vol With DoT Without DoT Terminate Ins Vol Ins
  4.  M3  M1  C3  CC2 CPU 

    R3  M2  T2  T1 InstanceType C3 M3 CPU T
  5.   EBS ( )  EBS Instance ( )

     SSD    InstanceType
  6. InstanceType Cost ECU Memory Ephemeral m1.xlarge $0.706 8.0ECU 15.00GB 1.7TB

    (4*420) m2.2xlarge $0.705 13.0ECU 34.20GB 850 GB r3.xlarge $0.620 13.0ECU 30.50GB 80GB SSD m3.xlarge $0.603 13.0ECU 15.00GB 80GB (2*40 SSD) c3.xlarge $0.462 14.0ECU 7.50GB 80GB (2*40 SSD) m1.large $0.353 4.0ECU 7.50GB 840GB (2*420) m2.xlarge $0.352 6.5ECU 17.10GB 420 GB r3.large $0.310 6.5ECU 15.00GB 32GB SSD m3.large $0.302 6.5ECU 7.50GB 32GB SSD c3.large $0.231 7.0ECU 3.75GB 32GB (2*16 SSD) InstanceType Cost ※ DELL Optiplex760≒4ECU 9020≒8ECU ※2014 7
  7.  Input / Output Per Second  1  IOPS

    ≒ What’s IOPS HDD IOPS HDD ※ 100 HDD ※ 200 HDD+RAID ※ 400 EBS Volume 100~2000 EBS Volume 30 ~ 3000 Provisioned IOPS Volume 100 ~ 4000 ※
  8.  Provisioned IOPS volumes  IOPS  DB  IOPS

     General Purpose volumes  SSD EBS   IO ( )  EBS Magnetic volumes  HDD EBS  1GB IO EBS Volume Provisioned IOPS General Purpose Magnetic IOPS
  9. GB IO IOPS Provisioned IOPS $0.142 - 1IOPS $0.074 General

    Purpose $0.120 - - Magnetic $0.080 100 IO $0.080 - Snapshot $0.095 - - EBS Volume ※2014 7
  10. 0 500 1000 1500 2000 2500 3000 General Purpose Volumes

     IOPS= x3IOPS  100GB 300IOPS  1TB 3000IOPS  3000IOPS
  11. 0 500 1000 1500 2000 2500 3000 General Purpose Volumes

     30   EBS Volume DB  ※ DB
  12. RAID de EBS 400 * 1 = 400IOPS 400 *

    2 = 800IOPS 400 * 5 = 2000IOPS 500GB / 400IOPS 500GB 250GB 250GB Ins Ins Ins 100 GB 100 GB 100 GB 100 GB 100 GB RAID IOPS
  13. Divide EBS Volume 100 * 1 = 100IOPS 100 *

    2 = 200IOPS 100 * 5 = 500IOPS 500GB / 100IOPS 500GB 250GB 250GB Ins Ins Ins 100 GB 100 GB 100 GB 100 GB 100 GB ※ NG
  14. Resource Level ACL by IAM Instace Instance IAM IAM OK

    IAM OK Vol Vol Vol Vol Vol Vol InstanceType AMI Region AZ Subnet
  15.  AWS DB  => DB  DR  =>

     DB RDS What’s RDS? Postgre SQL MySQL Oracle SQL Server