SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
Облачные амазонки и др.
                                      X1 Dev
                                  Девелоперы 1шт.

                   gmail.com
Serge.Kovaleff @   linkedin.com
                   facebook.com
Цели
● Ознакомиться с облаками и пр.
  белокрылыми ромашками
● Понять облачный тренд
● Поместить облака и конкретно Амазон в
  свою картину мира
● Возможно, узнать пикантные подробности
План
●   Откуда есть и пошел Амазон как
    СааС
●   SaaS, IaaS, PaaS, ...aaS?
●   Что нам Зе Вендор сулит
●   Куски Питона
●   Куски Баша (не Орг)
●   Подводные камни
Что такое SaaS?
Grids ...
   Clouds ...



Virtualization!
... aaS
Письмо CEO
                                       "then-new U.S. Supreme Court ruling [that] online retailers don't
                                       have to collect sales taxes in states where they lack a physical
                                       presence"


                                       "You can do the math 15 different ways, and every time the
                                       math tells you that you shouldn’t lower prices because you’re
                                       going to make less money. That’s undoubtedly true in the
                                       current quarter, in the current year. But it’s probably not true
                                       over a 10-year period, when the benefit is going to increase the
                                       frequency with which your customers shop with you, the fraction
                                       of their purchases they do with you as opposed to other places.
                                       Their overall satisfaction is going to go up."




                                      Bezos indicated that he founded the space company to help
                                      enable "anybody to go into space"



Jeffrey P. Bezos
Founder and Chief Executive Officer
Amazon.com, Inc.
●   Amazon AWS Authentication, an implicit service, the authentication infrastructure used to authenticate access to the various services.
●   Amazon CloudFront, a content delivery network (CDN) for distributing objects to so-called "edge locations" near the requester.
●   Amazon CloudSearch provides basic full text search and indexing of textual content.
●   Amazon CloudWatch, provides monitoring for AWS cloud resources and applications, starting with EC2.
●   Amazon DevPay, currently in limited beta version, is a billing and account management system for applications that developers have built atop Amazon Web
    Services.
●   Amazon DynamoDB (DynamoDB} provides a scalable, low-latency NoSQL online Database Service.
●   Amazon Elastic Beanstalk provides quick deployment and management of applications in the cloud.
●   Amazon Elastic Block Store (EBS) provides persistent block-level storage volumes for EC2.
●   Amazon Elastic Compute Cloud (EC2) provides scalable virtual private servers using Xen.
●   Amazon Elastic MapReduce allows businesses, researchers, data analysts, and developers to easily and cheaply process vast amounts of data. It uses a hosted
    Hadoop framework running on the web-scale infrastructure of EC2 and Amazon S3.
●   Amazon ElastiCache provides in-memory caching for web applications.
●   Amazon Flexible Payments Service (FPS) provides an interface for micropayments.
●   Amazon Fulfillment Web Service provides a programmatic web service for sellers to ship items to and from Amazon using Fulfillment by Amazon.
●   Amazon Glacier, Provides a very low cost storage option based on its S3 storage solution. High redundancy and availability, but high access times. Ideal for archiving
    data.
●   Amazon Historical Pricing provides access to Amazon's historical sales data from its affiliates. (It appears that this service has been discontinued.)
●   Amazon Mechanical Turk (Mturk) manages small units of work distributed among many humans.
●   Amazon Product Advertising API formerly known as Amazon Associates Web Service (A2S) and Amazon E-Commerce Service (ECS), provides access to Amazon's
    product data and electronic commerce functionality.
