SlideShare a Scribd company logo
1 of 26
Download to read offline
CLOUD DEVELOPMENT
            WITH APACHE CAMEL AND
             AMAZON WEB SERVICES
                     @robinhowlett




Friday, May 18, 12
ABOUT ME

    • Robin            Howlett

    • Senior Architect         at Silver Chalice (Boulder, CO)

    • Lead           for Advanced Media Platform




Friday, May 18, 12
ABOUT SILVER CHALICE

    • Work           with sports and media entities to build digital businesses

    • Focus  on mobile, digital sales, video, social and digital
        networks, and new media technologies

    • Backed          by Chicago White Sox ownership

    • Clients        are major media and sports companies


Friday, May 18, 12
WHY CAMEL + AWS?

    • Startup: small      team, big project, quick deadline

    • Existing       products in market; needed to scale on day 1

    • Complex       data ecosystem; variety of providers, data formats
         and distribution methods

    • Needed         expressive, powerful integration framework


Friday, May 18, 12
STYLE

    • Brief          overviews for context

    • Technical          detail over broad descriptions

    • Code-first           approach; fewer slides

    • Increasing         complexity

    • Personal          experience

    • Q&A            best for business and management questions

Friday, May 18, 12
AGENDA
    •   Introduction to Amazon Web Services

    •   Details of selected AWS products and architectures

    •   Overview of AWS SDK for Java and AWS Toolkit for Eclipse

    •   Demo: Camel’s AWS components

    •   Scaling Demo: Camel and AWS Elastic Beanstalk

    •   Cloud Routing Demo: Camel and AWS Simple Workflow (SWF)

    •   Q&A

Friday, May 18, 12
AMAZON WEB SERVICES
    •   Pay-as-you-go

    •   Scalable-on-demand resources

    •   HA

    •   Global

    •   Computing, Storage, Middleware, Database, Networking, CDN, Security, DevOps

    •   Open source technologies prominent

    •   Web service APIs and SDKs

    •   IaaS, PaaS, ?aaS

Friday, May 18, 12
AWS MAP
Friday, May 18, 12
IMPLICATIONS
   •   Rapid engineering

   •   Smaller teams with greater scope

   •   Budgeting

   •   SLAs

   •   Security

   •   Non-traditional engineering

   •   Complexity

Friday, May 18, 12
AWS PRODUCTS & SERVICES
    •   EC2 & EBS                  •   Elastic Beanstalk

    •   S3 & CloudFront            •   ELB & Auto-Scaling

    •   RDS, SimpleDB & DynamoDB   •   Route 53

    •   SQS                        •   ElastiCache

    •   SNS                        •   CloudSearch

    •   SWF                        •   CloudFormation

    •   IAM                        •   VPC

    •   EMR                        •   CloudWatch

    •   SES                        •   AMIs


Friday, May 18, 12
EC2

    • Micro-instances            to high-computing clusters

    • On-demand, spot              or reserved pricing options

    • EBS            vs Instance Stores: implications

    • Templating            with AMIs and CloudFormation

    • Security: IAM           users, key pairs and security groups

    • Load            Balancing and Elastic IPs

Friday, May 18, 12
S3

    • What’s          cooler than a trillion objects?

    • Buckets          of objects, uniquely identified

    • REST           & SOAP interfaces; HTTP and BitTorrent

    • SLA: 99.9% “uptime”; 99.999999%               durability

    • Static         content, publicly accessible

    • Combine            with CloudFront for an instant global CDN

Friday, May 18, 12
RDS, SIMPLEDB & DYNAMODB
    •   RDS: MySQL or Oracle relational databases

    •   RDS: Invisible, auto-sharding, multi-AZ deployment, read replicas

    •   SimpleDB: non-relational (NoSQL) key-value-based data store; basically giant
        tables

    •   SimpleDB: automatically replicated and geographically distributed

    •   DynamoDB: NoSQL database service; columns of key-values like SimpleDB; non-
        binary data

    •   DynamoDB: SSDs! Only 64KB limit on item/row however and complex pricing
        arrangement

Friday, May 18, 12
SQS

    • Hosted, distributed    queue

    • Ordering, idempotency       and approximations

    • Consumers       control message lifecycle with visibility timeouts

    • Unlimited      number of messages can be processed (64KB of
        text max)


