1 / 16

Using Amazon EC2

Using Amazon EC2 . LEI WANG Tradepay II. Outline. Introduction of Amazon AWS EC 2 Architecture and Functions U sing EC2 ( Demo ) A Case Sharing Q & A. Where comes Amazon cloud ?. A Simple opinion. Amazon AWS. What’s EC 2?. Elastic Computing Cloud EC2 是一部具有 无限计算能力 的虚拟计算机。.

arch
Download Presentation

Using Amazon EC2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Amazon EC2 LEI WANG Tradepay II

  2. Outline • Introduction of Amazon AWS • EC2 Architecture and Functions • Using EC2 (Demo) • A Case Sharing • Q & A

  3. Where comes Amazoncloud? A Simple opinion

  4. Amazon AWS

  5. What’s EC2? • Elastic Computing Cloud • EC2是一部具有无限计算能力的虚拟计算机。

  6. EC2 Architecture EBS S3 Manager snapshot SSH AMI EC2 Instance Private IP Instance Instance Private IP Firewall Public IP Internet

  7. EC2 Instance type • On-demand(default) • Reserved • Spot

  8. EC2 Instance type • Small • Large • X-large

  9. EC2 Correlation Technique • Persistent Store —EBS(Elastic Block Store) • Volume • Snapshot • communication mechanism—IP • Public IP(DNS) --Instance VS external system • Private IP --Instance VS Instance • Elastic IP --immovable public IP,limit to 5 • Security & fault-tolerance • Security Group --portlimitation • SSH Private Key --authentication • Elastic IP

  10. EC2Use Flow(Demo) • Private key • AMI/snapshot • Instance • EBS • Auto Scaling • Load Balancing • Cloud Watch

  11. Deploy web application on EC2

  12. A Case:Deploy High-availability MySql Cluster onto EC2 LVS DR master MySql server 1 VIP ndbdcluster MySql server 2 LVS DR backup cluster Management Mysql storage layer Mysql SQL layer Applications LVS + keepalived Load balance layer

  13. ELB DB Requests failover EC2 INSTANCE EC2 INSTANCE Standby ELB Mysql Server EC2 INSTANCE EC2 INSTANCE Mysql Server Check Stauts Routing EC2 INSTANCE Auto Scaling NDB Slave NDB Master NDB Slave Available Zone A Available Zone B Ndb_mgr Cloud Watch Synchronous replication Synchronous replication EBS EBS EBS EBS EBS Auto Scaling S3 Snapshots

  14. Reference • Amazon web console: • http://aws.amazon.com/console/ • Amazon document: • http://aws.amazon.com/ • KSS: • http://kss/?q=rdtopic/tradepay-phase-ii-rd

  15. Thank you! • Q & A

More Related