SlideShare a Scribd company logo
1 of 28
Amazon Web Service
      20 Nov 2009




      ShakeSoul, Inc.
•             •   Amazon EC2

                •   AWS

                •                 •   Elastic Load Balanceing
                                  •   Cloud Watch
                •   AWS
                                  •   Auto Scaling
                              •   boto
                •             •                  Amazon
                                  EC2
                •   S3


doc. ver. 1.0             2                           ShakeSoul, Inc.
•   ID : d_sea
                    •            , Twitter, Facebook(http://www.facebook.com/fukami)

                •
                •   1999-2002 : NTT
                •   2002-2006 : IRI/BBTower(IDC)

                •   2007-2009.01: 3D                             “meet-me”

                •   2009.02- :                            (shakesoul.net)

                    •

                    •            AWS
                                               PM

                    •       :       3                 Amazon EC2/S3

doc. ver. 1.0                                             3                            ShakeSoul, Inc.
AWS
                2009

                                                                      AWS
                2

                              ing,            3          Amazon EC2
                5

                       mixi                       Amazon EC2
                              ShakeSoul
                7


                       Web
                       Amazon EC2 LAMP
                11
                       mixi                       Amazon EC2
                              ShakeSoul
doc. ver. 1.0                             4                            ShakeSoul, Inc.
•        AWS

                •   Amazon         w



                •



                •
doc. ver. 1.0                  5       ShakeSoul, Inc.
AWS
                •           :

                    •   DropBox, Tumblr, Evernote, Animoto, SlideShare, etc...
                •           :

                    •   Preferred Infrastructure

                    •
                    •   mixi           Amazon EC2

                    •   IDC                               OS

                        •       CTC : VMware

                        •       IDC                : Hyper-V        Windows OS

                    •           SIer                 (                                                 )

                •   2010               AWS

                    •   http://aws.amazon.com/about-aws/whats-new/2009/11/12/aws-asia/
                    •   “.. multiple Availability Zones in Singapore in the first half of 2010, then in other Availability
                        Zones within Asia over the second half of 2010.”

doc. ver. 1.0                                                   6                                           ShakeSoul, Inc.
AWS


                •   Static NAT(1:1)

                •   AWS                      Private address

                •   DHCP      address

                •   DNS AWS                           Private address
                        AWS (Internet)

                •   private/global address   FQDN(Public DNS, Private DNS)




doc. ver. 1.0                                 7                         ShakeSoul, Inc.
(                 )
                                                 Internet
                                                                          Amazon Web Service


                external                         Router/
                 DNS                     Elastic Load Balancing        1:1 NAT

                internal                                                      DHCP Server
                  DNS

                           security   security          security   security
                            group      group             group      group

                           instance   instance          instance   instance



doc. ver. 1.0                                       8                           ShakeSoul, Inc.
demo
                •

                •   $ ec2-describe-instances

                •   $ host ec2-75-101-180-166.compute-1.amazonaws.com

                •   $ ssh -i Dropbox/AmazonAWS/EC2/1st-key-pair.pem
                    root@ec2-75-101-180-166.compute-1.amazonaws.com

                •   # host ec2-75-101-180-166.compute-1.amazonaws.com




doc. ver. 1.0                                  9                        ShakeSoul, Inc.
Security Group
                •   Internet => instance          filter

                    •   TCP/UDP/ICMP, Port            , Source IP address

                    •   instance => Ineternet             any

                •   AWS

                •
                •              Security Group                               Security
                    Group

                •   default group :        key

doc. ver. 1.0                                    10                         ShakeSoul, Inc.
demo


                • Amazon Management Console   Security
                  Group




doc. ver. 0.1                      11              ShakeSoul, Inc.
Linux

                •   NTP

                    •   http://developer.amazonwebservices.com/connect/
                        thread.jspa?messageID=50437
                    •   “We use NTP to synchronise all our servers. I believe that
                        the EC2 time inside instances is actually sourced from the
                        host machine (there's some Xen setting for this which
                        escapes me at the moment).”
                •   sshd.conf       PermitRootLogin without-password



                •   NIC     1


doc. ver. 1.0                                   12                          ShakeSoul, Inc.
demo

                •               ntpdate



                • sshd.conf
                • ifconfig

doc. ver. 1.0                  13         ShakeSoul, Inc.
Amazon S3

                •   S3                 URL

                    •    expire time                             Good

                •   S3 Organizer        GUI

                •            CDN



                    •    1      :           10TB,                21GB, 784

                        •    CDN L      :     35    (35    /GB          )

                        •    S3 : Data Transfer-In: 1TB Trunsfer-Out: 10TB :   19


doc. ver. 1.0                                         14                        ShakeSoul, Inc.
demo

                • S3 Organizer   GUI
                                        URL

                 •           URL

                 • permission

doc. ver. 1.0                      15         ShakeSoul, Inc.
Amazon EC2



                • Elastic Load Balancing
                • Cloud Watch
                • Auto Scaling

doc. ver. 1.0                        16    ShakeSoul, Inc.
Elastic Load Balancing
                •   L4

                •
                    Good
                •                              Laod Balancer
                         Apache proxy     L7

                    •                   LVS       VIP



doc. ver. 1.0                             17               ShakeSoul, Inc.
demo

                •2

                •1   httpd




doc. ver. 1.0                 18    ShakeSoul, Inc.
Cloud Watch
                •                        CPU       Disk   /
                        Network In/Out

                •   1

                •   Auto Scaling

                •                         2

                •

doc. ver. 1.0                                 19              ShakeSoul, Inc.
demo


                • Amazon Management Console



doc. ver. 1.0                    20           ShakeSoul, Inc.
Auto Scaling
                •   Cloud Watch



                •                              /

                    •             10000

                •
                •

doc. ver. 1.0                             21       ShakeSoul, Inc.
Auto Scaling

                •                                         1
                                1

                    •
                •   as-create-auto-scaling-group   --load-balancers


                    Elastic Load Balancing


doc. ver. 1.0                                22               ShakeSoul, Inc.
demo
                •
                •          1

                •   --load-balancers

                •

                •                             Elastic Load Balancing



doc. ver. 1.0                           23                   ShakeSoul, Inc.
boto
                • http://code.google.com/p/boto/
                • python              AWS API



                •                   snapshot.py
                                        EBS
                                  Good

doc. ver. 1.0                      24              ShakeSoul, Inc.
snapshot.py
                #!/usr/bin/env python  
                  
                import sys  
                from boto.ec2.connection import EC2Connection  
                  
                if(len(sys.argv) != 3):  
                    print "Usage: snapshot.py <num> <volume-id>"  
                    quit()  
                  
                conn = EC2Connection('aws_access_key',' aws_secret_access_key');  
                conn.create_snapshot(sys.argv[2])  
                snapshot = {}  
                for x in conn.get_all_snapshots():  
                    if(x.volume_id == sys.argv[2]):  
                        tmp = {x.id:x.start_time}  
                        snapshot.update(tmp)  
                snapshot = sorted(snapshot.items(), key=lambda (k, v): (v, k), reverse=True)  
                for i in range(int(sys.argv[1]), len(snapshot)):  
                    conn.delete_snapshot(snapshot[i][0]) 
doc. ver. 1.0                                     25                               ShakeSoul, Inc.
demo

                • snapshot.py
                •3
                • # python snapshot.py 3 vol-dd50a9b4
                • $ ec2-describe-snapshots

doc. ver. 1.0                       26                  ShakeSoul, Inc.
Amazon EC2

                •   Elastic Load Balancing     L4

                •   MySQL                EBS

                •   boto - snapshot.py       1 /

                •                                              1
                                             AMI

                    •   S3

                •                                              AMI

                    •                                    AMI

                •                                              CloudFront
                         (        3.2Mbps => 18.4Mbps)

doc. ver. 1.0                                       27               ShakeSoul, Inc.
Thank You!!


                  Any Questions?




doc. ver. 1.0          28          ShakeSoul, Inc.

More Related Content

What's hot

Amazon web services,
Amazon web services,Amazon web services,
Amazon web services,
Chetan Goenka
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
Dayanand Shanmugham
 
Cloud computing with AWS
Cloud computing with AWS Cloud computing with AWS
Cloud computing with AWS
ikanow
 

What's hot (20)

AWS Presentation
AWS PresentationAWS Presentation
AWS Presentation
 
Amazon web services,
Amazon web services,Amazon web services,
Amazon web services,
 
Technical Track
Technical TrackTechnical Track
Technical Track
 
Aws tutorial for beginners- tibacademy.in
Aws tutorial for beginners- tibacademy.inAws tutorial for beginners- tibacademy.in
Aws tutorial for beginners- tibacademy.in
 
Bn1007 demo ppt aws
Bn1007 demo ppt awsBn1007 demo ppt aws
Bn1007 demo ppt aws
 
AWS Case Study
AWS Case StudyAWS Case Study
AWS Case Study
 
How we do Serverless
How we do ServerlessHow we do Serverless
How we do Serverless
 
CloudStack-Development-Story
CloudStack-Development-StoryCloudStack-Development-Story
CloudStack-Development-Story
 
Basics AWS Presentation
Basics AWS PresentationBasics AWS Presentation
Basics AWS Presentation
 
Introduction to amazon web service (clean)
Introduction to amazon web service (clean)Introduction to amazon web service (clean)
Introduction to amazon web service (clean)
 
AWS and Serverless with Alexa
AWS and Serverless with AlexaAWS and Serverless with Alexa
AWS and Serverless with Alexa
 
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
 
AWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant systemAWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant system
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
Cloud computing with AWS
Cloud computing with AWS Cloud computing with AWS
Cloud computing with AWS
 
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
 
Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)
 
