AWS 101 business seminar in Taipei


Published on

Published in: Technology, Business
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • First, a true Cloud Computing platform should provide elastic capacity, or the capacity to scale your infrastructure up and down, on demand.
  • The second advantage is time to market: since your infrastructure is no longer a barrier, and provisioning becomes instant requisition of cloud capacity, your product or service can hit the market much sooner.
  • There is no need for initial investment, or Capex. A true Cloud Computing platform doesn't require you to invest large sums of money before being able to run your infrastructure.
  • Even more importantly, you pay as you go, and pay only for what you use.As an example, you can "pay as you go" for a server, which means paying only a few cents per hour.You only pay for what you use, which means that if you run 3 servers now, 5 in the next hour, 2 in the following hour, you will only pay for the servers that you activated and used during these hours.
  • Last, but not least, with Cloud Computing you can automate most things, and manage your assets in a more efficient way. This allows you to focus more time on your business.
  • 故障隔離
  • Zynga created the most successful Facebook games, such as Cityville, Farmville, Mafia Wars, Treasure Isle, and so on.As I told you, they run more than 12,000 servers on Amazon Web Services, and they serve more than 230 millions users monthlyThey run 100% on AWS, and they particularly appreciate the flexibility and scalability of the AWS Platform.When they launch a new game, they start with few servers, and then ramp up their capacity in real time, based on the success of the game.This way they can provide a great service to their customers, while keeping costs down.(This is a good example to illustrate our customer whose scale of usage is as good as an enterprise class).
  • They are now migrating 100% on Amazon Web Services, and already migrated most of their services, including the movie lists, the website search, the transcoding, recommendation system, etc.They now have more than 10 Million subscribers, and more than 100k DVD titles online.For them, AWS has been a great choice. They say that: "AWS let us focus on innovation".
  • You can see the spike in traffic that this new app caused.The X axis represents time elapsed and the Y axis represents the EC2 instances launched.Because they were using AWS, Animoto didn’t have to do a thing—AWS took care of everything.
  • 1:28Open a browser, and login into the Amazon Web Services Console.I assume that you already created an Amazon Web Services, or AWS, account, which takes only a few minutes.You enter your login and password, and then you'll be presented with the main dashboard.From here, you can control various services.Let's start by launching a virtual server, called Amazon EC2. I can pick Windows or Linux, and since I'm more familiar with Linux, I'll launch a 32-bit Linux virtual machine.You can configure many aspects, such as security, access and so on, and everything is summarized here.After confirming these options by clicking "launch", we go back to the main console, click the "instances" tab on the left, and we can see that the machine is now launching.If we refresh the page, we can now see the green button which confirms that the machine is now running.Let's now open a terminal, and connect to this EC2 instance via SSH.We start by installing an apache web server, called HTTPD, and then we descend into the main web directory.
  • 0:07We can now download a zip file containing our example website, then we unzip it, and copy it to the www folder.
  • 0:20Now it's time to start the web server, httpd, and check its status to make sure it's running. Good. We can now open a browser and see our website, live, up and running. Nice pictures, right?
  • 0:51We've just uploaded our pictures to Amazon S3, which provides highly durable internet storage, in a bucket called "gomortlock".To distribute this content worldwide, we will use a service called CloudFront.Cloudfront allows you to create a so-called "distribution" for your files, which means your files will be copied across multiple locations around the world.You can add comments to this distribution, to easily identify it later on.Once the distribution is created, it will be activated, or "enabled", in just a few minutes.Everything can be done using the Management console.Once you see the green light, it's time to perform a very simple operation.
  • 0:09In your html code, change the URL of your pictures to the CloudFront distribution, like this.
  • 0:14The website looks exactly the same, but if we look at the pictures, they are served not from the original server anymore, but from CloudFront.The website is now faster, worldwide.
  • 0:12We start to notice that this website is not "just a hobby" anymore.It has the potential to become a real business.
  • 0:10In short, we want to go from this amateur picture website, which we can consider version 1 of, to a...
  • 0:18... fully fledged online portal, with pictures, videos, fan pages and more.We can call it "" version 2.All these features, of course, require a different approach.We can't just use a single server and a CDN.
  • 0:08In short, our IT Architecture needs an update.Let's see how it can be done.
  • 0:15There are many difficult things related to Databases: Administration, Backups, Clustering, Replication, and so on. Difficult, time consuming, error prone.How can we use automation to optimize this?
  • 1:06On the Management console we already configured a security group to allow web servers to access the database machines. Security is always important.Then, we launch a Database instance, specifying the type of machine and its computing power, the size of the database, the instance identifier, the username and password, and so on.If the configuration is ok, we can confirm.And after a few minutes, our DB instance will be up and running. We can monitor its performances, as you can see here, or read recent events.
  • 0:10To use this Database instance, we just need to change the connection string, pointing it to the new Database. That's it.
  • 1:04To improve performances, we can also easily create "read replicas", also automatically managed by Amazon. The replication is done in the background, while the main Database is still running.Once they're both available, with a nice green light, it might be time to create our first Database Snapshot, that we call "test1", even though snapshots and backups are automatically managed by Amazon, and this is another way to save time and efforts, and reduce errors.You can also monitor both machines with our extensive monitoring console.
  • AWS 101 business seminar in Taipei

    1. 1. AWS 101Cloud Computing seminar亞馬遜雲端計算研討會<br />Simone Brunozzi<br />AWS Technology Evangelist, APAC<br />林家偉<br />亞太區銷售經理<br />
    2. 2. Who is<br />
    3. 3. Amazon’s three businesses<br />Consumer Business<br />US, UK, DE, FR, JP, CA, CN, IT<br />電子商務服務<br />Seller Business<br />電商平台服務<br />IT Infrastructure Business<br />IT基礎設施服務<br />
    4. 4. Our plan for today<br />議程<br />1) Introduction to Cloud Computing 雲端計算簡介<br />2) What is Amazon Web Services? AWS簡介<br />3) Success stories 成功案例分析<br />4) Demo 操作演示<br />5) How to get started 如何開啟AWS服務<br />
    5. 5. Cloud Computing雲端計算<br />
    6. 6. A style of Computing in which elastic IT-enabled capabilities Are delivered “As a Service”<br />To External customers Using Internet technologies.<br />Gartner, 2008<br />
    7. 7. Amazon’s Cloud Computing<br />亞馬遜雲端計算<br />Elastic Capacity 彈性擴容<br />Faster time to market 更短的產品上市時間<br />No initial investment (No Capex) 無需承擔高額的基礎設施投資 (非資本性支出)<br />Pay as you go, pay for what you use 根據使用的資源付費<br />Focus on your business 讓您更關注核心業務<br />
    8. 8. 1) Elastic Capacity彈性擴容<br />Scaling up and down in minutes<br />No need to provision<br />Optimize resources based on your needs<br />瞬間增大或縮小所需資源<br />無需提前付費<br />根據您的需求實現資源優化和利用<br />
    9. 9. 2) Faster time to market更短的產品上市時間<br />Infrastructure is no longer a barrier<br />Easier to test a solution<br />Easier to deploy worldwide<br />IT基礎設施不再是您業務拓展的瓶頸<br />更簡易的產品測試方案<br />更高效的海外業務拓展<br />
    10. 10. 3) No initial investment (No CapEx)無需承擔高額的基礎設施投資(非資本性支出)<br />Cloud Computing doesn't require initial investments<br />You pay for it in a different way<br />雲端計算並不要求傳統的一次性基礎設施投資<br />您將以革命性的付費方式來支付所需服務<br />
    11. 11. 4) Pay as you go, pay for what you use根據使用的資源付費<br />Example: <br />Pay servers "by the hour", only the ones you use<br />Pay storage "per Gigabyte", only the ones you use<br />例如:<br />根據使用時間付費<br />根據使用的數據量付費<br />
    12. 12. 5) Focus on your business讓您更關注核心業務<br />Automation + Better management tools<br />Less time is spent on repetitive tasks<br />自動化操作以及更簡便的管理工具<br />大幅縮短重複性操作的時間<br />
    13. 13. What is<br />Amazon Web Services?<br />
    14. 14. "AWS offers an Infrastructure <br />web services platform in the cloud"<br />AWS雲端計算提供一個互聯網平台的基礎設施服務<br />Werner Vogels, CTO,<br />
    15. 15. AWS Global InfrastructureAWS的全球架構<br />
    16. 16. AWS Global Infrastructure<br />AWS的全球架構<br />Edge Locations 結點<br />Regions 地區<br />Availability Zones 可用區域<br />
    17. 17. AWS Global Infrastructure<br />AWS的全球架構<br />Edge Locations 結點<br />Regions<br />Availability Zones<br />
    18. 18. Amazon Cloudfront<br />Content Delivery Network (CDN)<br />AWS內容分發網絡<br />
    19. 19. AWS Global Infrastructure<br />AWS的全球架構<br />Edge Locations<br />Regions 地區<br />Availability Zones 可用區域<br />
    20. 20. Regions地區<br />US West<br />US East<br />AP Japan<br />EU West<br />AP Singapore<br />
    21. 21. Regions<br />Region: Set of multiple Data Centers<br />地區:AWS數據中心的集結地<br />US West<br />US East<br />AP Japan<br />EU West<br />AP Singapore<br />
    22. 22. Availability Zones (AZ)<br />Distinct locations, insulated from failures<br />可用區域:同一地區內,不同地點,異地冗餘<br />A<br />B<br />US West<br />US East<br />AP Japan<br />C<br />A<br />B<br />A<br />B<br />A<br />B<br />C<br />D<br />C<br />EU West<br />A<br />B<br />AP Singapore<br />
    23. 23. Availability Zones (AZ)<br />Distinct locations, insulated from failures<br />Low latency connectivity within same Region<br />A<br />B<br />US West<br />US East<br />AP Japan<br />C<br />A<br />B<br />A<br />B<br />A<br />B<br />C<br />D<br />C<br />EU West<br />A<br />B<br />AP Singapore<br />同一地區內實現高效網絡互聯<br />
    24. 24. Success stories<br />成功案例分析<br />
    25. 25.
    26. 26. Zynga<br />Creators of the most popular FB games: Farmville, Mafia Wars, Cityville, etc.<br />最受歡迎的Facebook遊戲供應商<br />More than 12,000 servers on AWS<br />在AWS上架設超過12000台服務器<br />CITYVILLE: <br />0 to 100+ Million users in just 43 days!<br />43天內產生超過一億用戶的訪問量<br />100% on AWS 百分之百AWS平台架構<br />
    27. 27.
    28. 28.<br />More than 13 Billion USD market cap<br />Almost 100% on Amazon Web Services<br />超過130億美金市值<br />接近百分之百AWS平台架構<br />26 Million subscribers<br />兩千六百萬付費用戶<br />"AWS let us focus on innovation“<br />“AWS讓我們能夠專注於創新”<br />
    29. 29.
    30. 30.
    31. 31. Animoto: Video App on Amazon EC2Animoto案例:在EC2上部署視頻應用<br />3000 -<br />2000 -<br />1000 -<br />Scaled to peak of <br />3,500 instances in 3 days<br />在三天內擴展到3500台服務器以應對網絡訪問高峰<br />Number of Servers 服務器數量<br />Launch of Facebookmodification<br />在Facebook上進行產品更新<br />Apr <br />12th<br />Apr <br />14th<br />Apr <br />15th<br />Apr <br />16th<br />Apr <br />18th<br />Apr <br />19th<br />Apr <br />20th<br />Apr <br />17th<br />Apr <br />13th<br />
    32. 32. What is unique about Amazon Web Services?<br />AWS的獨特之處?<br />
    33. 33. Flexibility, Freedom of Choice<br />高彈性,多選擇<br />Multiple Operating Systems (Linux, Windows, etc.)<br />Multiple Platforms / Databases<br />Multiple licensing options<br />多種操作系統以供選擇<br />多種平台/數據庫管理模式<br />多種軟件授權選項<br />
    34. 34. Security<br />安全性<br />
    35. 35. Scale<br />可擴展性<br />We operate at Large scale<br />Multiple Data Centers, multiple Regions<br />Economies of Scale -> Reduced Costs -> Happy Customers<br />我們重視規模效應<br />多個數據中心,多重服務區域<br />規模效應 ->低成本 -> 高客戶滿意度<br />
    36. 36. Support<br />售後支持<br />Basic: Forums, Technical FAQs, Service Health Dashboard<br />Premium: Bronze, Silver, Gold, Platinum<br />基本服務:產品論壇,操作指南,AWS服務監測表<br />高級支持:銅牌客戶,銀牌客戶,金牌客戶,白金客戶<br />
    37. 37. Pace of innovation at Amazon Web Services<br />Global Partner Ecosystem<br />全球合作夥伴體系<br />
    38. 38. Pace of innovation at Amazon Web Services<br />AWS的創新力度<br />
    39. 39. AWS Building Blocks<br />AWS的產品架構<br />
    40. 40. DEMO<br />操作演示<br />
    41. 41. Stirling Mortlock, Rugby legend<br />
    42. 42.
    43. 43. STEP 1<br />
    44. 44.
    45. 45. Upload the website to Amazon EC2<br />將網頁上傳到EC2中<br />Unzip it<br />解壓縮<br />Put it into the www folder<br />文件放入WWW文件夾中<br />
    46. 46.
    47. 47. EC2 Instance typesEC2虛擬機類型<br />
    48. 48. Instance types虛擬機類型<br />m1<br />small<br />
    49. 49. Instance types虛擬機類型<br />m1<br />small<br />
    50. 50. Instance types虛擬機類型<br />m1<br />small<br />
    51. 51. Instance types虛擬機類型<br />m1<br />small<br />
    52. 52. Instance types虛擬機類型<br />m2<br />4xlarge<br />m1<br />small<br />
    53. 53. Instance types虛擬機類型<br />ECU (Elastic Compute Unit) = 1.2 GHz CPU<br />m2<br />4xlarge<br />m1<br />small<br />
    54. 54. Instance types虛擬機類型<br />ECU (Elastic Compute Unit) = 1.2 GHz CPU<br />m2<br />4xlarge<br />m1<br />small<br />1.7 GB RAM<br />1 ECU<br />0.085 US$/hour<br />
    55. 55. Instance types虛擬機類型<br />ECU (Elastic Compute Unit) = 1.2 GHz CPU<br />ECU: 彈性運算單元<br />m2<br />4xlarge<br />m1<br />small<br />68.4 GB RAM<br />26 ECU<br />2.00 US$/hour<br />1.7 GB RAM<br />1 ECU<br />0.085 US$/hour<br />
    56. 56. EC2 Security GroupEC2安全組<br />Built-in Firewall for inbound traffic<br />用於控制進站流量的內嵌防火牆<br />
    57. 57. Amazon <br />Web Services<br />Internet<br />
    58. 58. Amazon <br />Web Services<br />Linux 1<br />Linux 2<br />Internet<br />MySQL<br />
    59. 59. Security Group <br />Databases<br />Amazon <br />Web Services<br />Linux 1<br />Linux 2<br />Security Group <br />web-servers<br />Internet<br />MySQL<br />
    60. 60. Security Group <br />Databases<br />Amazon <br />Web Services<br />Linux 1<br />Linux 2<br />Security Group <br />web-servers<br />Internet<br />MySQL<br />CIDR:<br />(danger!)<br />
    61. 61. Security Group <br />Databases<br />Amazon <br />Web Services<br />Linux 1<br />Linux 2<br />Security Group <br />web-servers<br />My<br />computer<br />Internet<br />MySQL<br />CIDR:<br />
    62. 62. Security Group <br />Databases<br />Amazon <br />Web Services<br />Linux 1<br />Linux 2<br />ssh: CIDR:<br />Security Group <br />web-servers<br />EC2 Security Group: <br />web-servers<br />My<br />computer<br />http: CIDR:<br />Internet<br />MySQL<br />
    63. 63. STEP 2<br />
    64. 64. Reaching fans worldwide<br />CloudFront: Content Delivery Network (CDN)<br />通過CloudFront內容分發網絡將您的業務發送到全世界<br />
    65. 65.
    66. 66.
    67. 67. Changes in HTML code轉換HTML代碼<br />images/stirling.jpg<br />Becomes轉換為<br /><br />
    68. 68.
    69. 69. STEP 3<br />
    70. 70. This website is not "Just a hobby" anymore...<br />網站不再僅僅是您的“業務愛好”…<br />
    71. 71. Our hobby website, 1.0<br />
    72. 72.
    73. 73. Our IT Architecture needs an update<br />我們的IT架構需要更新<br />
    74. 74.
    75. 75.
    76. 76. Elastic Load Balancer<br />彈性負載均衡<br />Internet traffic<br />網站流量<br />???<br />A<br />B<br />EC2 instance<br />“web server 2”<br />EC2 instance<br />“web server1”<br />
    77. 77. Elastic Load Balancer<br />彈性負載均衡<br />Internet traffic<br />網站流量<br />ELB<br /><br />A<br />B<br />EC2 instance<br />“web server 1”<br />EC2 instance<br />“web server 2”<br />
    78. 78. Using multiple AZ<br />使用AWS並聯可用區域<br />+ Enhanced Availability 高可用性<br />
    79. 79. Using multiple AZ<br />使用AWS並聯可用區域<br />+ Enhanced Availability<br />+ Enhanced Durability 高持久性<br />
    80. 80. Using multiple AZ<br />使用AWS並聯可用區域<br />+ Enhanced Availability<br />+ Enhanced Durability<br />+ Can be automatic and transparent<br />自動化,可視化<br />
    81. 81. STEP 4<br />
    82. 82.
    83. 83.
    84. 84. What is difficult about Databases?<br />數據庫管理的難題?<br />
    85. 85. A<br />B<br />US West<br />US East<br />AP Japan<br />C<br />A<br />B<br />A<br />B<br />A<br />B<br />C<br />D<br />C<br />EU West<br />A<br />B<br />AP Singapore<br />
    86. 86. Multi-AZ多可用區域<br />A<br />B<br />C<br />US West<br />
    87. 87. Multi-AZ多可用區域<br />A<br />B<br />C<br />Database 1<br />US West<br />
    88. 88. Multi-AZ多可用區域<br />Database 2<br />A<br />B<br />C<br />Database 1<br />US West<br />
    89. 89. Multi-AZ多可用區域<br />Database 2<br />A<br />B<br />Sync<br />Database 1<br />
    90. 90.
    91. 91. Change the connection string<br />轉換連接字符串<br />(from the previous Database<br />to the new DB Instance)<br />(將傳統的數據庫管理模式轉換為新型的數據庫實例 / 數據庫服務器管理模式)<br />
    92. 92.
    93. 93. End of Demo<br />
    94. 94. Start with AWS如何開啟AWS服務<br />You need an AWS account<br />No upfront costs<br />No commitments<br />No termination fees<br />您需要註冊一個AWS賬戶<br />無需預繳費用<br />無需承諾長期使用<br />無需繳納賬戶終止費用<br />
    95. 95. SIMONE BRUNOZZI<br />AWS Technology Evangelist, APAC<br />Email: simone @<br />Twitter: @simon<br />JIA WOEI LING (林家偉)<br />AWS亞太區銷售經理<br />Email: jwling@<br />