●   Amazon Relational Database Service (RDS) provides a scalable database server with MySQL and Oracle support.
●   Amazon Route 53 provides a highly available and scalable Domain Name System (DNS) web service.
●   Amazon Simple Email Service (SES) provides bulk and transactional email sending.
●   Amazon Simple Storage Service (S3) provides Web Service based storage.
●   Amazon Simple Queue Service (SQS) provides a hosted message queue for web applications.
●   Amazon Simple Notification Service (SNS) provides a hosted multiprotocol "push" messaging for web applications.
●   Amazon Simple Workflow (SWF) is a workflow service for building scalable, resilient applications.
●   Amazon SimpleDB, allows developers to run queries on structured data. It operates in concert with EC2 and S3 to provide "the core functionality of a database."
●   Amazon Virtual Private Cloud (VPC) creates a logically isolated set of Amazon EC2 instances which can be connected to an existing network using a VPN
    connection.
●   AWS CloudFormation, create a collection of related AWS resources and provision them in an orderly and predictable fashion.
●   AWS Import/Export, accelerates moving large amounts of data into and out of AWS using portable storage devices for transport.
●   AWS Management Console (AWS Console), A web-based point and click interface to manage and monitor the Amazon infrastructure suite including EC2, EBS,
    Amazon Elastic MapReduce, and Amazon CloudFront.
●   AWS Storage Gateway, an iSCSI block storage appliance with cloud-based backup.
Top 5 3 Амазонских Сервиса

●   Elastic Compute Cloud (EC2)

●   Elastic Block Store (EBS)

●   Simple Storage Service (S3)

●   Simple Email Service (SES)

●   DynamoDB
Elastic Compute Cloud
Elastic Compute Cloud
●   hiring a server running at a remote location
●   virtualized server instances as Amazon Machine Images (AMI)
●   details on the instance types http://aws.amazon.com/ec2/instance-types/ http:
    //aws.amazon.com/ec2/#instance
●   pre-configured AMIs
●   attach to an IP called the Elastic IP
●   dynamic capability of launching multiple instances of the same AMIs to scale up
    and terminating them to scale down
●   One EC2 Compute Unit provides the equivalent CPU capacity of a 1.0-1.2 GHz
    2007 Opteron or 2007 Xeon processor
●   Service Level Agreement commitment is 99.95% availability
●   Regions: US East (Northern Virginia), US West (Oregon), US West (Northern
    California), EU (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), South
    America (Sao Paulo), and AWS GovCloud.
EC2 алгоритм

● choose a pre-configured AMI
● launch that AMI
● customize it by adding additional software
  and/or by loading an app
● save that AMI as your custom AMI on S3
● launch multiple instances
● ... profit )
Подробнее о Типах
●   First generation (M1) Standard
●   Second generation (M3) Standard
●   Micro instances (t1.micro)
●   High-Memory Instances
●   High-CPU Instances
●   Cluster Compute Instances
●   Cluster GPU Instances
●   High I/O Instances

●   EBS-Optimized Instances
●   Reserved Instances
●   Spot Instances
●   Dedicated Instances
Elastic Block Store
Elastic Block Store
●   volumes are network-attached
●   persist independently from the life of an instance
●   highly available, highly reliable
●   as instance’s boot partition
●   attached to a running Amazon EC2 instance as a standard block device
●   improved durability over local Amazon EC2 instance stores
●   automatically replicated on the backend (in a single Availability Zone)
●   ability to create point-in-time consistent snapshots of your volumes that are then
    stored in Amazon S3, and automatically replicated across multiple Availability
    Zones
●   Standard volumes and Provisioned IOPS volumes
Simple Storage Service
Simple Storage Service
●   can be accessed by any application with access to the internet

●   can store any arbitrary data as objects accompanied by metadata

●   organized into buckets

●   permissions defined in the Access Control List (ACL)

●   object can be 5GB in size while the metadata can be up to 2KB

●   can be accessed using simple REST or SOAP calls
Mighty Python

1. % git clone https://github.com/boto/boto

2. % cd boto

3. % sudo python setup.py install

4. >>> import boto

5. >>> ec2 = boto.connect_ec2

   (aws_access_key_id='my_access_key',

6. aws_secret_access_key='my_secret_key')
Quick test

1. >>> import boto

2. >>> ec2 = boto.connect_ec2()

3. >>> ec2.get_all_zones()