The Lean Cloud for Startups with AWS - Introduction & AWS Overview
The Lean Cloud for Startups with AWS - Introduction & AWS OverviewThe Lean Cloud for Startups with AWS - Introduction & AWS Overview
The Lean Cloud for Startups with AWS - Introduction & AWS Overview
 
The New World of IT
The New World of ITThe New World of IT
The New World of IT
 
Masterclass Webinar: Amazon S3
Masterclass Webinar: Amazon S3Masterclass Webinar: Amazon S3
Masterclass Webinar: Amazon S3
 

Viewers also liked

Viewers also liked (6)

Amazon Web service Aws
Amazon Web service Aws Amazon Web service Aws
Amazon Web service Aws
 
Amazon Web Sevice(aws)
Amazon Web Sevice(aws)Amazon Web Sevice(aws)
Amazon Web Sevice(aws)
 
Amazon web services aws
Amazon web services awsAmazon web services aws
Amazon web services aws
 
Cloud computing 101 with amazon web service
Cloud computing 101 with amazon web serviceCloud computing 101 with amazon web service
Cloud computing 101 with amazon web service
 
Mark Johnson's AWS Chicago Healthcare Slides - 2016
Mark Johnson's AWS Chicago Healthcare Slides - 2016Mark Johnson's AWS Chicago Healthcare Slides - 2016
Mark Johnson's AWS Chicago Healthcare Slides - 2016
 