Friday, May 18, 12
SNS


    • Pub-Sub          web service

    • Notification         protocols include HTTP(S), SQS, email, SMS

    • Subscribers         must opt-in (SQS is automatic)

    • Great          for monitoring and mobile



Friday, May 18, 12
AWS SDK FOR JAVA


    • https://github.com/amazonwebservices/aws-sdk-for-java

    • Apache         2.0 License; some Apache Commons dependencies

    • Almost         all products and services supported

    • Samples        included



Friday, May 18, 12
AWS TOOLKIT FOR ECLIPSE


    • Includes AWS               SDK for Java

    • AWS             Explorer GUI administration tool

    • Go             through couple of AWS samples

    • Demo             toolkit



Friday, May 18, 12
CAMEL-AWS

    • AWS-SQS          (2.6.0)

    • AWS-SNS          (2.8.0)

    • AWS-S3         (2.8.0)

    • AWS-SES         (2.8.4)

    • AWS-SDB          (2.8.4)

    • AWS-DDB          (2.10.0*)

Friday, May 18, 12
DEMO: CAMEL-AWS
                       COMPONENTS



Friday, May 18, 12
AWS ELASTIC BEANSTALK

    • Platform-as-a-Service

    • Provisioning, deployment, auto-scaling       policies, load balancing,
        monitoring

    • Leverages         EC2, S3, SNS, Elastic Load Balancing, and Auto-Scaling

    • Linux AMI, Apache Tomcat          (6/7, 32- or 64-bit), Apache Web
        Server, Java EE

    • Demo           with AWS Toolkit

Friday, May 18, 12
SCALING DEMO:
     CAMEL & ELASTIC BEANSTALK



Friday, May 18, 12
SWF

    •   Simple Workflow Service

    •   Distributed coordination hub web service

    •   Manages state, tasks, execution dependencies, scheduling, monitoring
        and history

    •   Console provided

    •   Tasks, Workers and Deciders

    •   Camel complements it

Friday, May 18, 12
Activity workers are independent
                                                    task processors. They can do a
                                                   variety of different tasks e.g. poll,
                                                  store and converts providers’ data
                         Activity                    to our reference data models

                         Workers                      Different workers can be
                                                   responsible for each processing
                                                  step, and can be combined in any
                                                     way, so they are extremely
                                                               scaleable



                       The workflow engine is
                        the coordination and
                        orchestration system.

                           It is capable of
                                                  Workflow
                        controlling clusters of
                       workers, load balancing,
                                                   Engine
                         handling distributed
                       exceptions and tracking
                         workflow progress.



                        Workflow
                      workers decide
                     the order, timing   Workflow                                             The workflow
                                                                                              scheduler is
                                                                       Workflow
                     and concurrency
                       of tasks the      Workers                       Scheduler
                                                                                            responsible for
                                                                                           when workflows
                     activity workers
                                                                                           should be started
                         work on



Friday, May 18, 12
AWS FLOW FRAMEWORK

    • Java           programming framework for SWF

    • Translates          method calls into schedule decisions; assigns tasks to
        workers

    • Long            running workflows, large media processing

    • @Workflow              and @Activities (show simple example)


Friday, May 18, 12
CLOUD ROUTING DEMO:
                     CAMEL & SWF



Friday, May 18, 12
Q&A




Friday, May 18, 12

More Related Content

What's hot

Scalability Availabilty and Management of WSO2 Carbon
Scalability Availabilty and Management of WSO2 CarbonScalability Availabilty and Management of WSO2 Carbon
Scalability Availabilty and Management of WSO2 Carbon
WSO2
 
Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB
WSO2
 
Better Enterprise Integration With the WSO2 ESB 4.5.1
Better Enterprise Integration With the WSO2 ESB 4.5.1Better Enterprise Integration With the WSO2 ESB 4.5.1
Better Enterprise Integration With the WSO2 ESB 4.5.1
WSO2
 
How to build a custom stack with WSO2 carbon
How to build a custom stack with WSO2 carbon How to build a custom stack with WSO2 carbon
How to build a custom stack with WSO2 carbon
WSO2
 
Managing ESB artifacts with the WSO2 Governance Registry
Managing ESB artifacts with the WSO2 Governance Registry Managing ESB artifacts with the WSO2 Governance Registry
Managing ESB artifacts with the WSO2 Governance Registry
WSO2
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
WSO2
 
