ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
??? ????? ?? ?? ?? <br />Knight76.tistory.com  <br />??? AWS(Amazon Web Services) ??<br />AWS(Amazon Web Services)? 1995? ??? ???? ??? ??? ? ???(Amazon.com)? ???? ???? ??? ???? ???? ?? ??? ???? ????. AWS ???? 9? ?, 2002? 7? 16?? ???? ?????, ???? ???? ??? ? ?? ??? ???? ????. ???(Amazon) ?? ??? ???, 2007?? 33??? ???? ??? ?????, ??? ?? ? ??? ???? ?? ?? ???.<br />??, 2008? 1? ??? ?? ??? ??? Amazon.com?? Amazon AWS ???? ?? ???(Bandwidth)? ?? ???? ???  REF _Ref288756369  ?? 1 ? ?? ????. ??? ???? AWS?? ??? ?? ??? ? ??.<br />??  SEQ ??  ARABIC 1 Amazon.com? Amazon AWS ??? ?? ??<br />??, AWS ???? ? ??? ? ??? ??? ????? EC2(Elastic Compute Cloud), ???? ???? S3(Simple Storage Service), Queue ???? ?? SQS(Simple Queue Service), ?????? ???? ?? SimpleDB ? RDS(Relational Database System)? ??? ???? ???? ??. ?? ?? ?? ???? AWS? ???? ???? ??. ????? AWS ? ???? SOAP(Simple Object Access Protocol), REST(Representational State Transfer)? ?? API? ???? ???? ???? ?? ??? ?? ?? ? ??? ? ?? ??? ????.<br />AWS? ????, ??? ???? ?? ?? ?? ??? ???? ???? ??? ???? ?? ??? ??? ??????? ??? ??? ?? ? ??. ??, ? ???? ?? ???? ??, ??? ???? ?? ?? ??? ???? ??? ?? ??? ???? ??? ???? ???? ?? ? ??.<br />??  SEQ ??  ARABIC 2 ?? ?? ?? ??<br />??? Amazon AWS? ?? ??? ?? ???. ???? ???? ?? ???? ????, ?? ?? ??? ?? ????? ? ?? ?? ? ??.<br />??  SEQ ??  ARABIC 3 AWS Web Page<br />??? ????? ??? AWS ???? ??? ??? ??? ??? ??? ????? ?????. ????? ?? ??? AWS ???? ???? ????, ????? ???? ??? ????, ??? ?? ?????(copyright) - ??? ??? ?? ??(term)? ????? ???? ????? ?? ??? ???.<br />??  SEQ ??  ARABIC 4 ????? ??? ??? Time? <br />?? ??? ???, ?? ???? ???? ??? ? ??? AWS? ??? ???? ??? ???? ??? ???? ?, ??? ?? ??, ???? ??  ??? ???(PAAS), ???? ?? UI(User Interface)? API? ? ? ???. ???? AWS? ?? ???? EC2? S3? ????. EC2? ???? ???? ?? ??? ??? ????? ??? ? ???, ??? ??? ???? ?? ? ??, ??? ??? ?? ????? ????? ?? ???? ?? ? ??. AWS? ??? ??? ??? ?????  REF _Ref288747730  ?? 5? ?? ???.<br />??  SEQ ??  ARABIC 5 AWS? ?? <br />??? 2009? ?? Qcon(InfoQ Conference)? ????. ?? ????? ???? ????? ?? ?? ??? ????, 2008~2009?? ?? ??? ?? ?????? ??? ??? ??? ?? ?????. ?? ??? ????? ?? ???? ???? ????? ??? ??? ??? ??? ?? ?? ???? ??? ?? ??? ??. ??? ?? ??? ???  ?? ?? ? ?? ???? ???? ?? ??? ?? ??? ???? ???? ? ?? ??(Need)?? ????, ???? N????(Ndrive) ???? 2009? ? ???? ?? ??? ????? ???? ???? ??? ? ?? ? ?? ??? ???? ???. (??? N????? ??? ?? ???? ???? ?? ?????) <br />?? ????? ?? ???? AWS? ???? ???? ???? ???? ?? ?? ? ??. ?? ???? AWS S3? ?? ??? ??? ??? ???/???? ? ? ?? ??? ???? ?? ??? ????? ??. ???? N????? ?? ????? ? ? ??, ??? ????, KT? U???? ???? ??. ??? KT? U????? AWS ???? ???? ??? ???? ??. <br />?? ??? AWS? ??? ? ?(???), ?? ? ?(??, ??), ?? ? ? ??? ?????? ???? ??? ???? ?? AWS ???? ???? ?????? ?? ???? ???? ???? ??.<br />??  SEQ ??  ARABIC 6 AWS ??? ??? ??<br />??? AWS? ???? ???? ?????, ?? ???? ?? ? ? ?? ?? ?? ????? ??? ??. KT? ???? ???? ? AWS? ????? AWS UI? ?? ?? ?? ???? ???, ????? ???? ???? AWS ????? ?? ??? ? ???. ?? AWS ???? API? ?? ??? ?? ?? ???? ?? ??? ??? ??????  ?? ?? ???? ??.  ???? AWS ????? API ?????? ???? 3rd party ???? ???? ???? ???? ???? ??? ???? ??? ??? ?? ?? ??? ? ??. <br />?? AWS ????? ??? ? ?? ?? ???? ??? ??? ?? ??? ??? ??. ?? ?? Whirr?? ??? ????? AWS ???? ???? Hadoop, Cassandra, Cloudera¡¯s Distribution for Haddop, Zookeep, HBase?? ??/??/??? ???? ???.<br />Amazon AWS ????<br />??  REF _Ref288747522  ?? 7? Amazon AWS ?????? ???? ? ??? ????. ?? ???? ??? ???, ? ?? ??? ? ?? ????.  <br />??  SEQ ??  ARABIC 7 ??? AWS ??? ???<br />???? Amazon Machine Image(AMI)??? ???, ??????, ?? ?? S3 ?? ??? ??? ??? ??, EC2? ?????(VM) ???? AMI? ???? ??? ??? ????. ?? AMI ?? ?? On-Demand ????? ???, ?? ?? ???? ? ? ?? ??? ?? ??? ? ??. ? ??? ?????  ?? ??? ???? Spot Instance? ?? ???? ???? ??? ? ?? Reserved Instance? ???? ??.<br />EC2? ???, S3? ???, AMI? ???? ?? ??????? ?? ???, ??? ?? EC2? ??? ??? ? ??? ?? ?? ?? ??? ??? ?? ? ??? ??? ??? ???? ??? ??? ?????.<br />??? EC2? S3? ??? ?? ???? ?? ????(Instance, ????)?? ????, ??? ????? 1.7GHz? ?? ?? ????(32bit)? ???? 1.7GB? ?? ???? 160GB? ?????, 250Mbps? ???? ??? ??? ?? ???? ??? ????.<br />??? AWS ??? ????? ??? ??  REF _Ref288747619  ?? 8? ?? ??? ? ??. ??? ??? ??? ???? ????.<br />??  SEQ ??  ARABIC 8 AWS ??? ????<br />AWS ???? Management Console??? GUI ?????, ????? ?? ??? ? ?? API ?????? ???? ??? ???? ??. <br />?? ???<br />AWS ???? ???? ???? ??? AWS? ??? ?? ??? ???? ??? ????.<br />??  SEQ ??  ARABIC 9 ?? ??<br />??  SEQ ??  ARABIC 10 ?? ?? <br />AWS ???? EC2 ???? ???? ??? ?? ??? ?? ??(Sign up)? ?? ??.<br />??  SEQ ??  ARABIC 11 EC2 ? ??<br />?? ??? ??????? ? ?? ??? ??? ????. ?? ??? ???,  REF _Ref288748314  ?? 12? ?? ??? ???. <br />??  SEQ ??  ARABIC 12 ?? ??<br />AWS ? ???? Management Console? ??? ?? ??? ????? ??? ??. API? ???? ??? ????? ???. ????? ????  REF _Ref288748536  ? 1? ??. Simple DB? ?? PaaS ??? ???? API ? ??? ? ???? ??? Access Credentials??.<br />?? ????Access CredentialsAccess Keys (Access Key ID, Secret Access Key)X.509 ???Key Pairs IDSign-In CredentialsEmail address, passwordAWS Multi-Factor Authentication DeviceAccount IdentifiersAWS Account IDCanonical User ID<br />?  SEQ ?  ARABIC 1 ?? ??<br />?? ?? EC2 ???? ??? ??? ????? ???? ?, ??? ??? ??? SSH? ?????, key pair ???? ???? ?? ??? ? ??. <br /> REF _Ref288756795  ?? 13? ?? EC2? ???? ?? SSH ?????(Client)? ??? ??? ? ??? ?? ??? ?? ??. ??? ?? ?? ?? ???? ???? ??? ??? ? ? ??.<br />??  SEQ ??  ARABIC 13 SSH ?? ?? ??<br />??  SEQ ??  ARABIC 14 Putty? ??? ?? ??<br />??  SEQ ??  ARABIC 15 EC2 ???? ??? ??<br />EC2 ? AMI<br /> EC2? Elastic Compute Cloud? ????, S3? ?? AWS? ?? ??? ?? ????. ???? ?? ??? ?? ??? ???? ???? ??? ?? ?????. ??? ??? EC2? ?????, ??? ??? ?? ?? ?? ?? ??? ??? ? ??. ???? ??? ???? ??(Need)? ?? ??? ??(Computing Resource)? ????? ???? ????? ?? ? ??? ????? ??. ??? EC2? ? ?? ???? ?? ??, ?? ??, ?? ??, ???, ?? ? 5? ??(Region)?? ???? ???? ??. Region?? ?? Zone?? ???? ???? ??.<br />EC2 ???? ???? ???? ?? ????? ????? ?? ????. ?? AMI (Machine Image)?? ?? ???, EC2? ??? ? ?? ??? ????? ??? AWS?? ????. ???? ??? ?? ???? ???? ??? ??, ?? ????, ??? ???? ???? ???? ???, ????? ???? ?? ?? ????? ??????(Application)? ?? ???? ??? ?? S3? ?? AMI? ???? ??? ? ??? ?? ??. ??? Http ??, ??? ???, WAS, ????, Hadoop? ??? ??????? ????? ?? ??? ? ??. ???(Custom) ???? ???? ????? ??? ? ??, ?? ?? ? ?? ??.<br />??? ?? ?? ???? ? ??? ??? ?? ????? ??? AWS? ??? ??? ????,  REF _Ref288756873  ?? 16? ??. ??? ??? ??? ?? ??? ???? ???, ??? ??? ???? ??? ???? ???? ??? ????? ?? ???? ??? ?? ??? ? ??? ?? ?? ????.<br />??  SEQ ??  ARABIC 16 EC2 ?? ?? (??? ??)<br />????? ?????? ???? On-Demand Instance? ????. ???? ????? ???? ? ??, ?? ??? ? ?? ???(Dynamic) ???? ??? ??? ? ??.<br />? ??(per year)? ?? ???? ???? ??? ??? ?? ??? ? ???, ? ??? Reserved Instance?? ??. Reserved Instance? ????? ?? ?? ?? ?? ????? ?? ?? ??? ??? ??? ?? ????? ??? ? ???, ?? Spot Instance?? ??. ?? ?? ?? ??? ? ?? ??? AWS? ????. <br />?? ??? ??? ?? ???(Virtualization) ????. ??? ???? ?? ?? CPU? ??? ?? ?? ??? ?? ?? ?? ?? OS ????? ???? ???? ??? ??? ? ??? ????.<br />AMI? Xen ???? ?? ??. Xen? MS? Hyper-V, SpringSource ? ??? VMWare?? ??? ???? ?? ?????? ???? ??? ?? ? ????. Xen? ???? (para-virtualization)??? ?????, ????? ?? ????? ???? ?? ?? ???(Layer)? ¡®??? ???(Hypervisor)¡¯?? ???? ??? ???? ????? ???? ?? ?? ?? ??? ??? ??. ??? ???? ? ???? ??? ??? ??? ?? ???? ??? ??? ????? ??. ??? Xen?? ???? ????? ??? ?? ??? ????? ?? ??? ??, Xen? ?????? ??? ????? ?? ?? ? ??. <br />?? ????(full-virtualization)??? ????, ????? ?? ???? ????? ???? ???? ? ??. ????? ????(CPU? Virtualization Techonology)? ??? ??, ?? ???? ¡®??? ???¡¯? ???? ?? ??? ?? ¡®??? ???¡¯? ?? ????? ???? Z ??? ????? ??? ???? ? ??.<br />???, ???? ??? ???? Xen? ????, EC2? UI? EC2? ??? AMI? ???? ??? ?? ??? ? ??.<br />???? ???(AMI)? ??? ??? ??? ??? ????. ??? ??? EC2 ?????? ?????, ??? ? ?? ??(Type)? ? 10????. ???? ??? ??? ???? ??? ???? CPU ?? ???(Memory) ???? ??? ??? ?????? ?? ? ??. ?? ???? ?? ???? EC2 ??? ????? ??? ? ??. ??? ??(terminated)??? EC2 ????? ???? ??.<br />Type??Standard Instances(3??)-Small Instance: 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform (???, 1?? ????? 1.0-1.2Ghz 2007 Xeon ????? ??)-Large Instance: 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform -Extra Large Instance: 15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform High-CPU Instances(2??)-High-CPU Medium Instance: 1.7 GB of memory, 5 EC2 Compute Units (2 virtual cores with 2.5 EC2 Compute Units each), 350 GB of instance storage, 32-bit platform -High-CPU Extra Large Instance: 7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platformMicro Instance(1??)Micro Instance 613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platformHigh-Memory Instances(3??)-High-Memory Extra Large Instance 17.1 GB memory, 6.5 ECU (2 virtual cores with 3.25 EC2 Compute Units each), 420 GB of local instance storage, 64-bit platform -High-Memory Double Extra Large Instance 34.2 GB of memory, 13 EC2 Compute Units (4 virtual cores with 3.25 EC2 Compute Units each), 850 GB of local instance storage, 64-bit platform-High-Memory Quadruple Extra Large Instance 68.4 GB of memory, 26 EC2 Compute Units (8 virtual cores with 3.25 EC2 Compute Units each), 1690 GB of local instance storage, 64-bit platformCluster Compute Instances(1??)Cluster Compute Quadruple Extra Large 23 GB memory, 33.5 EC2 Compute Units, 1690 GB of local instance storage, 64-bit platform, 10 Gigabit Ethernet<br />?  SEQ ?  ARABIC 2 EC2 ???? Type<br />EC2 ?????? ????? ??? A Quantitative Analysis of High Performance Computing with Amazon¡¯s EC2 Infrastructure: The Death of the Local Cluster (http://www.cs.virginia.edu/~humphrey/papers/QuantitativeAnalysisEC2.pdf)? ???? ??.<br />AMI? ??? ????(+??????) ??? ?? ? EC2 ??? 10~20? ??? ?? ??? ??. ??? ?? ??? ??? ?? ?? ? ??.<br />?? EC2 ????? EBS(Elastic block storage) ?? ?? ?? ???? ??? ??? ? ? ??. EC2? ???? ?? ?? ???? ?????, ???? ???? ???? ??? ????? ???, EBS? S3? ???? ???? ?? ? ??. ??? ??? ?? ??? ????.<br />??? EC2 ????? IP? ???(public) DNS?? ???. EC2? ???? ????, ACL??, ?? ???(Load Balancer), ????(Monitoring)? ????.<br />???? ??? ???? ? ?? ?? ??? ??. EC2 ?? ?? ??? ????(dashboard) ??? ??17? ??.<br />??  SEQ ??  ARABIC 17 EC2 ?? ??? ???? ??<br />EC2 ????? ??? ???(Wizard)? ?? ????, ??  REF _Ref288749241  ?? 18? AMI? ???? ????. ??? ? ? ??? ????? ????(community) AMI? ???? ??? ??? ? ??.<br />??  SEQ ??  ARABIC 18 AMI ??? ??<br />AMI? ??? ??, ?  REF _Ref288749283  ? 2?? ??? ??? ????(Computing Instance)? ??? ? ??.<br />??  SEQ ??  ARABIC 19 ??? ?? (EC2 Instance ??)<br />??? ??? EC2 ????? 10~20? ??? ??? ??,  REF _Ref288749362  ?? 20? ?? ?? ??? ??? ?? ?????? ??? ????.<br />??  SEQ ??  ARABIC 20 ??? ?? (?? ?? ??)<br />??? ??? EC2 ????? ????, ??? ?? ????? ????? ??? ? ??. IP? DNS, ???? ?? ? ??? ???? ??? ???? ????. <br />??  SEQ ??  ARABIC 21 EC2 ??<br />EBS (Elastic Block Storage)<br />EBS? EC2 ????? ??(Attach)? ? ?? ??? ?????(??? ??? S3??? ?? ?? ????)??. ??? EC2 ?????? ?? ?? EBS ??? ???(mount)? ? ???, ??? ?? ??? 1GB~1TB??. ??? ??? ?? S3 ???? ???? ?????, ???? ?? ?? ?? ??? ???? ??? IO ????(Performance)? ??? ?? ???, EBS? ?? ???(Booting Partition)??? ???? ????.<br />??  SEQ ??  ARABIC 22 EBS Mount ??<br />?? ?? ??? EBS? ???? S3? ???? ????? ?? ????<br />EBS? ??? ???(life cycle, ????)? ?? ??? ?? ??? ??? ??. ??(Terminate)?? ??? ?? ???? ??? ??? ???, ???? ????? ??? ??? ???? ??? ??. <br />??  SEQ ??  ARABIC 23 EBS ????<br />S3 (Simple Storage Service)<br />S3? ??? Blob ???? ?? ??? ??? ??? ???. ??, ???, ???? ?? ? ???? ???? ????. ??? ? ?? ???? ?? ??? ??? ???, ???? ???? ??? ???? 1byte?? ?? 5GB? ????. <br />S3? Bucket(??? ??)? ????, ??? ??? ??? ?? ??. http, https, Torrent?? ??? ? ?? API ?????? ???? ??.<br />??  SEQ ??  ARABIC 24 S3 ????? ? S3 ??<br />S3? ??? ???(????)? ??? ?? ??? ?? ?? ?? ????? ?? ??.<br />??  SEQ ??  ARABIC 25 S3 ?? ??<br />Smugmug??? ???? S3? ?? ???(Data)? ???? ?? ?? ???? ?? ??. ?????(Firefox) ?????? S3 ??? ???? ??????? 3rd party ????? ?? ??? ???? ?????(library)?? ?? ???? ??.<br />??  SEQ ??  ARABIC 26 Smugmug? S3 ???<br />S3? ??? ??? ??? ?? ??? ??. Bucket ??? ???, ??? Upload??  REF _Ref288754340  ?? 27? ?? ??? ?? ??? ? ??.<br />??  SEQ ??  ARABIC 27 S3 ??<br />???, S3? ?? ??? ?????, ?????? ?? ??? ?? ?? ??? ?? ???, Dynamo:Amazon¡¯s Highly Available Key-Value Store(http://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf)? ??? ????? ?? ??? ??????? ??? ? ??. <br />EBS? S3? ??? ? ????, S3? ?? ???, ???? ??. ???, ??? ??????? EBS? ?? ??. EC2 ????? EBS? S3?? ?? ? API ??? ??? ??.<br />??  SEQ ??  ARABIC 28 EC2, EBS, S3 ??<br />Simple DB<br />Simple DB ???? Key-Value ??? ???? ???? ?? ??? ??? ?????. ? ?? ??? ???? ????, ???? ??? ?? ? ?? ??? ????, ??(Value)? ???? ???? ??? ??? ??. ?? ??? Schemeless?? ??. ??? ??? ??? ?? ?? ??? ???? ??? ??? ???? ?????.<br />? ? ????? ???? ?? ????? ?? AWSAccessKeyId ?? ???(domain)? ????, ? ?? ?? ???(item)? ???? ??(attribute)? ???? ??? ????. ???(Domain)/???(Item)/??(Attribute)? ??? ???? ?? ???? ???? ?????? ? ? ??? ?? ??.<br />??  SEQ ??  ARABIC 29 ???(Domain)/???(Item)/??(Attribute) ???<br />RDB? ??? ???? ???, ??? ??(Data Model)? RDB?? ? ? ??? ??? ????. ??? ??? RDB ?? ??? ? ??? Simple DB? ??? ????.<br />??  SEQ ??  ARABIC 30 Simple DB ??<br />??? ??? ?????, ??? ??? API? ??? ????.<br />PUT (item, 123), (First name, Bob), (Last name, Smith), (Street address, 123 Main St.), (City, Springfield), (State, MO), (Zip, 65801), (Telephone, 222-333-4444)PUT (item, 456), First name, James), (Last name, Johnson), (Street address, 456 Front St.), (City, Seattle), (State, WA), (Zip, 98104), (Telephone, 333-444-5555)<br />?? ??? ??? ???? ???? ??? ?? ?? ??? ????.<br />PUT (item, 789), First name, Deborah), (Last name, Thomas), (Street address, 789 Garfield), (City, New York), (State, NY), (Zip, 10001), (Telephone, 444-555-6666), (Email, dthomas@xyz.com)<br />??  SEQ ??  ARABIC 31 Simple DB ??<br />???, ??(Simple) DB? ???(size)? ??(length)? ??? ?? ?? ??? ????? ????? ???? ??. ??? ???? ????? ???.<br />?? ?? ?? ??? ??? ??(Geo Replication)? ????? ???. Simple DB? ??? ???? ????? ??? ???? ??? ??? ???? ??? ???? ???? ?? ??? ?? ? ???? ?? ???? ????.<br />Simple DB? ???(Transactions)??? ???? ???, ?? ?? ??? ???? ?? ?? ??? ? ??. (Conditional Puts/deletes) ???, ?? ??? ??? ??? ?? ??/??/??? ??? ?? ???? ?? ??(Eventually Consistent Read)? ???? ???? ??. <br />??? ???? ?? Consistent Read? ????, ?? ???(consistency)? ??? ? ??? API? ??? ? ????? consistentRead key? value? true(consistentread=true)? ?? ????, ??/??/??? ??? ?? ???? ? ? ??. <br />Simple DB? ??? ??? ?? ??(http://huanliu.wordpress.com/2010/03/03/%EF%BB%BFthe-cost-of-eventual-consistency/)? ???, ??? ?? ??? ???? ??.<br />?? ??? ?? ??? ??? ??? ??.<br />GetAttribute : 22msGetAttribute with ConsistentRead : 23msPutAttribute : 110msPutAttribute Conditional : 118ms<br />?? ???? ??? ??? ??? ??. Conditional/ConsistentRead ?? ??? ?? ??? ??? ?? ???, ???? ????? ??? ????? ???.<br />??  SEQ ??  ARABIC 32 ????? ???? GetAttribute ??? ??<br />??  SEQ ??  ARABIC 33 ????? ???? PutAttribute ??? ??<br />???, API? ??? ?? Https ? ?? SOAP? REST ??? ???? ???? ????? ?? ??. <br />?? ???? ?? Simple DB? ?? ??? ???? ???? ??. S3?? ????, ??? ????? ??? ???, ?? ????? ??? ???? ???, ??? ???? ???. (http://www.daemonology.net/blog/2008-06-25-dissecting-simpledb-boxusage.html)<br />RDS (Relational DataBase Service)<br />RDB ???? MySQL ??? ??? ??? ??? ???? ????, MySQL ??(Feature)? ???(fully) ????. AWS GUI ?? ?? API ??? ??? ?? ?? ? ??. <br />?????? ???? ?? ??? Query-off loading ????? ????? ???. ? ????? Read Transaction? ?? ??, ??? ???(Master) DB? Create/Update/Delete? ???? ?? ?? ???(Slave) DB? ???? ???? ?? ?? Slave DB?? Read ?? ????(Transaction)? ?????? Read Transaction? ?? ??? ??? ??? ???? ??.<br />??  SEQ ??  ARABIC 34 RDS ??<br />?? ??(recovery)? 5?, ??? ?? 8? ??? ?????? ?? ??. ??, ?? ???? ???? AWS Zone(??? IDC??)?? ?? ????(failover) ??? ???? ??. ????? ??? ???, ????? ??? ???, DB? ???? ??? DB ????? ??(shutdown) ?? up? ?? ??, ???? ??, ??? ??, ???(computing)? ??? ?? ??? ???? ????? ?? ???? ??? ??? ???? ??.<br />EC2? ????? DB ???? ???(Instance class) ? ??? ? ??.<br />class??Small DB Instance1.7 GB memory, 1 ECU (1 virtual core with 1 ECU), 64-bit platform, Moderate I/O CapacityLarge DB Instance: 7.5 GB memory, 4 ECUs (2 virtual cores with 2 ECUs each), 64-bit platform, High I/O CapacityExtra Large DB Instance: 15 GB of memory, 8 ECUs (4 virtual cores with 2 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Extra Large Instance 17.1 GB memory, 6.5 ECU (2 virtual cores with 3.25 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Double Extra Large DB Instance34 GB of memory, 13 ECUs (4 virtual cores with 3,25 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Quadruple Extra Large DB Instance 68 GB of memory, 26 ECUs (8 virtual cores with 3.25 ECUs each), 64-bit platform, High I/O Capacity<br />?  SEQ ?  ARABIC 4 RDS Type<br />SQS (Simple Queue Service)<br />SQS? IBM MQ? JAVA? JMS? ?? ???? Queue ?????. Queue? ??? EC2 ?? ??? ? ?????(Messaging)?? ???(Asynchronous) ???? ??? ????.<br />???? Queue? Message? ??? ? ??. Queue? ???? ???? ?? ?? 64Kb?? ????, ?? 14??? Queue? ??? ? ??. ??? ?? ? ??? ????. ?? ??? ?? ????. ?? ???? ???? ???? ???? ?? ? ? ??? ???(scalability)? ????. <br />?? ??? ???? ??? ??(Request) ? 1?? ???? ??? ???? ??.<br />??  SEQ ??  ARABIC 35 SQS ??<br />SNS(Social Networking Service)<br />???? ? ??? ??? ????? ??? ??? ? ??? ???? ??? ?? ??. ?? ??? ??(Notification)???? ??? ?????? ??? ??? ????. ????? ???? SMS? ??? ?? ??? ?? ?? ?????, ??? AWS??? ??? ??? ?? ???(Notification Service)? ????.<br />??? AWS? ?? ???? HTTP(HTTPS)? SMTP(JSON) ?????? ????.<br />???? ??? ?????? ??(Topic)? ??(Subscription)? ???? ??? ???????? ???? ?? ?? ??(Notification)? ???? ????.<br />??-??(Publish-Subscription) ???? ???(Publisher)? ?? ?? ??(Topic)? ???, ?? ?? ??? ????. ? ???, Notification? ??? ?? ???(Subscriber)? ??(subscription)? ???? ??. ???? ???? ??? ??(Publish)??, SNS ? ???? ??(notification)? ????. <br />??  SEQ ??  ARABIC 36 SNS ??<br />??? SNS? SQS? ???? ??? ??? ??? ?? ??. ?? 100,000? API ??(Request)? ??? ????, ? ??, 100,000?? 6 ??? ???? ??? ???? ??. ??(Notification) ?? ??? Http? SMTP ????? ?? ???. Http? ??? API ??? ??? ??? ?????, ???(Email)? ??? 30~100? ?? ?? ??? ???? ??.<br />??<br />??? AWS ???? ??? ??? ? ? ?? ? ? ??.  ????? ???? ?? ?? ?? ??? ????(????) ???? ????.<br />??  SEQ ??  ARABIC 37 ?? ???<br />EC2? On Demand Instance? ?? ?? ???? ?? ? ?? ? ?? ??? ???? ??? ????. ???, ??? ????(Reserved Instance)? ???? 1? ?? 3? ??? ? ?? ?? ??? ? ???, ???? ??? ? ??.<br />CloudWatch? ELB (Elastic Load Balancer)<br />CloudWatch? ???? ?????, EC2, EBS, S3, ELB ? ???? ?? ???(resource ulitization), ??? ??????. ?? EBS? S3? ???(Disk)? ??(Fault)? ???? ?, ?? ?(zone, ??) ?? ?? ?(IDC ??)?? ??? ??(Data backup)? ?????. EBS->EBS, EBS->S3, EBS->?? zone? EBS, S3->?? ??? S3? ??? ? ??? ????.<br />EC2 ????? ?? ??? ???? ??? ??? ??.<br />??  SEQ ??  ARABIC 38 EC2 ????<br />EC2 ????? ???(Mount)? EBS? ???? ???? ????? ????.<br />??  SEQ ??  ARABIC 39 EBS ????<br />ELB? ???? ???(Scalability)? ??? ? ?? API? ???? ???, ?? ??(Health check)? ?? ????? ????. ? ??? ?????, L7? health check ??? ??? ??? ???? ??. L4 ??? ??? ???? ?????(Threadhold)?? ???? ??? ???? ?? ??? ?? ?? ? ? ??. <br />??  SEQ ??  ARABIC 40 ELB ?? ??<br />???, AWS?????? ???? ? ???? ???? L4? ???? ???? ??. Health check? ?? ??? ??? ???? ???? ??? ???. ???? L4 ???? ???, AWS ???? ?? 3rd party DNS ??? ???? ??.<br />AWS? ?? ????(AutoScaling) ??? ?????? ? ?? EC2????? ?????? DNS ??? ?? ?? DNS??? ??? ?? ??? ???? ?? ??. <br />?????<br />??? AWS??? ??? ???? ?? IaaS, PaaS ??? ???? ???? ???? ?? ??? ??? ?? ??. ??? ??? ?? ????? ?? ???? ??? ???? ????.<br />???? ??? ?? ?? ?? ??? ?? ???AWS? ??? ??? ?? ??. <br />VPC (Virtual Private Cloud, VPN ??? ??), AWS Import/Export (??? backup/recovery/?? ??? ???? ??), Fulfillment Web Service (Amazon FWS, e-commerce ??/????), FPS (Flexible Payments Service, ?????), DeyPay ??, Alexa Web Information Service (Web ??), Alexa Top Sites (?? ???), SES (Simple Email Service, ??? ???) ?? ????? ???? ??.<br />??? Amzazon Mechanical Turk??? ?? Pool ??? ????? ??.<br />??<br />???? Multi-tenant (?? ???)<br />?? ???? ???? ??? ??? Multi-tenant?? ??. Gartner? ???? Multi-tenant? ????  REF _Ref288755182  ?? 41? ?? ?????, AWS? ???? ???? ???? ????.<br />??  SEQ ??  ARABIC 41 Multi-tenant ??<br />AWS ???? ??? ? ?????? ?? ???? ??? ?? ?? ???(security)? ???(isolation)? ???? ??. ???? ????? ???? ??? ??? ???, ??? ??????, ??, DDOS, ??? ?? ?? ??? ?? ??? ??? ??? ???? ? ?? ??? ??? ??. <br />??, SalesForce.com, MS Azure? ?? SaaS ??? ?????? ?? ??? ?? ??? ??. Database ?? ??? ????? Service ??? ????? ?? ?? ????. ????? ?? ???? ?? ???? ??? ??? Secure Multi-tenant ??? ???, ?? ???? ?? ??? ?? ??.<br />??, Oracle ???? ???? ??? Single-tenant? ????? ?????. ? ??? ??/?? ??? ?????? ???? ? ? ??, ?? ???? ??? ??? ?? ??? ?? ?? ???? ??? ? ? ??? ?? ??? ??? ??.<br />SLA (Service License Agreement)<br />Multi-tenancy ??? ???? ??? ????? ??? ????? ????? ??? ??? ?? ??(QoS)? ??? ??. Qos? ???, ??? ???? ??? ????? ??? ??? SLA? ? ? ??. <br />AWS ??? ? EC2? S3??? ????? SLA? ?????. S3? ??? 99.95%? ???(uptime/availability)? ????, ? ??? ???? ??? 10~25%??? ?? ? ??? ??????. ??, ?? AWS ???? SLA? ?? ???? ???? ??? ???? ????, ?? AWS ????? 99.9% ???? ????? ???? ??.<br />??? 2010?? S3? ???? ??? ? ??? (http://www.quora.com/Amazon-Web-Services/How-stable-is-Amazons-S3-platform) ??? ???, ??? ???? ?? ??? ???? ??. <br />S3 EU West: 99.979%,S3 US East: 99.994%S3 US West: 100%S3 APAC: 100%<br />??<br />???? AWS ???? ?????. AWS? ???? API ??? ??, ?? ?? ??? ???? ?? ???? ?? ????. ?? ? ? ??? ??? ???, ???? ??? IaaS, PaaS????? ?????? ??. Amazon.com? ?? ???? ????? AWS? ??? ??? ??? ??. ??? ? ?? ?? Amazon AWS? ??? ?? ??? ?? ? ??.<br />
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??
??? Aws ???_??

More Related Content

??? Aws ???_??

  • 1. ??? ????? ?? ?? ?? <br />Knight76.tistory.com <br />??? AWS(Amazon Web Services) ??<br />AWS(Amazon Web Services)? 1995? ??? ???? ??? ??? ? ???(Amazon.com)? ???? ???? ??? ???? ???? ?? ??? ???? ????. AWS ???? 9? ?, 2002? 7? 16?? ???? ?????, ???? ???? ??? ? ?? ??? ???? ????. ???(Amazon) ?? ??? ???, 2007?? 33??? ???? ??? ?????, ??? ?? ? ??? ???? ?? ?? ???.<br />??, 2008? 1? ??? ?? ??? ??? Amazon.com?? Amazon AWS ???? ?? ???(Bandwidth)? ?? ???? ??? REF _Ref288756369 ?? 1 ? ?? ????. ??? ???? AWS?? ??? ?? ??? ? ??.<br />?? SEQ ?? ARABIC 1 Amazon.com? Amazon AWS ??? ?? ??<br />??, AWS ???? ? ??? ? ??? ??? ????? EC2(Elastic Compute Cloud), ???? ???? S3(Simple Storage Service), Queue ???? ?? SQS(Simple Queue Service), ?????? ???? ?? SimpleDB ? RDS(Relational Database System)? ??? ???? ???? ??. ?? ?? ?? ???? AWS? ???? ???? ??. ????? AWS ? ???? SOAP(Simple Object Access Protocol), REST(Representational State Transfer)? ?? API? ???? ???? ???? ?? ??? ?? ?? ? ??? ? ?? ??? ????.<br />AWS? ????, ??? ???? ?? ?? ?? ??? ???? ???? ??? ???? ?? ??? ??? ??????? ??? ??? ?? ? ??. ??, ? ???? ?? ???? ??, ??? ???? ?? ?? ??? ???? ??? ?? ??? ???? ??? ???? ???? ?? ? ??.<br />?? SEQ ?? ARABIC 2 ?? ?? ?? ??<br />??? Amazon AWS? ?? ??? ?? ???. ???? ???? ?? ???? ????, ?? ?? ??? ?? ????? ? ?? ?? ? ??.<br />?? SEQ ?? ARABIC 3 AWS Web Page<br />??? ????? ??? AWS ???? ??? ??? ??? ??? ??? ????? ?????. ????? ?? ??? AWS ???? ???? ????, ????? ???? ??? ????, ??? ?? ?????(copyright) - ??? ??? ?? ??(term)? ????? ???? ????? ?? ??? ???.<br />?? SEQ ?? ARABIC 4 ????? ??? ??? Time? <br />?? ??? ???, ?? ???? ???? ??? ? ??? AWS? ??? ???? ??? ???? ??? ???? ?, ??? ?? ??, ???? ?? ??? ???(PAAS), ???? ?? UI(User Interface)? API? ? ? ???. ???? AWS? ?? ???? EC2? S3? ????. EC2? ???? ???? ?? ??? ??? ????? ??? ? ???, ??? ??? ???? ?? ? ??, ??? ??? ?? ????? ????? ?? ???? ?? ? ??. AWS? ??? ??? ??? ????? REF _Ref288747730 ?? 5? ?? ???.<br />?? SEQ ?? ARABIC 5 AWS? ?? <br />??? 2009? ?? Qcon(InfoQ Conference)? ????. ?? ????? ???? ????? ?? ?? ??? ????, 2008~2009?? ?? ??? ?? ?????? ??? ??? ??? ?? ?????. ?? ??? ????? ?? ???? ???? ????? ??? ??? ??? ??? ?? ?? ???? ??? ?? ??? ??. ??? ?? ??? ??? ?? ?? ? ?? ???? ???? ?? ??? ?? ??? ???? ???? ? ?? ??(Need)?? ????, ???? N????(Ndrive) ???? 2009? ? ???? ?? ??? ????? ???? ???? ??? ? ?? ? ?? ??? ???? ???. (??? N????? ??? ?? ???? ???? ?? ?????) <br />?? ????? ?? ???? AWS? ???? ???? ???? ???? ?? ?? ? ??. ?? ???? AWS S3? ?? ??? ??? ??? ???/???? ? ? ?? ??? ???? ?? ??? ????? ??. ???? N????? ?? ????? ? ? ??, ??? ????, KT? U???? ???? ??. ??? KT? U????? AWS ???? ???? ??? ???? ??. <br />?? ??? AWS? ??? ? ?(???), ?? ? ?(??, ??), ?? ? ? ??? ?????? ???? ??? ???? ?? AWS ???? ???? ?????? ?? ???? ???? ???? ??.<br />?? SEQ ?? ARABIC 6 AWS ??? ??? ??<br />??? AWS? ???? ???? ?????, ?? ???? ?? ? ? ?? ?? ?? ????? ??? ??. KT? ???? ???? ? AWS? ????? AWS UI? ?? ?? ?? ???? ???, ????? ???? ???? AWS ????? ?? ??? ? ???. ?? AWS ???? API? ?? ??? ?? ?? ???? ?? ??? ??? ?????? ?? ?? ???? ??. ???? AWS ????? API ?????? ???? 3rd party ???? ???? ???? ???? ???? ??? ???? ??? ??? ?? ?? ??? ? ??. <br />?? AWS ????? ??? ? ?? ?? ???? ??? ??? ?? ??? ??? ??. ?? ?? Whirr?? ??? ????? AWS ???? ???? Hadoop, Cassandra, Cloudera¡¯s Distribution for Haddop, Zookeep, HBase?? ??/??/??? ???? ???.<br />Amazon AWS ????<br />?? REF _Ref288747522 ?? 7? Amazon AWS ?????? ???? ? ??? ????. ?? ???? ??? ???, ? ?? ??? ? ?? ????. <br />?? SEQ ?? ARABIC 7 ??? AWS ??? ???<br />???? Amazon Machine Image(AMI)??? ???, ??????, ?? ?? S3 ?? ??? ??? ??? ??, EC2? ?????(VM) ???? AMI? ???? ??? ??? ????. ?? AMI ?? ?? On-Demand ????? ???, ?? ?? ???? ? ? ?? ??? ?? ??? ? ??. ? ??? ????? ?? ??? ???? Spot Instance? ?? ???? ???? ??? ? ?? Reserved Instance? ???? ??.<br />EC2? ???, S3? ???, AMI? ???? ?? ??????? ?? ???, ??? ?? EC2? ??? ??? ? ??? ?? ?? ?? ??? ??? ?? ? ??? ??? ??? ???? ??? ??? ?????.<br />??? EC2? S3? ??? ?? ???? ?? ????(Instance, ????)?? ????, ??? ????? 1.7GHz? ?? ?? ????(32bit)? ???? 1.7GB? ?? ???? 160GB? ?????, 250Mbps? ???? ??? ??? ?? ???? ??? ????.<br />??? AWS ??? ????? ??? ?? REF _Ref288747619 ?? 8? ?? ??? ? ??. ??? ??? ??? ???? ????.<br />?? SEQ ?? ARABIC 8 AWS ??? ????<br />AWS ???? Management Console??? GUI ?????, ????? ?? ??? ? ?? API ?????? ???? ??? ???? ??. <br />?? ???<br />AWS ???? ???? ???? ??? AWS? ??? ?? ??? ???? ??? ????.<br />?? SEQ ?? ARABIC 9 ?? ??<br />?? SEQ ?? ARABIC 10 ?? ?? <br />AWS ???? EC2 ???? ???? ??? ?? ??? ?? ??(Sign up)? ?? ??.<br />?? SEQ ?? ARABIC 11 EC2 ? ??<br />?? ??? ??????? ? ?? ??? ??? ????. ?? ??? ???, REF _Ref288748314 ?? 12? ?? ??? ???. <br />?? SEQ ?? ARABIC 12 ?? ??<br />AWS ? ???? Management Console? ??? ?? ??? ????? ??? ??. API? ???? ??? ????? ???. ????? ???? REF _Ref288748536 ? 1? ??. Simple DB? ?? PaaS ??? ???? API ? ??? ? ???? ??? Access Credentials??.<br />?? ????Access CredentialsAccess Keys (Access Key ID, Secret Access Key)X.509 ???Key Pairs IDSign-In CredentialsEmail address, passwordAWS Multi-Factor Authentication DeviceAccount IdentifiersAWS Account IDCanonical User ID<br />? SEQ ? ARABIC 1 ?? ??<br />?? ?? EC2 ???? ??? ??? ????? ???? ?, ??? ??? ??? SSH? ?????, key pair ???? ???? ?? ??? ? ??. <br /> REF _Ref288756795 ?? 13? ?? EC2? ???? ?? SSH ?????(Client)? ??? ??? ? ??? ?? ??? ?? ??. ??? ?? ?? ?? ???? ???? ??? ??? ? ? ??.<br />?? SEQ ?? ARABIC 13 SSH ?? ?? ??<br />?? SEQ ?? ARABIC 14 Putty? ??? ?? ??<br />?? SEQ ?? ARABIC 15 EC2 ???? ??? ??<br />EC2 ? AMI<br /> EC2? Elastic Compute Cloud? ????, S3? ?? AWS? ?? ??? ?? ????. ???? ?? ??? ?? ??? ???? ???? ??? ?? ?????. ??? ??? EC2? ?????, ??? ??? ?? ?? ?? ?? ??? ??? ? ??. ???? ??? ???? ??(Need)? ?? ??? ??(Computing Resource)? ????? ???? ????? ?? ? ??? ????? ??. ??? EC2? ? ?? ???? ?? ??, ?? ??, ?? ??, ???, ?? ? 5? ??(Region)?? ???? ???? ??. Region?? ?? Zone?? ???? ???? ??.<br />EC2 ???? ???? ???? ?? ????? ????? ?? ????. ?? AMI (Machine Image)?? ?? ???, EC2? ??? ? ?? ??? ????? ??? AWS?? ????. ???? ??? ?? ???? ???? ??? ??, ?? ????, ??? ???? ???? ???? ???, ????? ???? ?? ?? ????? ??????(Application)? ?? ???? ??? ?? S3? ?? AMI? ???? ??? ? ??? ?? ??. ??? Http ??, ??? ???, WAS, ????, Hadoop? ??? ??????? ????? ?? ??? ? ??. ???(Custom) ???? ???? ????? ??? ? ??, ?? ?? ? ?? ??.<br />??? ?? ?? ???? ? ??? ??? ?? ????? ??? AWS? ??? ??? ????, REF _Ref288756873 ?? 16? ??. ??? ??? ??? ?? ??? ???? ???, ??? ??? ???? ??? ???? ???? ??? ????? ?? ???? ??? ?? ??? ? ??? ?? ?? ????.<br />?? SEQ ?? ARABIC 16 EC2 ?? ?? (??? ??)<br />????? ?????? ???? On-Demand Instance? ????. ???? ????? ???? ? ??, ?? ??? ? ?? ???(Dynamic) ???? ??? ??? ? ??.<br />? ??(per year)? ?? ???? ???? ??? ??? ?? ??? ? ???, ? ??? Reserved Instance?? ??. Reserved Instance? ????? ?? ?? ?? ?? ????? ?? ?? ??? ??? ??? ?? ????? ??? ? ???, ?? Spot Instance?? ??. ?? ?? ?? ??? ? ?? ??? AWS? ????. <br />?? ??? ??? ?? ???(Virtualization) ????. ??? ???? ?? ?? CPU? ??? ?? ?? ??? ?? ?? ?? ?? OS ????? ???? ???? ??? ??? ? ??? ????.<br />AMI? Xen ???? ?? ??. Xen? MS? Hyper-V, SpringSource ? ??? VMWare?? ??? ???? ?? ?????? ???? ??? ?? ? ????. Xen? ???? (para-virtualization)??? ?????, ????? ?? ????? ???? ?? ?? ???(Layer)? ¡®??? ???(Hypervisor)¡¯?? ???? ??? ???? ????? ???? ?? ?? ?? ??? ??? ??. ??? ???? ? ???? ??? ??? ??? ?? ???? ??? ??? ????? ??. ??? Xen?? ???? ????? ??? ?? ??? ????? ?? ??? ??, Xen? ?????? ??? ????? ?? ?? ? ??. <br />?? ????(full-virtualization)??? ????, ????? ?? ???? ????? ???? ???? ? ??. ????? ????(CPU? Virtualization Techonology)? ??? ??, ?? ???? ¡®??? ???¡¯? ???? ?? ??? ?? ¡®??? ???¡¯? ?? ????? ???? Z ??? ????? ??? ???? ? ??.<br />???, ???? ??? ???? Xen? ????, EC2? UI? EC2? ??? AMI? ???? ??? ?? ??? ? ??.<br />???? ???(AMI)? ??? ??? ??? ??? ????. ??? ??? EC2 ?????? ?????, ??? ? ?? ??(Type)? ? 10????. ???? ??? ??? ???? ??? ???? CPU ?? ???(Memory) ???? ??? ??? ?????? ?? ? ??. ?? ???? ?? ???? EC2 ??? ????? ??? ? ??. ??? ??(terminated)??? EC2 ????? ???? ??.<br />Type??Standard Instances(3??)-Small Instance: 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform (???, 1?? ????? 1.0-1.2Ghz 2007 Xeon ????? ??)-Large Instance: 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform -Extra Large Instance: 15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform High-CPU Instances(2??)-High-CPU Medium Instance: 1.7 GB of memory, 5 EC2 Compute Units (2 virtual cores with 2.5 EC2 Compute Units each), 350 GB of instance storage, 32-bit platform -High-CPU Extra Large Instance: 7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platformMicro Instance(1??)Micro Instance 613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platformHigh-Memory Instances(3??)-High-Memory Extra Large Instance 17.1 GB memory, 6.5 ECU (2 virtual cores with 3.25 EC2 Compute Units each), 420 GB of local instance storage, 64-bit platform -High-Memory Double Extra Large Instance 34.2 GB of memory, 13 EC2 Compute Units (4 virtual cores with 3.25 EC2 Compute Units each), 850 GB of local instance storage, 64-bit platform-High-Memory Quadruple Extra Large Instance 68.4 GB of memory, 26 EC2 Compute Units (8 virtual cores with 3.25 EC2 Compute Units each), 1690 GB of local instance storage, 64-bit platformCluster Compute Instances(1??)Cluster Compute Quadruple Extra Large 23 GB memory, 33.5 EC2 Compute Units, 1690 GB of local instance storage, 64-bit platform, 10 Gigabit Ethernet<br />? SEQ ? ARABIC 2 EC2 ???? Type<br />EC2 ?????? ????? ??? A Quantitative Analysis of High Performance Computing with Amazon¡¯s EC2 Infrastructure: The Death of the Local Cluster (http://www.cs.virginia.edu/~humphrey/papers/QuantitativeAnalysisEC2.pdf)? ???? ??.<br />AMI? ??? ????(+??????) ??? ?? ? EC2 ??? 10~20? ??? ?? ??? ??. ??? ?? ??? ??? ?? ?? ? ??.<br />?? EC2 ????? EBS(Elastic block storage) ?? ?? ?? ???? ??? ??? ? ? ??. EC2? ???? ?? ?? ???? ?????, ???? ???? ???? ??? ????? ???, EBS? S3? ???? ???? ?? ? ??. ??? ??? ?? ??? ????.<br />??? EC2 ????? IP? ???(public) DNS?? ???. EC2? ???? ????, ACL??, ?? ???(Load Balancer), ????(Monitoring)? ????.<br />???? ??? ???? ? ?? ?? ??? ??. EC2 ?? ?? ??? ????(dashboard) ??? ??17? ??.<br />?? SEQ ?? ARABIC 17 EC2 ?? ??? ???? ??<br />EC2 ????? ??? ???(Wizard)? ?? ????, ?? REF _Ref288749241 ?? 18? AMI? ???? ????. ??? ? ? ??? ????? ????(community) AMI? ???? ??? ??? ? ??.<br />?? SEQ ?? ARABIC 18 AMI ??? ??<br />AMI? ??? ??, ? REF _Ref288749283 ? 2?? ??? ??? ????(Computing Instance)? ??? ? ??.<br />?? SEQ ?? ARABIC 19 ??? ?? (EC2 Instance ??)<br />??? ??? EC2 ????? 10~20? ??? ??? ??, REF _Ref288749362 ?? 20? ?? ?? ??? ??? ?? ?????? ??? ????.<br />?? SEQ ?? ARABIC 20 ??? ?? (?? ?? ??)<br />??? ??? EC2 ????? ????, ??? ?? ????? ????? ??? ? ??. IP? DNS, ???? ?? ? ??? ???? ??? ???? ????. <br />?? SEQ ?? ARABIC 21 EC2 ??<br />EBS (Elastic Block Storage)<br />EBS? EC2 ????? ??(Attach)? ? ?? ??? ?????(??? ??? S3??? ?? ?? ????)??. ??? EC2 ?????? ?? ?? EBS ??? ???(mount)? ? ???, ??? ?? ??? 1GB~1TB??. ??? ??? ?? S3 ???? ???? ?????, ???? ?? ?? ?? ??? ???? ??? IO ????(Performance)? ??? ?? ???, EBS? ?? ???(Booting Partition)??? ???? ????.<br />?? SEQ ?? ARABIC 22 EBS Mount ??<br />?? ?? ??? EBS? ???? S3? ???? ????? ?? ????<br />EBS? ??? ???(life cycle, ????)? ?? ??? ?? ??? ??? ??. ??(Terminate)?? ??? ?? ???? ??? ??? ???, ???? ????? ??? ??? ???? ??? ??. <br />?? SEQ ?? ARABIC 23 EBS ????<br />S3 (Simple Storage Service)<br />S3? ??? Blob ???? ?? ??? ??? ??? ???. ??, ???, ???? ?? ? ???? ???? ????. ??? ? ?? ???? ?? ??? ??? ???, ???? ???? ??? ???? 1byte?? ?? 5GB? ????. <br />S3? Bucket(??? ??)? ????, ??? ??? ??? ?? ??. http, https, Torrent?? ??? ? ?? API ?????? ???? ??.<br />?? SEQ ?? ARABIC 24 S3 ????? ? S3 ??<br />S3? ??? ???(????)? ??? ?? ??? ?? ?? ?? ????? ?? ??.<br />?? SEQ ?? ARABIC 25 S3 ?? ??<br />Smugmug??? ???? S3? ?? ???(Data)? ???? ?? ?? ???? ?? ??. ?????(Firefox) ?????? S3 ??? ???? ??????? 3rd party ????? ?? ??? ???? ?????(library)?? ?? ???? ??.<br />?? SEQ ?? ARABIC 26 Smugmug? S3 ???<br />S3? ??? ??? ??? ?? ??? ??. Bucket ??? ???, ??? Upload?? REF _Ref288754340 ?? 27? ?? ??? ?? ??? ? ??.<br />?? SEQ ?? ARABIC 27 S3 ??<br />???, S3? ?? ??? ?????, ?????? ?? ??? ?? ?? ??? ?? ???, Dynamo:Amazon¡¯s Highly Available Key-Value Store(http://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf)? ??? ????? ?? ??? ??????? ??? ? ??. <br />EBS? S3? ??? ? ????, S3? ?? ???, ???? ??. ???, ??? ??????? EBS? ?? ??. EC2 ????? EBS? S3?? ?? ? API ??? ??? ??.<br />?? SEQ ?? ARABIC 28 EC2, EBS, S3 ??<br />Simple DB<br />Simple DB ???? Key-Value ??? ???? ???? ?? ??? ??? ?????. ? ?? ??? ???? ????, ???? ??? ?? ? ?? ??? ????, ??(Value)? ???? ???? ??? ??? ??. ?? ??? Schemeless?? ??. ??? ??? ??? ?? ?? ??? ???? ??? ??? ???? ?????.<br />? ? ????? ???? ?? ????? ?? AWSAccessKeyId ?? ???(domain)? ????, ? ?? ?? ???(item)? ???? ??(attribute)? ???? ??? ????. ???(Domain)/???(Item)/??(Attribute)? ??? ???? ?? ???? ???? ?????? ? ? ??? ?? ??.<br />?? SEQ ?? ARABIC 29 ???(Domain)/???(Item)/??(Attribute) ???<br />RDB? ??? ???? ???, ??? ??(Data Model)? RDB?? ? ? ??? ??? ????. ??? ??? RDB ?? ??? ? ??? Simple DB? ??? ????.<br />?? SEQ ?? ARABIC 30 Simple DB ??<br />??? ??? ?????, ??? ??? API? ??? ????.<br />PUT (item, 123), (First name, Bob), (Last name, Smith), (Street address, 123 Main St.), (City, Springfield), (State, MO), (Zip, 65801), (Telephone, 222-333-4444)PUT (item, 456), First name, James), (Last name, Johnson), (Street address, 456 Front St.), (City, Seattle), (State, WA), (Zip, 98104), (Telephone, 333-444-5555)<br />?? ??? ??? ???? ???? ??? ?? ?? ??? ????.<br />PUT (item, 789), First name, Deborah), (Last name, Thomas), (Street address, 789 Garfield), (City, New York), (State, NY), (Zip, 10001), (Telephone, 444-555-6666), (Email, dthomas@xyz.com)<br />?? SEQ ?? ARABIC 31 Simple DB ??<br />???, ??(Simple) DB? ???(size)? ??(length)? ??? ?? ?? ??? ????? ????? ???? ??. ??? ???? ????? ???.<br />?? ?? ?? ??? ??? ??(Geo Replication)? ????? ???. Simple DB? ??? ???? ????? ??? ???? ??? ??? ???? ??? ???? ???? ?? ??? ?? ? ???? ?? ???? ????.<br />Simple DB? ???(Transactions)??? ???? ???, ?? ?? ??? ???? ?? ?? ??? ? ??. (Conditional Puts/deletes) ???, ?? ??? ??? ??? ?? ??/??/??? ??? ?? ???? ?? ??(Eventually Consistent Read)? ???? ???? ??. <br />??? ???? ?? Consistent Read? ????, ?? ???(consistency)? ??? ? ??? API? ??? ? ????? consistentRead key? value? true(consistentread=true)? ?? ????, ??/??/??? ??? ?? ???? ? ? ??. <br />Simple DB? ??? ??? ?? ??(http://huanliu.wordpress.com/2010/03/03/%EF%BB%BFthe-cost-of-eventual-consistency/)? ???, ??? ?? ??? ???? ??.<br />?? ??? ?? ??? ??? ??? ??.<br />GetAttribute : 22msGetAttribute with ConsistentRead : 23msPutAttribute : 110msPutAttribute Conditional : 118ms<br />?? ???? ??? ??? ??? ??. Conditional/ConsistentRead ?? ??? ?? ??? ??? ?? ???, ???? ????? ??? ????? ???.<br />?? SEQ ?? ARABIC 32 ????? ???? GetAttribute ??? ??<br />?? SEQ ?? ARABIC 33 ????? ???? PutAttribute ??? ??<br />???, API? ??? ?? Https ? ?? SOAP? REST ??? ???? ???? ????? ?? ??. <br />?? ???? ?? Simple DB? ?? ??? ???? ???? ??. S3?? ????, ??? ????? ??? ???, ?? ????? ??? ???? ???, ??? ???? ???. (http://www.daemonology.net/blog/2008-06-25-dissecting-simpledb-boxusage.html)<br />RDS (Relational DataBase Service)<br />RDB ???? MySQL ??? ??? ??? ??? ???? ????, MySQL ??(Feature)? ???(fully) ????. AWS GUI ?? ?? API ??? ??? ?? ?? ? ??. <br />?????? ???? ?? ??? Query-off loading ????? ????? ???. ? ????? Read Transaction? ?? ??, ??? ???(Master) DB? Create/Update/Delete? ???? ?? ?? ???(Slave) DB? ???? ???? ?? ?? Slave DB?? Read ?? ????(Transaction)? ?????? Read Transaction? ?? ??? ??? ??? ???? ??.<br />?? SEQ ?? ARABIC 34 RDS ??<br />?? ??(recovery)? 5?, ??? ?? 8? ??? ?????? ?? ??. ??, ?? ???? ???? AWS Zone(??? IDC??)?? ?? ????(failover) ??? ???? ??. ????? ??? ???, ????? ??? ???, DB? ???? ??? DB ????? ??(shutdown) ?? up? ?? ??, ???? ??, ??? ??, ???(computing)? ??? ?? ??? ???? ????? ?? ???? ??? ??? ???? ??.<br />EC2? ????? DB ???? ???(Instance class) ? ??? ? ??.<br />class??Small DB Instance1.7 GB memory, 1 ECU (1 virtual core with 1 ECU), 64-bit platform, Moderate I/O CapacityLarge DB Instance: 7.5 GB memory, 4 ECUs (2 virtual cores with 2 ECUs each), 64-bit platform, High I/O CapacityExtra Large DB Instance: 15 GB of memory, 8 ECUs (4 virtual cores with 2 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Extra Large Instance 17.1 GB memory, 6.5 ECU (2 virtual cores with 3.25 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Double Extra Large DB Instance34 GB of memory, 13 ECUs (4 virtual cores with 3,25 ECUs each), 64-bit platform, High I/O CapacityHigh-Memory Quadruple Extra Large DB Instance 68 GB of memory, 26 ECUs (8 virtual cores with 3.25 ECUs each), 64-bit platform, High I/O Capacity<br />? SEQ ? ARABIC 4 RDS Type<br />SQS (Simple Queue Service)<br />SQS? IBM MQ? JAVA? JMS? ?? ???? Queue ?????. Queue? ??? EC2 ?? ??? ? ?????(Messaging)?? ???(Asynchronous) ???? ??? ????.<br />???? Queue? Message? ??? ? ??. Queue? ???? ???? ?? ?? 64Kb?? ????, ?? 14??? Queue? ??? ? ??. ??? ?? ? ??? ????. ?? ??? ?? ????. ?? ???? ???? ???? ???? ?? ? ? ??? ???(scalability)? ????. <br />?? ??? ???? ??? ??(Request) ? 1?? ???? ??? ???? ??.<br />?? SEQ ?? ARABIC 35 SQS ??<br />SNS(Social Networking Service)<br />???? ? ??? ??? ????? ??? ??? ? ??? ???? ??? ?? ??. ?? ??? ??(Notification)???? ??? ?????? ??? ??? ????. ????? ???? SMS? ??? ?? ??? ?? ?? ?????, ??? AWS??? ??? ??? ?? ???(Notification Service)? ????.<br />??? AWS? ?? ???? HTTP(HTTPS)? SMTP(JSON) ?????? ????.<br />???? ??? ?????? ??(Topic)? ??(Subscription)? ???? ??? ???????? ???? ?? ?? ??(Notification)? ???? ????.<br />??-??(Publish-Subscription) ???? ???(Publisher)? ?? ?? ??(Topic)? ???, ?? ?? ??? ????. ? ???, Notification? ??? ?? ???(Subscriber)? ??(subscription)? ???? ??. ???? ???? ??? ??(Publish)??, SNS ? ???? ??(notification)? ????. <br />?? SEQ ?? ARABIC 36 SNS ??<br />??? SNS? SQS? ???? ??? ??? ??? ?? ??. ?? 100,000? API ??(Request)? ??? ????, ? ??, 100,000?? 6 ??? ???? ??? ???? ??. ??(Notification) ?? ??? Http? SMTP ????? ?? ???. Http? ??? API ??? ??? ??? ?????, ???(Email)? ??? 30~100? ?? ?? ??? ???? ??.<br />??<br />??? AWS ???? ??? ??? ? ? ?? ? ? ??. ????? ???? ?? ?? ?? ??? ????(????) ???? ????.<br />?? SEQ ?? ARABIC 37 ?? ???<br />EC2? On Demand Instance? ?? ?? ???? ?? ? ?? ? ?? ??? ???? ??? ????. ???, ??? ????(Reserved Instance)? ???? 1? ?? 3? ??? ? ?? ?? ??? ? ???, ???? ??? ? ??.<br />CloudWatch? ELB (Elastic Load Balancer)<br />CloudWatch? ???? ?????, EC2, EBS, S3, ELB ? ???? ?? ???(resource ulitization), ??? ??????. ?? EBS? S3? ???(Disk)? ??(Fault)? ???? ?, ?? ?(zone, ??) ?? ?? ?(IDC ??)?? ??? ??(Data backup)? ?????. EBS->EBS, EBS->S3, EBS->?? zone? EBS, S3->?? ??? S3? ??? ? ??? ????.<br />EC2 ????? ?? ??? ???? ??? ??? ??.<br />?? SEQ ?? ARABIC 38 EC2 ????<br />EC2 ????? ???(Mount)? EBS? ???? ???? ????? ????.<br />?? SEQ ?? ARABIC 39 EBS ????<br />ELB? ???? ???(Scalability)? ??? ? ?? API? ???? ???, ?? ??(Health check)? ?? ????? ????. ? ??? ?????, L7? health check ??? ??? ??? ???? ??. L4 ??? ??? ???? ?????(Threadhold)?? ???? ??? ???? ?? ??? ?? ?? ? ? ??. <br />?? SEQ ?? ARABIC 40 ELB ?? ??<br />???, AWS?????? ???? ? ???? ???? L4? ???? ???? ??. Health check? ?? ??? ??? ???? ???? ??? ???. ???? L4 ???? ???, AWS ???? ?? 3rd party DNS ??? ???? ??.<br />AWS? ?? ????(AutoScaling) ??? ?????? ? ?? EC2????? ?????? DNS ??? ?? ?? DNS??? ??? ?? ??? ???? ?? ??. <br />?????<br />??? AWS??? ??? ???? ?? IaaS, PaaS ??? ???? ???? ???? ?? ??? ??? ?? ??. ??? ??? ?? ????? ?? ???? ??? ???? ????.<br />???? ??? ?? ?? ?? ??? ?? ???AWS? ??? ??? ?? ??. <br />VPC (Virtual Private Cloud, VPN ??? ??), AWS Import/Export (??? backup/recovery/?? ??? ???? ??), Fulfillment Web Service (Amazon FWS, e-commerce ??/????), FPS (Flexible Payments Service, ?????), DeyPay ??, Alexa Web Information Service (Web ??), Alexa Top Sites (?? ???), SES (Simple Email Service, ??? ???) ?? ????? ???? ??.<br />??? Amzazon Mechanical Turk??? ?? Pool ??? ????? ??.<br />??<br />???? Multi-tenant (?? ???)<br />?? ???? ???? ??? ??? Multi-tenant?? ??. Gartner? ???? Multi-tenant? ???? REF _Ref288755182 ?? 41? ?? ?????, AWS? ???? ???? ???? ????.<br />?? SEQ ?? ARABIC 41 Multi-tenant ??<br />AWS ???? ??? ? ?????? ?? ???? ??? ?? ?? ???(security)? ???(isolation)? ???? ??. ???? ????? ???? ??? ??? ???, ??? ??????, ??, DDOS, ??? ?? ?? ??? ?? ??? ??? ??? ???? ? ?? ??? ??? ??. <br />??, SalesForce.com, MS Azure? ?? SaaS ??? ?????? ?? ??? ?? ??? ??. Database ?? ??? ????? Service ??? ????? ?? ?? ????. ????? ?? ???? ?? ???? ??? ??? Secure Multi-tenant ??? ???, ?? ???? ?? ??? ?? ??.<br />??, Oracle ???? ???? ??? Single-tenant? ????? ?????. ? ??? ??/?? ??? ?????? ???? ? ? ??, ?? ???? ??? ??? ?? ??? ?? ?? ???? ??? ? ? ??? ?? ??? ??? ??.<br />SLA (Service License Agreement)<br />Multi-tenancy ??? ???? ??? ????? ??? ????? ????? ??? ??? ?? ??(QoS)? ??? ??. Qos? ???, ??? ???? ??? ????? ??? ??? SLA? ? ? ??. <br />AWS ??? ? EC2? S3??? ????? SLA? ?????. S3? ??? 99.95%? ???(uptime/availability)? ????, ? ??? ???? ??? 10~25%??? ?? ? ??? ??????. ??, ?? AWS ???? SLA? ?? ???? ???? ??? ???? ????, ?? AWS ????? 99.9% ???? ????? ???? ??.<br />??? 2010?? S3? ???? ??? ? ??? (http://www.quora.com/Amazon-Web-Services/How-stable-is-Amazons-S3-platform) ??? ???, ??? ???? ?? ??? ???? ??. <br />S3 EU West: 99.979%,S3 US East: 99.994%S3 US West: 100%S3 APAC: 100%<br />??<br />???? AWS ???? ?????. AWS? ???? API ??? ??, ?? ?? ??? ???? ?? ???? ?? ????. ?? ? ? ??? ??? ???, ???? ??? IaaS, PaaS????? ?????? ??. Amazon.com? ?? ???? ????? AWS? ??? ??? ??? ??. ??? ? ?? ?? Amazon AWS? ??? ?? ??? ?? ? ??.<br />