T아카데미 aws 수강 리뷰
T아카데미 aws 수강 리뷰T아카데미 aws 수강 리뷰
T아카데미 aws 수강 리뷰
 

Similar to 2009.11.20 BPstudy#27 Amazon Web Service

How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - WebinarHow to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
Amazon Web Services
 
Amazon shafaq v6-10-12-11
Amazon shafaq v6-10-12-11Amazon shafaq v6-10-12-11
Amazon shafaq v6-10-12-11
Shafaq Abdullah
 
AWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best PracticesAWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best Practices
Amazon Web Services
 

Similar to 2009.11.20 BPstudy#27 Amazon Web Service (20)

Amazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic BeanstalkAmazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic Beanstalk
 
[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
AWS Quick Intro
AWS Quick IntroAWS Quick Intro
AWS Quick Intro
 
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAmazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and Hosting
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The Cloud
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
Demandware krueger
Demandware kruegerDemandware krueger
Demandware krueger
 
Amazon EC2 to Amazon VPC: A case study (CPN301) | AWS re:Invent 2013
Amazon EC2 to Amazon VPC: A case study (CPN301) | AWS re:Invent 2013Amazon EC2 to Amazon VPC: A case study (CPN301) | AWS re:Invent 2013
Amazon EC2 to Amazon VPC: A case study (CPN301) | AWS re:Invent 2013
 
NHGRI Cloud Computing talk
NHGRI Cloud Computing talkNHGRI Cloud Computing talk
NHGRI Cloud Computing talk
 
Global Netflix Platform
Global Netflix PlatformGlobal Netflix Platform
Global Netflix Platform
 
Chugalug
ChugalugChugalug
Chugalug
 
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - WebinarHow to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
How to Extend your Datacenter into the Cloud - 2nd Watch - Webinar
 
Amazon shafaq v6-10-12-11
Amazon shafaq v6-10-12-11Amazon shafaq v6-10-12-11
Amazon shafaq v6-10-12-11
 
AWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best PracticesAWS Summit 2011: Application Security Best Practices
AWS Summit 2011: Application Security Best Practices
 
Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...
 
(DVO301) AWS OpsWorks Under the Hood
(DVO301) AWS OpsWorks Under the Hood(DVO301) AWS OpsWorks Under the Hood
(DVO301) AWS OpsWorks Under the Hood
 
Web Scale Applications using NeflixOSS Cloud Platform
Web Scale Applications using NeflixOSS Cloud PlatformWeb Scale Applications using NeflixOSS Cloud Platform
Web Scale Applications using NeflixOSS Cloud Platform
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and Ops
 
Oracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introductionOracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introduction
 
The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)
 