4. [Zone:us-east-1a, Zone:us-east-1b, Zone:us-east-1c, Zone:

   us-east-1d]
Universal bash

1.   #!/bin/bash

2.   export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

3.   export EC2_HOME=/Users/arjan/src/ec2-api-tools-1.3-46266

4.   export AWS_RDS_HOME=/Users/arjan/src/RDSCli-1.1.005

5.   export PATH="$EC2_HOME/bin:$AWS_RDS_HOME/bin:$PATH"

6.   export EC2_KEY_DIR=/Users/arjan/.ec2

7.   export EC2_PRIVATE_KEY=${EC2_KEY_DIR}/pk-

     4P54TBID4E42U5ZMMCIZWBVYXXN6U6J3.pem

8.   export EC2_CERT=${EC2_KEY_DIR}/cert-4P54TBID4E42U5ZMMCIZWBVYXXN6U6J3.pem
Launch EC2 instance
1.   # create the key pair

2.   $ ec2-add-keypair arjan

3.   # create a security group called 'web'

4.   $ ec2-add-group web -d 'All public facing web (port 80 and 443) instances'

5.   $ ec2-authorize web -P tcp -p 22 -s 0.0.0.0/0

6.   $ ec2-authorize web -P tcp -p 80 -s 0.0.0.0/0

7.   $ ec2-authorize web -P tcp -p 443 -s 0.0.0.0/0

8.   # launch an instance

9.   $ ec2-run-instances ami-714ba518 

          --instance-count 1 

          --instance-type m1.small 

          --key arjan 

          --group web
Links
●   http://media.corporate-ir.net/media_files/irol/97/97664/reports/Shareholderletter97.pdf
●   http://retailindustry.about.com/od/frontlinemanagement/a/Amazon_CEO_Jeff_Bezos_quotes.htm
●   http://en.wikipedia.org/wiki/Jeff_Bezos
●   http://www.saasblogs.com/saas/demystifying-the-cloud-where-do-saas-paas-and-other-acronyms-fit-in/
●   http://en.wikipedia.org/wiki/Amazon_Web_Services
●   http://www.janakiramm.net/blog/overview-of-amazon-web-services
●   http://perfcap.blogspot.com/2011/03/understanding-and-using-amazon-ebs.html
●   http://blog.rightscale.com/2008/08/20/amazon-ebs-explained/
●   http://www.slideshare.net/AmazonWebServices/aws-tech-summit-berlin-2011-keynote
●   Programming Amazon EC2 by Jurg van Vliet and Flavia Paganelli, 2011
●   Python and AWS Cookbook by Mitch Garnaat, 2012

Mais conteúdo relacionado

Mais procurados

(CMP404) Cloud Rendering at Walt Disney Animation Studios
(CMP404) Cloud Rendering at Walt Disney Animation Studios(CMP404) Cloud Rendering at Walt Disney Animation Studios
(CMP404) Cloud Rendering at Walt Disney Animation StudiosAmazon Web Services
 
1. 利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)
1.	利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)1.	利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)
1. 利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)Amazon Web Services
 
Getting Started with Amazon EC2 and Compute Services
Getting Started with Amazon EC2 and Compute ServicesGetting Started with Amazon EC2 and Compute Services
Getting Started with Amazon EC2 and Compute ServicesAmazon Web Services
 
(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline
(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline
(CMP405) Containerizing Video: The Next Gen Video Transcoding PipelineAmazon Web Services
 
Network Security and Access Control within AWS
Network Security and Access Control within AWSNetwork Security and Access Control within AWS
Network Security and Access Control within AWSAmazon Web Services
 
Infrastructure as Code, Theory Crash Course
Infrastructure as Code, Theory Crash CourseInfrastructure as Code, Theory Crash Course
Infrastructure as Code, Theory Crash CourseDr. Sven Balnojan
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)Amazon Web Services
 
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)Amazon Web Services
 
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
AWS Summit Seoul 2015 -  AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...AWS Summit Seoul 2015 -  AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...Amazon Web Services Korea
 
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)Amazon Web Services
 
