• Like
  • Save
AWS Startup Webinar | Developing on AWS
Upcoming SlideShare
Loading in...5
×
 

AWS Startup Webinar | Developing on AWS

on

  • 823 views

 

Statistics

Views

Total Views
823
Views on SlideShare
704
Embed Views
119

Actions

Likes
8
Downloads
0
Comments
0

3 Embeds 119

http://www.scoop.it 114
http://www.slideee.com 4
https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    AWS Startup Webinar | Developing on AWS AWS Startup Webinar | Developing on AWS Presentation Transcript

    • AWS  Ac&vate   Developing  on  AWS   Markku  Lepisto  –  Principal  Technology  Evangelist   @markkulepisto  
    • Housekeeping   • Presenta&on  ~50mins   • Post  Ques&ons  Online   • Q&A  at  the  end   • Reminder  –  Fill  in  the  survey!    
    • IDEA  !   For  the  next  -­‐  
    • Fail  Fast   Fail  Cheap   Fail  Forward  
    • Scale  Success  
    • Validate  Idea  
    • Minimum  Viable  Product  (MVP)   •  Release  quickly   •  Limited  core  features   •  Iterate  in  produc&on   •  Business  decisions  based  on  data     “Produc(on  is  truly  the  only  place     you  can  validate  your  code”   -­‐  Michael  Nygard,  author  of  ‘Release  it!’  
    • Applica&on  Architecture   for  MVP’s  Core  Features  
    • Tightly  Coupled,  Monolithic  (monster)  
    • Decomposed  to  Services  
    • Decomposed  to  Services  
    • Decomposed  to  Services  
    • Define  Your  MVP’s  Building  Blocks  
    • Define  Your  MVP’s  Building  Blocks   Compute   Object  Store   Load  Balancer   SQL  Database   Iden&ty  &  Access   Data  Warehouse   Applica&on  Lifecycle   CDN   Recommenda&on  Engine   Social  Login  SSO   BI  Analy&cs   Web  Server   Reverse  Proxy   My  Second  Cool  Feature  My  Cool  Feature  
    • Focus  
    • Focus  on  Your  Core  Differen&ator  
    • Outsource  Undifferen&a&ng  Ones  to  Services   Amazon  EC2   Amazon  S3   Elas&c  Load  Balancing   Amazon  RDS   AWS  IAM   Amazon  RedShic   AWS  OpsWorks   Amazon  CloudFront   EasyRec   HybridAuth   JasperSoc   Puma   Nginx   My  Second  Cool  Feature  My  Cool  Feature  
    • Amazon  Web  Services  
    • Regions,  Zones  and  Edge  Loca&ons  
    • API   Regions Availability Zones Edge Locations Storage   S3 EBS Glacier Storage Gateway Foundation Services   Networking   VPC Direct Connect ELB Route53 Databases RDS ElastiCacheDynamo RedShift Content Delivery CloudFront Analytics   DataPipelineEMR Kinesis EC2 Compute   WorkSpaces AWS  Global  Infrastructure   Deployment& Management   IAM Federation Identity & AccessMonitoring CloudWatch Deployment & Management BeanStalk Cloud Formation OpsWork CloudTrail AWS   Global   Infrastru cture   Libraries, SDK’s   Web Console Interaction   Human Interaction   Support Command Line AWS  Global  Infrastructure   Application Services   Application Services   SES SNS SQS Elastic Transcoder CloudSearch SWF AppStream
    • Discover  SW  Components  –  AWS  marketplace  
    • Discover  SW  Components  –  GitHub  
    • Discover  SW  Components  –  NeglixOSS  
    • Services  are  Black  Boxes  Exposed  via  APIs   My  Cool  Feature   Iterate,  even  re-­‐ write  internal   implementa&on   API  is  stable,  with  few   changes,  poten&ally   versioning   API  
    • Loose  Coupling  Enables  Scale-­‐out  and  Resiliency   Use  Message  Queues  
    • Loose  Coupling  Enables  Scale-­‐out  and  Resiliency   Use  Message  Queues   Simple  Queue  Service   (SQS)  
    • Loose  Coupling  Enables  Scale-­‐out  and  Resiliency   Use  Idempotent  Interfaces  
    • Loose  Coupling  Enables  Scale-­‐out  and  Resiliency   Use  Circuit  Breakers  
    • Loose  Coupling  Enables  Scale-­‐out  and  Resiliency   Use  Circuit  Breakers   Temporarily  bypass   unresponsive  service.   Switch  to  degraded   mode  transac&ons  
    • Auto  Scale,  Load  Balance,  Monitor,  HA  Assure   Each  Service  Separately  
    • Statelessness  Enables  Scale-­‐out   Separate  State  and  Data  from  Compute  Instances   Load  Balanced,  Auto  Scaling   pool  of  EC2  Workers   Scalable  Services  for   State  and  Data   ElastiCacheDynamoDBS3
    • Amazon  DynamoDB   Zero  Admin  NoSQL  Service   Unlimited  Storage   Provisioned  Throughput   <10ms  response  &me   Durable  on  SSD  
    • Cloud-­‐SOA   S O A •  Cloud-­‐na&ve  New  Applica&ons   •  SOA  principles  leveraging  Cloud  services   •  Architect  for   –  Automa&on   –  Scale   –  Cost   –  Availability   –  Data   •  Applica&ons  are     –  Always-­‐on   –  Self-­‐healing   –  An&-­‐fragile  
    • Implemented  by  Two-­‐Pizza  Teams   •  Small,  autonomous  teams   •  Full  responsibility  for  Service  X   •  Decoupled  launch  schedules   •  No  handovers   •  Trust    
    • Pulng  It  All  Together  into  a  Solu&on  
    • Pulng  It  All  Together  into  a  Solu&on  
    • Pulng  It  All  Together  into  a  Solu&on  
    • Pulng  It  All  Together  into  a  Solu&on  
    • =   Programmable  Plagorm  
    • If  you  can  program  it   You  can  automate  it  
    • AWS  SDKs  
    • Java  SDK   …! res = ec2.runInstances new RunInstancesRequest([! !imageId: "ami-00754474", ! !keyName: ”MyKeyPair", ! !instanceType: ”m3.medium", ! !securityGroups: [”MySecurityGroup"],! !minCount: 1,! !maxCount: 1,! !userData:! !"AWSWeb.war".bytes.encodeBase64().toString()! !])! …! !
    • Unified  Command  Line  Interface   ~ $ aws ec2 run-instances --image-id ami-554ac83c --min-count 1 --max-count 1 --key-name MyKeyPair --security-groups MySecurityGroup
    • AMI  AMI  AMI   YOUR  CODE   CORE  SERVICES   3rd  PARTY   LIBRARIES   OPERATING  SYSTEM   YOUR  CODE   CORE  SERVICES   3rd  PARTY   LIBRARIES   OPERATING  SYSTEM   YOUR  CODE   CORE  SERVICES   3rd  PARTY   LIBRARIES   OPERATING  SYSTEM   Pre-­‐baked  Image   Base  OS  Image  +  Orchestra&on    
    • 3rd  Party  Configura&on  Mgmt  &  Orchestra&on  Tools  
    • AWS  OpsWorks   AWS   CloudFormaHon   AWS  ElasHc   Beanstalk   DevOps  framework  for   applicaHon  lifecycle   management  and   automaHon   Templates  to  deploy  &   update  infrastructure   as  code   Automated  resource   management  –  web   apps  made  easy   DIY  /     On  Demand   DIY,  on  demand   resources:  EC2,  S3,   custom  AMI’s,  etc.   ControlConvenience AWS  Services  for  Applica&on  Lifecycle  Management  
    • CloudForma&on   Template  
    • SOURCE CODE REPOSITORY DNS CONTINUOUS INTEGRATION SERVER PROJECT MANAGEMENT SERVER BUILDS DATABASE STORAGE
    • CLOUDFORMATION TEMPLATE BUILD + DB SNAPSHOT
    • Application Versions + Infrastructure Versions Applica&on   Your  Code   Infrastructure   To  Run  and  Support  Your  Code  
    • Deliver  Con&nuously   •  Infrastructure  as  Code   – Everything  now  programmable   – App  =  code  +  infrastructure  descrip&on   – In  version  control   •  Full  test  automa&on   •  Frequent  small  risk  &  size  builds   •  Successful  builds  to  produc&on  
    • test   Con&nuous  Integra&on   code   build  plan   Agile  Development   Source  hpp://www.collab.net   deploy   operate   collabora&on   value   DevOps   release   Con&nuous  Delivery  
    • Go  Global  –  in  Minutes   •  Launch  in  a  test  market   •  A/B  Tes&ng   •  Collect  all  logs   •  Analy&cs  à  Insights  à  Iterate     Once  you  hit  the  sweet  spot  –   •  Replicate  the  applica&on  to  all  regions  
    • Measure  &  Log  Everything   Amazon  CloudWatch  
    • COLLECT  |    STORE    |  ANALYZE  |  SHARE   Import  Export   Glacier   S3   EC2   Redshic  DynamoDB     EMR   Data  Pipeline   S3  Direct  Connect   Leverage  AWS  Big  Data  Services   CloudFront   Kinesis  
    • Keep  Itera&ng  
    • Keep  Innova&ng  
    • «  Want  to  increase  innova&on?   Lower  the  cost  of  failure  »     Joi  Ito   MIT  MediaLabs  
    • Fail  Fast  &  Cheap  -­‐  Scale  Success   Experiment   OXen     Fail  quickly  at  a   low  cost     More   InnovaHon   Experiment   Infrequently     Failure  is   expensive     Less  InnovaHon   ON-­‐PREMISE  
    • DEMOS   1.  AWS  Elas&c  Beanstalk        Deploy  to  Produc&on  using  Git   2.  AWS  CloudForma&on        Upgrade  a  Deployed  Template     3.  AWS  SDK  for  Ruby      Control  DynamoDB  &  RDS  
    • Thank You! aws.amazon.com/ac&vate   Markku  Lepisto  –  Principal  Technology  Evangelist   @markkulepisto  
    • Your  Feedback  is  Important   Please  complete  the  Survey!   What’s  good,  what’s  not   What  you  want  to  see  at  these  events   What  you  want  AWS  to  deliver  for  you    
    • Q & A