How to extend WSO2 Carbon for your middleware needs
How to extend WSO2 Carbon for your middleware needsHow to extend WSO2 Carbon for your middleware needs
How to extend WSO2 Carbon for your middleware needs
WSO2
 
WSO2 ESB Integration with REST
WSO2 ESB Integration with RESTWSO2 ESB Integration with REST
WSO2 ESB Integration with REST
WSO2
 
ESB Evaluation Framework
ESB Evaluation FrameworkESB Evaluation Framework
ESB Evaluation Framework
WSO2
 

What's hot (20)

Polyglot Messaging with Apache ActiveMQ
Polyglot Messaging with Apache ActiveMQPolyglot Messaging with Apache ActiveMQ
Polyglot Messaging with Apache ActiveMQ
 
SOA to Microservices
SOA to MicroservicesSOA to Microservices
SOA to Microservices
 
DevNexus 2015
DevNexus 2015DevNexus 2015
DevNexus 2015
 
Scalability Availabilty and Management of WSO2 Carbon
Scalability Availabilty and Management of WSO2 CarbonScalability Availabilty and Management of WSO2 Carbon
Scalability Availabilty and Management of WSO2 Carbon
 
Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB Enterprise Integration with the WSO2 ESB
Enterprise Integration with the WSO2 ESB
 
Java one kubernetes, jenkins and microservices
Java one   kubernetes, jenkins and microservicesJava one   kubernetes, jenkins and microservices
Java one kubernetes, jenkins and microservices
 
Fuse integration-services
Fuse integration-servicesFuse integration-services
Fuse integration-services
 
Microservices with Apache Camel, DDD, and Kubernetes
Microservices with Apache Camel, DDD, and KubernetesMicroservices with Apache Camel, DDD, and Kubernetes
Microservices with Apache Camel, DDD, and Kubernetes
 
Better Enterprise Integration With the WSO2 ESB 4.5.1
Better Enterprise Integration With the WSO2 ESB 4.5.1Better Enterprise Integration With the WSO2 ESB 4.5.1
Better Enterprise Integration With the WSO2 ESB 4.5.1
 
How to build a custom stack with WSO2 carbon
How to build a custom stack with WSO2 carbon How to build a custom stack with WSO2 carbon
How to build a custom stack with WSO2 carbon
 
Red Hat Open Day JBoss Fuse
Red Hat Open Day JBoss FuseRed Hat Open Day JBoss Fuse
Red Hat Open Day JBoss Fuse
 
Managing ESB artifacts with the WSO2 Governance Registry
Managing ESB artifacts with the WSO2 Governance Registry Managing ESB artifacts with the WSO2 Governance Registry
Managing ESB artifacts with the WSO2 Governance Registry
 
Managing your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CDManaging your camels in the cloud with CI/CD
Managing your camels in the cloud with CI/CD
 
Keynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your businessKeynote-Service Orientation – Why is it good for your business
Keynote-Service Orientation – Why is it good for your business
 
A Microservice Journey
A Microservice JourneyA Microservice Journey
A Microservice Journey
 
How to extend WSO2 Carbon for your middleware needs
How to extend WSO2 Carbon for your middleware needsHow to extend WSO2 Carbon for your middleware needs
How to extend WSO2 Carbon for your middleware needs
 
WSO2 ESB Integration with REST
WSO2 ESB Integration with RESTWSO2 ESB Integration with REST
WSO2 ESB Integration with REST
 
ESB Evaluation Framework
ESB Evaluation FrameworkESB Evaluation Framework
ESB Evaluation Framework
 
Cloud Native Camel Riding
Cloud Native Camel RidingCloud Native Camel Riding
Cloud Native Camel Riding
 
Microservices with Spring Cloud, Netflix OSS and Kubernetes
Microservices with Spring Cloud, Netflix OSS and Kubernetes Microservices with Spring Cloud, Netflix OSS and Kubernetes
Microservices with Spring Cloud, Netflix OSS and Kubernetes
 

Similar to Cloud Development with Camel and Amazon Web Services

Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
IndicThreads
 
RightScale User Conference: Why RightScale?
RightScale User Conference: Why RightScale?RightScale User Conference: Why RightScale?
RightScale User Conference: Why RightScale?
Erik Osterman
 

Similar to Cloud Development with Camel and Amazon Web Services (20)