Running Open Source Platforms on AWS (November 2016)
Running Open Source Platforms on AWS (November 2016)Running Open Source Platforms on AWS (November 2016)
Running Open Source Platforms on AWS (November 2016)Julien SIMON
 
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...Amazon Web Services
 
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...Amazon Web Services
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...Amazon Web Services
 
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...Amazon Web Services
 
AWS Services for Content Production
AWS Services for Content ProductionAWS Services for Content Production
AWS Services for Content ProductionAmazon Web Services
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...Amazon Web Services
 
Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Julien SIMON
 

Mais procurados (20)

(CMP404) Cloud Rendering at Walt Disney Animation Studios
(CMP404) Cloud Rendering at Walt Disney Animation Studios(CMP404) Cloud Rendering at Walt Disney Animation Studios
(CMP404) Cloud Rendering at Walt Disney Animation Studios
 
1. 利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)
1.	利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)1.	利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)
1. 利用微服務架構建立雲端影音平台 (Building Media Platform by Microservices Architecture)
 
Getting Started with Amazon EC2 and Compute Services
Getting Started with Amazon EC2 and Compute ServicesGetting Started with Amazon EC2 and Compute Services
Getting Started with Amazon EC2 and Compute Services
 
(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline
(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline
(CMP405) Containerizing Video: The Next Gen Video Transcoding Pipeline
 
Network Security and Access Control within AWS
Network Security and Access Control within AWSNetwork Security and Access Control within AWS
Network Security and Access Control within AWS
 
Infrastructure as Code, Theory Crash Course
Infrastructure as Code, Theory Crash CourseInfrastructure as Code, Theory Crash Course
Infrastructure as Code, Theory Crash Course
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
 
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
 
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
AWS Summit Seoul 2015 -  AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...AWS Summit Seoul 2015 -  AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
 
How to Design for High Availability & Scale with AWS
How to Design for High Availability & Scale with AWSHow to Design for High Availability & Scale with AWS
How to Design for High Availability & Scale with AWS
 
Deep Dive Amazon EC2
Deep Dive Amazon EC2Deep Dive Amazon EC2
Deep Dive Amazon EC2
 
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)
數位媒體雲端儲存案例和技術分享 (AWS Storage Options for Media Industry)
 
Running Open Source Platforms on AWS (November 2016)
Running Open Source Platforms on AWS (November 2016)Running Open Source Platforms on AWS (November 2016)
Running Open Source Platforms on AWS (November 2016)
 
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...
AWS re:Invent 2016: Netflix: Container Scheduling, Execution, and Integration...
 
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
AWS re:Invent 2016: Managing and Supporting the Windows Platform on AWS (GPSS...
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
 
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...
AWS re:Invent 2016: NextGen Networking: New Capabilities for Amazon’s Virtual...
 
AWS Services for Content Production
AWS Services for Content ProductionAWS Services for Content Production
AWS Services for Content Production
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
 
Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)
 

Destaque

kellogg annual reports 2006
kellogg annual reports 2006kellogg annual reports 2006
kellogg annual reports 2006finance23
 
Kellogs 'Special K'
Kellogs 'Special K'Kellogs 'Special K'
Kellogs 'Special K'Zahra06
 
Special K Digital Marketing Strategy
Special K Digital Marketing StrategySpecial K Digital Marketing Strategy
Special K Digital Marketing StrategyCasey O'Connell
 
[eBook] What to Expect The First Year with Office 365
[eBook] What to Expect The First Year with Office 365[eBook] What to Expect The First Year with Office 365
[eBook] What to Expect The First Year with Office 365Idan Hershkovich
 
Supply chain management of kellogg’s cornflake presentation
Supply chain management of kellogg’s cornflake presentationSupply chain management of kellogg’s cornflake presentation
Supply chain management of kellogg’s cornflake presentationOniyinde George
 
Kellogg's Business Research
Kellogg's Business ResearchKellogg's Business Research
Kellogg's Business ResearchDipanshu Singhal
 
Kellogg Strategic Audit Version 1
Kellogg Strategic Audit   Version 1Kellogg Strategic Audit   Version 1
Kellogg Strategic Audit Version 1Luis Terron
 
Kellogg's final ppt
Kellogg's final pptKellogg's final ppt
Kellogg's final pptMonali Bhoir
 
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014Amazon Web Services
 

Destaque (17)

kellogg annual reports 2006
kellogg annual reports 2006kellogg annual reports 2006
kellogg annual reports 2006
 
Kellogs 'Special K'
Kellogs 'Special K'Kellogs 'Special K'
Kellogs 'Special K'
 
Special K Digital Marketing Strategy
Special K Digital Marketing StrategySpecial K Digital Marketing Strategy
Special K Digital Marketing Strategy
 
[eBook] What to Expect The First Year with Office 365
[eBook] What to Expect The First Year with Office 365[eBook] What to Expect The First Year with Office 365
[eBook] What to Expect The First Year with Office 365
 
Kelloggs
KelloggsKelloggs
Kelloggs
 
K-special
K-specialK-special
K-special
 
Kellogg's_Group 2
Kellogg's_Group 2Kellogg's_Group 2
Kellogg's_Group 2
 
Supply chain management of kellogg’s cornflake presentation
Supply chain management of kellogg’s cornflake presentationSupply chain management of kellogg’s cornflake presentation
Supply chain management of kellogg’s cornflake presentation
 
Kellogg's supply chain
Kellogg's supply chainKellogg's supply chain
Kellogg's supply chain
 
Kellogg's Business Research
Kellogg's Business ResearchKellogg's Business Research
Kellogg's Business Research
 
Kellogg Strategic Audit Version 1
Kellogg Strategic Audit   Version 1Kellogg Strategic Audit   Version 1
Kellogg Strategic Audit Version 1
 
Kellogg's final ppt
Kellogg's final pptKellogg's final ppt
Kellogg's final ppt
 
Case study on kellogg
Case study on kelloggCase study on kellogg
Case study on kellogg
 
Kellogg's Case Study
Kellogg's Case StudyKellogg's Case Study
Kellogg's Case Study
 
Kelloggs Presentation
Kelloggs PresentationKelloggs Presentation
Kelloggs Presentation
 
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
(BIZ401) Kellogg Company Runs SAP in a Hybrid Environment | AWS re:Invent 2014
 
Creating a beloved brand
Creating a beloved brandCreating a beloved brand
Creating a beloved brand
 

Semelhante a X1 Dev Club - Amazon EC2 et al.

AWS cloud computing internship training.pptx
AWS cloud computing internship training.pptxAWS cloud computing internship training.pptx
AWS cloud computing internship training.pptxROHANBANSAL55
 
Amazon web services : Layman Introduction
Amazon web services : Layman IntroductionAmazon web services : Layman Introduction
Amazon web services : Layman IntroductionParashar Borkotoky
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Amazon Web Services
 
McrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and AmazonMcrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and AmazonDan Lister
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3Zenita Smythe
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3Zenita Smythe
 
Amazon cloud intance launch
Amazon cloud intance launchAmazon cloud intance launch
Amazon cloud intance launchZenita Smythe
 
Cloud computing-Practical Example
Cloud computing-Practical ExampleCloud computing-Practical Example
Cloud computing-Practical ExampleTasawar Gulzar
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesAmazon Web Services
 
AWS Cloud Computing for Startups Werner Vogels -part i
AWS Cloud Computing for Startups   Werner Vogels -part iAWS Cloud Computing for Startups   Werner Vogels -part i
AWS Cloud Computing for Startups Werner Vogels -part iAmazon Web Services
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAmazon Web Services
 
Developing Social Games in the Cloud
Developing Social Games in the CloudDeveloping Social Games in the Cloud
Developing Social Games in the CloudJurriaan Persyn
 
Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)Amazon Web Services
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developersCiklum Ukraine
 