More from Hiro Fukami

Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
Kii Cloud 紹介 - モバイルクラウド MBaaS とは?Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
Hiro Fukami
 
2012.03.08 Forschooner勉強会#01
2012.03.08 Forschooner勉強会#012012.03.08 Forschooner勉強会#01
2012.03.08 Forschooner勉強会#01
Hiro Fukami
 
2011.12.15 Innovation Weekend Final 2011
2011.12.15 Innovation Weekend Final 20112011.12.15 Innovation Weekend Final 2011
2011.12.15 Innovation Weekend Final 2011
Hiro Fukami
 
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
Hiro Fukami
 
2011.07.22 LT on InnovationWeekend
2011.07.22 LT on InnovationWeekend2011.07.22 LT on InnovationWeekend
2011.07.22 LT on InnovationWeekend
Hiro Fukami
 
2011.07.14 LT Doc fluxflex on JAWS-UG
2011.07.14 LT Doc fluxflex on JAWS-UG2011.07.14 LT Doc fluxflex on JAWS-UG
2011.07.14 LT Doc fluxflex on JAWS-UG
Hiro Fukami
 
2010.11.25 LT Doc fluxflex on Startup Dating
2010.11.25 LT Doc fluxflex on Startup Dating2010.11.25 LT Doc fluxflex on Startup Dating
2010.11.25 LT Doc fluxflex on Startup Dating
Hiro Fukami
 
090910hbstudy#3-BGP
090910hbstudy#3-BGP090910hbstudy#3-BGP
090910hbstudy#3-BGP
Hiro Fukami
 

More from Hiro Fukami (20)

Players1st クラブ・チーム向け提案書
Players1st クラブ・チーム向け提案書Players1st クラブ・チーム向け提案書
Players1st クラブ・チーム向け提案書
 
DevOps 研修 中級編#02
DevOps 研修 中級編#02DevOps 研修 中級編#02
DevOps 研修 中級編#02
 
DevOps 研修 中級編#01
DevOps 研修 中級編#01DevOps 研修 中級編#01
DevOps 研修 中級編#01
 
DevOps 研修 初級編
DevOps 研修 初級編DevOps 研修 初級編
DevOps 研修 初級編
 
DevOps 概要 - インフラ革命、今起きていること
DevOps 概要 - インフラ革命、今起きていることDevOps 概要 - インフラ革命、今起きていること
DevOps 概要 - インフラ革命、今起きていること
 
クラウド実践入門 クラウドを使ってみよう
クラウド実践入門 クラウドを使ってみようクラウド実践入門 クラウドを使ってみよう
クラウド実践入門 クラウドを使ってみよう
 
東京SoftLayer勉強会#05 SoftLayerをはじめて使ってWebUIなChefでセットアップしてみた
東京SoftLayer勉強会#05 SoftLayerをはじめて使ってWebUIなChefでセットアップしてみた東京SoftLayer勉強会#05 SoftLayerをはじめて使ってWebUIなChefでセットアップしてみた
東京SoftLayer勉強会#05 SoftLayerをはじめて使ってWebUIなChefでセットアップしてみた
 
OpsDeliver Serivce Info, Business Model
OpsDeliver Serivce Info, Business ModelOpsDeliver Serivce Info, Business Model
OpsDeliver Serivce Info, Business Model
 
BPStudy#75 スマートWP 裏側のお話からリーンなアプローチまで
BPStudy#75 スマートWP 裏側のお話からリーンなアプローチまでBPStudy#75 スマートWP 裏側のお話からリーンなアプローチまで
BPStudy#75 スマートWP 裏側のお話からリーンなアプローチまで
 
スマートWordPress - Coworking Asia Conference Tokyo 2013
スマートWordPress - Coworking Asia Conference Tokyo 2013スマートWordPress - Coworking Asia Conference Tokyo 2013
スマートWordPress - Coworking Asia Conference Tokyo 2013
 