DAT201 Migrating Databases to AWS - AWS re: Invent 2012
DAT201 Migrating Databases to AWS - AWS re: Invent 2012DAT201 Migrating Databases to AWS - AWS re: Invent 2012
DAT201 Migrating Databases to AWS - AWS re: Invent 2012
 
Serverless without Code (Lambda)
Serverless without Code (Lambda)Serverless without Code (Lambda)
Serverless without Code (Lambda)
 
A1 keynote oracle_infrastructure_as_a_service_move_any_workload_to_the_cloud
A1 keynote oracle_infrastructure_as_a_service_move_any_workload_to_the_cloudA1 keynote oracle_infrastructure_as_a_service_move_any_workload_to_the_cloud
A1 keynote oracle_infrastructure_as_a_service_move_any_workload_to_the_cloud
 
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
 
Grails in the Cloud (2013)
Grails in the Cloud (2013)Grails in the Cloud (2013)
Grails in the Cloud (2013)
 
Going Serverless - an Introduction to AWS Glue
Going Serverless - an Introduction to AWS GlueGoing Serverless - an Introduction to AWS Glue
Going Serverless - an Introduction to AWS Glue
 
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
Weathering the Data Storm – How SnapLogic and AWS Deliver Analytics in the Cl...
 
PaaS with Java
PaaS with JavaPaaS with Java
PaaS with Java
 
NDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
 
Impact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology expertsImpact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology experts
 
Impact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology expertsImpact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology experts
 
3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud
 
Using Amazon RDS to power enterprise applications (Peoplesoft)
Using Amazon RDS to power enterprise applications (Peoplesoft) Using Amazon RDS to power enterprise applications (Peoplesoft)
Using Amazon RDS to power enterprise applications (Peoplesoft)
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
RightScale User Conference: Why RightScale?
RightScale User Conference: Why RightScale?RightScale User Conference: Why RightScale?
RightScale User Conference: Why RightScale?
 
Performance architecture for cloud connect
Performance architecture for cloud connectPerformance architecture for cloud connect
Performance architecture for cloud connect
 
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
 
3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud
 
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSMeetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWS
 
Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3) Cloud Architecture Tutorial - Why and What (1of 3)
Cloud Architecture Tutorial - Why and What (1of 3)
 

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
 
+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@
 