Amazon cloud
Amazon cloud Amazon cloud
Amazon cloud Narendra
 
Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Amazon Web Services
 

Semelhante a X1 Dev Club - Amazon EC2 et al. (20)

AWS cloud computing internship training.pptx
AWS cloud computing internship training.pptxAWS cloud computing internship training.pptx
AWS cloud computing internship training.pptx
 
Aws coi7
Aws coi7Aws coi7
Aws coi7
 
Amazon web services : Layman Introduction
Amazon web services : Layman IntroductionAmazon web services : Layman Introduction
Amazon web services : Layman Introduction
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)
 
AMAZON CLOUD Course Content
AMAZON CLOUD Course ContentAMAZON CLOUD Course Content
AMAZON CLOUD Course Content
 
McrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and AmazonMcrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and Amazon
 
Amazon EC2
Amazon EC2Amazon EC2
Amazon EC2
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3
 
Amazon cloud intance launch3
Amazon cloud intance launch3Amazon cloud intance launch3
Amazon cloud intance launch3
 
Amazon cloud intance launch
Amazon cloud intance launchAmazon cloud intance launch
Amazon cloud intance launch
 
Cloud computing-Practical Example
Cloud computing-Practical ExampleCloud computing-Practical Example
Cloud computing-Practical Example
 