スマートWordPress on JAWS-UG Tokyo#17
スマートWordPress on JAWS-UG Tokyo#17スマートWordPress on JAWS-UG Tokyo#17
スマートWordPress on JAWS-UG Tokyo#17
 
Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
Kii Cloud 紹介 - モバイルクラウド MBaaS とは?Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
Kii Cloud 紹介 - モバイルクラウド MBaaS とは?
 
2012.03.08 Forschooner勉強会#01
2012.03.08 Forschooner勉強会#012012.03.08 Forschooner勉強会#01
2012.03.08 Forschooner勉強会#01
 
2011.12.15 Innovation Weekend Final 2011
2011.12.15 Innovation Weekend Final 20112011.12.15 Innovation Weekend Final 2011
2011.12.15 Innovation Weekend Final 2011
 
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
2011.10.13 fluxflex on OpenCloudCampus Technologies Meeting PaaS
 
2011.07.22 LT on InnovationWeekend
2011.07.22 LT on InnovationWeekend2011.07.22 LT on InnovationWeekend
2011.07.22 LT on InnovationWeekend
 
2011.07.14 LT Doc fluxflex on JAWS-UG
2011.07.14 LT Doc fluxflex on JAWS-UG2011.07.14 LT Doc fluxflex on JAWS-UG
2011.07.14 LT Doc fluxflex on JAWS-UG
 
2010.11.25 LT Doc fluxflex on Startup Dating
2010.11.25 LT Doc fluxflex on Startup Dating2010.11.25 LT Doc fluxflex on Startup Dating
2010.11.25 LT Doc fluxflex on Startup Dating
 
2010.09.02 LT Doc fluxflex on JAWS-UG
2010.09.02 LT Doc fluxflex on JAWS-UG2010.09.02 LT Doc fluxflex on JAWS-UG
2010.09.02 LT Doc fluxflex on JAWS-UG
 
090910hbstudy#3-BGP
090910hbstudy#3-BGP090910hbstudy#3-BGP
090910hbstudy#3-BGP
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