Recently uploaded (20)

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
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
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
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
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
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
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...
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+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...
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Cloud Development with Camel and Amazon Web Services

  • 1. CLOUD DEVELOPMENT WITH APACHE CAMEL AND AMAZON WEB SERVICES @robinhowlett Friday, May 18, 12
  • 2. ABOUT ME • Robin Howlett • Senior Architect at Silver Chalice (Boulder, CO) • Lead for Advanced Media Platform Friday, May 18, 12
  • 3. ABOUT SILVER CHALICE • Work with sports and media entities to build digital businesses • Focus on mobile, digital sales, video, social and digital networks, and new media technologies • Backed by Chicago White Sox ownership • Clients are major media and sports companies Friday, May 18, 12
  • 4. WHY CAMEL + AWS? • Startup: small team, big project, quick deadline • Existing products in market; needed to scale on day 1 • Complex data ecosystem; variety of providers, data formats and distribution methods • Needed expressive, powerful integration framework Friday, May 18, 12
  • 5. STYLE • Brief overviews for context • Technical detail over broad descriptions • Code-first approach; fewer slides • Increasing complexity • Personal experience • Q&A best for business and management questions Friday, May 18, 12
  • 6. AGENDA • Introduction to Amazon Web Services • Details of selected AWS products and architectures • Overview of AWS SDK for Java and AWS Toolkit for Eclipse • Demo: Camel’s AWS components • Scaling Demo: Camel and AWS Elastic Beanstalk • Cloud Routing Demo: Camel and AWS Simple Workflow (SWF) • Q&A Friday, May 18, 12
  • 7. AMAZON WEB SERVICES • Pay-as-you-go • Scalable-on-demand resources • HA • Global • Computing, Storage, Middleware, Database, Networking, CDN, Security, DevOps • Open source technologies prominent • Web service APIs and SDKs • IaaS, PaaS, ?aaS Friday, May 18, 12
  • 9. IMPLICATIONS • Rapid engineering • Smaller teams with greater scope • Budgeting • SLAs • Security • Non-traditional engineering • Complexity Friday, May 18, 12
  • 10. AWS PRODUCTS & SERVICES • EC2 & EBS • Elastic Beanstalk • S3 & CloudFront • ELB & Auto-Scaling • RDS, SimpleDB & DynamoDB • Route 53 • SQS • ElastiCache • SNS • CloudSearch • SWF • CloudFormation • IAM • VPC • EMR • CloudWatch • SES • AMIs Friday, May 18, 12
  • 11. EC2 • Micro-instances to high-computing clusters • On-demand, spot or reserved pricing options • EBS vs Instance Stores: implications • Templating with AMIs and CloudFormation • Security: IAM users, key pairs and security groups • Load Balancing and Elastic IPs Friday, May 18, 12
  • 12. S3 • What’s cooler than a trillion objects? • Buckets of objects, uniquely identified • REST & SOAP interfaces; HTTP and BitTorrent • SLA: 99.9% “uptime”; 99.999999% durability • Static content, publicly accessible • Combine with CloudFront for an instant global CDN Friday, May 18, 12
  • 13. RDS, SIMPLEDB & DYNAMODB • RDS: MySQL or Oracle relational databases • RDS: Invisible, auto-sharding, multi-AZ deployment, read replicas • SimpleDB: non-relational (NoSQL) key-value-based data store; basically giant tables • SimpleDB: automatically replicated and geographically distributed • DynamoDB: NoSQL database service; columns of key-values like SimpleDB; non- binary data • DynamoDB: SSDs! Only 64KB limit on item/row however and complex pricing arrangement Friday, May 18, 12
  • 14. SQS • Hosted, distributed queue • Ordering, idempotency and approximations • Consumers control message lifecycle with visibility timeouts • Unlimited number of messages can be processed (64KB of text max) Friday, May 18, 12
  • 15. SNS • Pub-Sub web service • Notification protocols include HTTP(S), SQS, email, SMS • Subscribers must opt-in (SQS is automatic) • Great for monitoring and mobile Friday, May 18, 12
  • 16. AWS SDK FOR JAVA • https://github.com/amazonwebservices/aws-sdk-for-java • Apache 2.0 License; some Apache Commons dependencies • Almost all products and services supported • Samples included Friday, May 18, 12
  • 17. AWS TOOLKIT FOR ECLIPSE • Includes AWS SDK for Java • AWS Explorer GUI administration tool • Go through couple of AWS samples • Demo toolkit Friday, May 18, 12
  • 18. CAMEL-AWS • AWS-SQS (2.6.0) • AWS-SNS (2.8.0) • AWS-S3 (2.8.0) • AWS-SES (2.8.4) • AWS-SDB (2.8.4) • AWS-DDB (2.10.0*) Friday, May 18, 12
  • 19. DEMO: CAMEL-AWS COMPONENTS Friday, May 18, 12
  • 20. AWS ELASTIC BEANSTALK • Platform-as-a-Service • Provisioning, deployment, auto-scaling policies, load balancing, monitoring • Leverages EC2, S3, SNS, Elastic Load Balancing, and Auto-Scaling • Linux AMI, Apache Tomcat (6/7, 32- or 64-bit), Apache Web Server, Java EE • Demo with AWS Toolkit Friday, May 18, 12
  • 21. SCALING DEMO: CAMEL & ELASTIC BEANSTALK Friday, May 18, 12
  • 22. SWF • Simple Workflow Service • Distributed coordination hub web service • Manages state, tasks, execution dependencies, scheduling, monitoring and history • Console provided • Tasks, Workers and Deciders • Camel complements it Friday, May 18, 12
  • 23. Activity workers are independent task processors. They can do a variety of different tasks e.g. poll, store and converts providers’ data Activity to our reference data models Workers Different workers can be responsible for each processing step, and can be combined in any way, so they are extremely scaleable The workflow engine is the coordination and orchestration system. It is capable of Workflow controlling clusters of workers, load balancing, Engine handling distributed exceptions and tracking workflow progress. Workflow workers decide the order, timing Workflow The workflow scheduler is Workflow and concurrency of tasks the Workers Scheduler responsible for when workflows activity workers should be started work on Friday, May 18, 12
  • 24. AWS FLOW FRAMEWORK • Java programming framework for SWF • Translates method calls into schedule decisions; assigns tasks to workers • Long running workflows, large media processing • @Workflow and @Activities (show simple example) Friday, May 18, 12
  • 25. CLOUD ROUTING DEMO: CAMEL & SWF Friday, May 18, 12