Aws
AwsAws
Aws
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
AWS Cloud Computing for Startups Werner Vogels -part i
AWS Cloud Computing for Startups   Werner Vogels -part iAWS Cloud Computing for Startups   Werner Vogels -part i
AWS Cloud Computing for Startups Werner Vogels -part i
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Developing Social Games in the Cloud
Developing Social Games in the CloudDeveloping Social Games in the Cloud
Developing Social Games in the Cloud
 
Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
 
Amazon cloud
Amazon cloud Amazon cloud
Amazon cloud
 
Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)
 

X1 Dev Club - Amazon EC2 et al.

  • 1. Облачные амазонки и др. X1 Dev Девелоперы 1шт. gmail.com Serge.Kovaleff @ linkedin.com facebook.com
  • 2. Цели ● Ознакомиться с облаками и пр. белокрылыми ромашками ● Понять облачный тренд ● Поместить облака и конкретно Амазон в свою картину мира ● Возможно, узнать пикантные подробности
  • 3. План ● Откуда есть и пошел Амазон как СааС ● SaaS, IaaS, PaaS, ...aaS? ● Что нам Зе Вендор сулит ● Куски Питона ● Куски Баша (не Орг) ● Подводные камни
  • 5. Grids ... Clouds ... Virtualization!
  • 7. Письмо CEO "then-new U.S. Supreme Court ruling [that] online retailers don't have to collect sales taxes in states where they lack a physical presence" "You can do the math 15 different ways, and every time the math tells you that you shouldn’t lower prices because you’re going to make less money. That’s undoubtedly true in the current quarter, in the current year. But it’s probably not true over a 10-year period, when the benefit is going to increase the frequency with which your customers shop with you, the fraction of their purchases they do with you as opposed to other places. Their overall satisfaction is going to go up." Bezos indicated that he founded the space company to help enable "anybody to go into space" Jeffrey P. Bezos Founder and Chief Executive Officer Amazon.com, Inc.
  • 8.
  • 9. Amazon AWS Authentication, an implicit service, the authentication infrastructure used to authenticate access to the various services. ● Amazon CloudFront, a content delivery network (CDN) for distributing objects to so-called "edge locations" near the requester. ● Amazon CloudSearch provides basic full text search and indexing of textual content. ● Amazon CloudWatch, provides monitoring for AWS cloud resources and applications, starting with EC2. ● Amazon DevPay, currently in limited beta version, is a billing and account management system for applications that developers have built atop Amazon Web Services. ● Amazon DynamoDB (DynamoDB} provides a scalable, low-latency NoSQL online Database Service. ● Amazon Elastic Beanstalk provides quick deployment and management of applications in the cloud. ● Amazon Elastic Block Store (EBS) provides persistent block-level storage volumes for EC2. ● Amazon Elastic Compute Cloud (EC2) provides scalable virtual private servers using Xen. ● Amazon Elastic MapReduce allows businesses, researchers, data analysts, and developers to easily and cheaply process vast amounts of data. It uses a hosted Hadoop framework running on the web-scale infrastructure of EC2 and Amazon S3. ● Amazon ElastiCache provides in-memory caching for web applications. ● Amazon Flexible Payments Service (FPS) provides an interface for micropayments. ● Amazon Fulfillment Web Service provides a programmatic web service for sellers to ship items to and from Amazon using Fulfillment by Amazon. ● Amazon Glacier, Provides a very low cost storage option based on its S3 storage solution. High redundancy and availability, but high access times. Ideal for archiving data. ● Amazon Historical Pricing provides access to Amazon's historical sales data from its affiliates. (It appears that this service has been discontinued.) ● Amazon Mechanical Turk (Mturk) manages small units of work distributed among many humans. ● Amazon Product Advertising API formerly known as Amazon Associates Web Service (A2S) and Amazon E-Commerce Service (ECS), provides access to Amazon's product data and electronic commerce functionality. ● Amazon Relational Database Service (RDS) provides a scalable database server with MySQL and Oracle support. ● Amazon Route 53 provides a highly available and scalable Domain Name System (DNS) web service. ● Amazon Simple Email Service (SES) provides bulk and transactional email sending. ● Amazon Simple Storage Service (S3) provides Web Service based storage. ● Amazon Simple Queue Service (SQS) provides a hosted message queue for web applications. ● Amazon Simple Notification Service (SNS) provides a hosted multiprotocol "push" messaging for web applications. ● Amazon Simple Workflow (SWF) is a workflow service for building scalable, resilient applications. ● Amazon SimpleDB, allows developers to run queries on structured data. It operates in concert with EC2 and S3 to provide "the core functionality of a database." ● Amazon Virtual Private Cloud (VPC) creates a logically isolated set of Amazon EC2 instances which can be connected to an existing network using a VPN connection. ● AWS CloudFormation, create a collection of related AWS resources and provision them in an orderly and predictable fashion. ● AWS Import/Export, accelerates moving large amounts of data into and out of AWS using portable storage devices for transport. ● AWS Management Console (AWS Console), A web-based point and click interface to manage and monitor the Amazon infrastructure suite including EC2, EBS, Amazon Elastic MapReduce, and Amazon CloudFront. ● AWS Storage Gateway, an iSCSI block storage appliance with cloud-based backup.
  • 10.
  • 11.
  • 12. Top 5 3 Амазонских Сервиса ● Elastic Compute Cloud (EC2) ● Elastic Block Store (EBS) ● Simple Storage Service (S3) ● Simple Email Service (SES) ● DynamoDB
  • 14. Elastic Compute Cloud ● hiring a server running at a remote location ● virtualized server instances as Amazon Machine Images (AMI) ● details on the instance types http://aws.amazon.com/ec2/instance-types/ http: //aws.amazon.com/ec2/#instance ● pre-configured AMIs ● attach to an IP called the Elastic IP ● dynamic capability of launching multiple instances of the same AMIs to scale up and terminating them to scale down ● One EC2 Compute Unit provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor ● Service Level Agreement commitment is 99.95% availability ● Regions: US East (Northern Virginia), US West (Oregon), US West (Northern California), EU (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (Sao Paulo), and AWS GovCloud.
  • 15. EC2 алгоритм ● choose a pre-configured AMI ● launch that AMI ● customize it by adding additional software and/or by loading an app ● save that AMI as your custom AMI on S3 ● launch multiple instances ● ... profit )
  • 16. Подробнее о Типах ● First generation (M1) Standard ● Second generation (M3) Standard ● Micro instances (t1.micro) ● High-Memory Instances ● High-CPU Instances ● Cluster Compute Instances ● Cluster GPU Instances ● High I/O Instances ● EBS-Optimized Instances ● Reserved Instances ● Spot Instances ● Dedicated Instances
  • 18. Elastic Block Store ● volumes are network-attached ● persist independently from the life of an instance ● highly available, highly reliable ● as instance’s boot partition ● attached to a running Amazon EC2 instance as a standard block device ● improved durability over local Amazon EC2 instance stores ● automatically replicated on the backend (in a single Availability Zone) ● ability to create point-in-time consistent snapshots of your volumes that are then stored in Amazon S3, and automatically replicated across multiple Availability Zones ● Standard volumes and Provisioned IOPS volumes
  • 20. Simple Storage Service ● can be accessed by any application with access to the internet ● can store any arbitrary data as objects accompanied by metadata ● organized into buckets ● permissions defined in the Access Control List (ACL) ● object can be 5GB in size while the metadata can be up to 2KB ● can be accessed using simple REST or SOAP calls
  • 21. Mighty Python 1. % git clone https://github.com/boto/boto 2. % cd boto 3. % sudo python setup.py install 4. >>> import boto 5. >>> ec2 = boto.connect_ec2 (aws_access_key_id='my_access_key', 6. aws_secret_access_key='my_secret_key')
  • 22. Quick test 1. >>> import boto 2. >>> ec2 = boto.connect_ec2() 3. >>> ec2.get_all_zones() 4. [Zone:us-east-1a, Zone:us-east-1b, Zone:us-east-1c, Zone: us-east-1d]
  • 23. Universal bash 1. #!/bin/bash 2. export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home 3. export EC2_HOME=/Users/arjan/src/ec2-api-tools-1.3-46266 4. export AWS_RDS_HOME=/Users/arjan/src/RDSCli-1.1.005 5. export PATH="$EC2_HOME/bin:$AWS_RDS_HOME/bin:$PATH" 6. export EC2_KEY_DIR=/Users/arjan/.ec2 7. export EC2_PRIVATE_KEY=${EC2_KEY_DIR}/pk- 4P54TBID4E42U5ZMMCIZWBVYXXN6U6J3.pem 8. export EC2_CERT=${EC2_KEY_DIR}/cert-4P54TBID4E42U5ZMMCIZWBVYXXN6U6J3.pem
  • 24. Launch EC2 instance 1. # create the key pair 2. $ ec2-add-keypair arjan 3. # create a security group called 'web' 4. $ ec2-add-group web -d 'All public facing web (port 80 and 443) instances' 5. $ ec2-authorize web -P tcp -p 22 -s 0.0.0.0/0 6. $ ec2-authorize web -P tcp -p 80 -s 0.0.0.0/0 7. $ ec2-authorize web -P tcp -p 443 -s 0.0.0.0/0 8. # launch an instance 9. $ ec2-run-instances ami-714ba518 --instance-count 1 --instance-type m1.small --key arjan --group web
  • 25. Links ● http://media.corporate-ir.net/media_files/irol/97/97664/reports/Shareholderletter97.pdf ● http://retailindustry.about.com/od/frontlinemanagement/a/Amazon_CEO_Jeff_Bezos_quotes.htm ● http://en.wikipedia.org/wiki/Jeff_Bezos ● http://www.saasblogs.com/saas/demystifying-the-cloud-where-do-saas-paas-and-other-acronyms-fit-in/ ● http://en.wikipedia.org/wiki/Amazon_Web_Services ● http://www.janakiramm.net/blog/overview-of-amazon-web-services ● http://perfcap.blogspot.com/2011/03/understanding-and-using-amazon-ebs.html ● http://blog.rightscale.com/2008/08/20/amazon-ebs-explained/ ● http://www.slideshare.net/AmazonWebServices/aws-tech-summit-berlin-2011-keynote ● Programming Amazon EC2 by Jurg van Vliet and Flavia Paganelli, 2011 ● Python and AWS Cookbook by Mitch Garnaat, 2012