2009.11.20 BPstudy#27 Amazon Web Service

  • 1. Amazon Web Service 20 Nov 2009 ShakeSoul, Inc.
  • 2. • Amazon EC2 • AWS • • Elastic Load Balanceing • Cloud Watch • AWS • Auto Scaling • boto • • Amazon EC2 • S3 doc. ver. 1.0 2 ShakeSoul, Inc.
  • 3. ID : d_sea • , Twitter, Facebook(http://www.facebook.com/fukami) • • 1999-2002 : NTT • 2002-2006 : IRI/BBTower(IDC) • 2007-2009.01: 3D “meet-me” • 2009.02- : (shakesoul.net) • • AWS PM • : 3 Amazon EC2/S3 doc. ver. 1.0 3 ShakeSoul, Inc.
  • 4. AWS 2009 AWS 2 ing, 3 Amazon EC2 5 mixi Amazon EC2 ShakeSoul 7 Web Amazon EC2 LAMP 11 mixi Amazon EC2 ShakeSoul doc. ver. 1.0 4 ShakeSoul, Inc.
  • 5. AWS • Amazon w • • doc. ver. 1.0 5 ShakeSoul, Inc.
  • 6. AWS • : • DropBox, Tumblr, Evernote, Animoto, SlideShare, etc... • : • Preferred Infrastructure • • mixi Amazon EC2 • IDC OS • CTC : VMware • IDC : Hyper-V Windows OS • SIer ( ) • 2010 AWS • http://aws.amazon.com/about-aws/whats-new/2009/11/12/aws-asia/ • “.. multiple Availability Zones in Singapore in the first half of 2010, then in other Availability Zones within Asia over the second half of 2010.” doc. ver. 1.0 6 ShakeSoul, Inc.
  • 7. AWS • Static NAT(1:1) • AWS Private address • DHCP address • DNS AWS Private address AWS (Internet) • private/global address FQDN(Public DNS, Private DNS) doc. ver. 1.0 7 ShakeSoul, Inc.
  • 8. ( ) Internet Amazon Web Service external Router/ DNS Elastic Load Balancing 1:1 NAT internal DHCP Server DNS security security security security group group group group instance instance instance instance doc. ver. 1.0 8 ShakeSoul, Inc.
  • 9. demo • • $ ec2-describe-instances • $ host ec2-75-101-180-166.compute-1.amazonaws.com • $ ssh -i Dropbox/AmazonAWS/EC2/1st-key-pair.pem root@ec2-75-101-180-166.compute-1.amazonaws.com • # host ec2-75-101-180-166.compute-1.amazonaws.com doc. ver. 1.0 9 ShakeSoul, Inc.
  • 10. Security Group • Internet => instance filter • TCP/UDP/ICMP, Port , Source IP address • instance => Ineternet any • AWS • • Security Group Security Group • default group : key doc. ver. 1.0 10 ShakeSoul, Inc.
  • 11. demo • Amazon Management Console Security Group doc. ver. 0.1 11 ShakeSoul, Inc.
  • 12. Linux • NTP • http://developer.amazonwebservices.com/connect/ thread.jspa?messageID=50437 • “We use NTP to synchronise all our servers. I believe that the EC2 time inside instances is actually sourced from the host machine (there's some Xen setting for this which escapes me at the moment).” • sshd.conf PermitRootLogin without-password • NIC 1 doc. ver. 1.0 12 ShakeSoul, Inc.
  • 13. demo • ntpdate • sshd.conf • ifconfig doc. ver. 1.0 13 ShakeSoul, Inc.
  • 14. Amazon S3 • S3 URL • expire time Good • S3 Organizer GUI • CDN • 1 : 10TB, 21GB, 784 • CDN L : 35 (35 /GB ) • S3 : Data Transfer-In: 1TB Trunsfer-Out: 10TB : 19 doc. ver. 1.0 14 ShakeSoul, Inc.
  • 15. demo • S3 Organizer GUI URL • URL • permission doc. ver. 1.0 15 ShakeSoul, Inc.
  • 16. Amazon EC2 • Elastic Load Balancing • Cloud Watch • Auto Scaling doc. ver. 1.0 16 ShakeSoul, Inc.
  • 17. Elastic Load Balancing • L4 • Good • Laod Balancer Apache proxy L7 • LVS VIP doc. ver. 1.0 17 ShakeSoul, Inc.
  • 18. demo •2 •1 httpd doc. ver. 1.0 18 ShakeSoul, Inc.
  • 19. Cloud Watch • CPU Disk / Network In/Out • 1 • Auto Scaling • 2 • doc. ver. 1.0 19 ShakeSoul, Inc.
  • 20. demo • Amazon Management Console doc. ver. 1.0 20 ShakeSoul, Inc.
  • 21. Auto Scaling • Cloud Watch • / • 10000 • • doc. ver. 1.0 21 ShakeSoul, Inc.
  • 22. Auto Scaling • 1 1 • • as-create-auto-scaling-group --load-balancers Elastic Load Balancing doc. ver. 1.0 22 ShakeSoul, Inc.
  • 23. demo • • 1 • --load-balancers • • Elastic Load Balancing doc. ver. 1.0 23 ShakeSoul, Inc.
  • 24. boto • http://code.google.com/p/boto/ • python AWS API • snapshot.py EBS Good doc. ver. 1.0 24 ShakeSoul, Inc.
  • 25. snapshot.py #!/usr/bin/env python      import sys   from boto.ec2.connection import EC2Connection      if(len(sys.argv) != 3):       print "Usage: snapshot.py <num> <volume-id>"       quit()      conn = EC2Connection('aws_access_key',' aws_secret_access_key');   conn.create_snapshot(sys.argv[2])   snapshot = {}   for x in conn.get_all_snapshots():       if(x.volume_id == sys.argv[2]):           tmp = {x.id:x.start_time}           snapshot.update(tmp)   snapshot = sorted(snapshot.items(), key=lambda (k, v): (v, k), reverse=True)   for i in range(int(sys.argv[1]), len(snapshot)):       conn.delete_snapshot(snapshot[i][0])  doc. ver. 1.0 25 ShakeSoul, Inc.
  • 26. demo • snapshot.py •3 • # python snapshot.py 3 vol-dd50a9b4 • $ ec2-describe-snapshots doc. ver. 1.0 26 ShakeSoul, Inc.
  • 27. Amazon EC2 • Elastic Load Balancing L4 • MySQL EBS • boto - snapshot.py 1 / • 1 AMI • S3 • AMI • AMI • CloudFront ( 3.2Mbps => 18.4Mbps) doc. ver. 1.0 27 ShakeSoul, Inc.
  • 28. Thank You!! Any Questions? doc. ver. 1.0 28 ShakeSoul, Inc.