DevOps with ActiveMQ, Camel, Fabric8, and HawtIO

Christian Posta
Christian PostaGlobal Field CTO at Solo.io
DevOps with ActiveMQ,
Camel, Fabric8 and HawtIO
Christian Posta
6/11/14
RED HAT | ADD NAME2
Agenda
•  DevOps… What is that?
•  Enterprise Integration
•  Automated Delivery
•  To the Cloud
RED HAT | ADD NAME3
Your speaker
Christian Posta
http://christianposta.com/blog
@christianposta
christian@redhat.com
•  Principal Middleware Specialist
•  Based in Phoenix, AZ
•  Committer on Apache Camel, ActiveMQ, Apollo, PMC on ActiveMQ
•  Author: Essential Camel Components DZone Refcard
Shorten the lifecycle from inception
to production so that the business
can make money!
Developers and Operations must
cooperate.
Rely on tools/frameworks to
automate, automate, and automate.
DevOps
RED HAT | ADD NAME6
“WTF is DevOps?”
•  IT is a core competency
•  Set of principles
•  There’s more to applications than coding!
•  Feedback
•  Repetition
•  Communication
•  People!
RED HAT | ADD NAME7
Shorten the feedback loop
•  Developers
•  QA
•  Operations
•  Business
•  Customers!!!
Enterprise Integration
RED HAT | ADD NAME9
Integration is easy!
RED HAT | ADD NAME10
•  Off the shelf? Home Grown? Acquisition?
•  Platforms
•  Protocols / Data Formats
•  Data Formats
•  Timing
•  Organizational mismatch
Why is integration hard?
RED HAT | ADD NAME11
•  Light-weight integration library
•  Domain Specific Language
•  Enterprise Integration Patterns
•  Components
•  Routing and Mediation (like an ESB?)
•  Runs in any container (or stand alone)
What is Apache Camel?
RED HAT | ADD NAME12
•  Message Routing
•  Transformation
•  Aggregation
•  Splitting
•  Resequencer
•  Routing Slip
•  Enricher
•  All 65 from the book!
Enterprise Integration Patterns
RED HAT | ADD NAME13
Components
•  ActiveMQ, Websphere, Weblogic (JMS)
•  AMQP
•  ATOM feeds
•  AWS (S3, SQS, SNS, others)
•  Bean
•  Cache (EHCache)
•  CXF (JAX-WS, JAX-RS)
•  EJB
•  Drools
•  File
•  FTP/SFTP
•  Google App Engine
•  GMail
•  HTTP
•  IRC
•  jclouds
•  JDBC
•  Jetty
•  Twitter
•  MQTT
•  MyBatis
•  JPA
•  Spring Integration
•  Spring Web Services
http://camel.apache.org/components.html
To see list of all
components!!
RED HAT | ADD NAME14
Java DSL
public class OrderProcessorRouteBuilder extends RouteBuilder {	
	
@Override	
public void configure() throws Exception {	
	
from(“activemq:orders”)	
	 .choice()	
.when(header(“customer-rating”).isEqualTo(“gold”))	
.to(“ibmmq:topic:specialCustomer”)	
.otherwise()	
.to(“ftp://user@host/orders/regularCustomers”)	
.end()	
.log(“received new order ${body.orderId}”)	
.to(“ibatis:storeOrder?statementType=Insert”);	
}	
}
RED HAT | ADD NAME15
Spring XML DSL
<route id=“processOrders”>
<from uri=“activemq:orders”/>
<choice>
<when>
<simple>${header.customer-rating} == ‘gold’</simple>
<to uri=“ibmmq:topic:specialCustomer”>
</when>
<otherwise>
<to uri=“ftp://user@host/orders/regularCustomers” />
</otherwise>
</choice>
<log message=“received new order ${body.orderId}”/>
<to uri=“ibatis:storeOrder?statementType=Insert”/>
</route>
RED HAT | ADD NAME16
•  Batch file transfers
•  Shared Database
•  RPC
•  Messaging
Integration Options
RED HAT | ADD NAME17
•  Asynchronous architectures
•  Reliable message passing
•  Loose coupling
•  Heterogeneous integration
•  Fault tolerant
•  Scalable
•  Real-time data
Why messaging?
RED HAT | ADD NAME18
•  The most widely used open-source
messaging broker
•  Highly configurable
•  Friendly license (no license fees!)
•  Vibrant community (TLP)
•  Backbone of top enterprises in retail, e-retail,
financial services, shipping, many others!
Apache ActiveMQ
RED HAT | ADD NAME19
•  High performance
•  High availability
•  Light-weight
•  Multi-protocol (AMQP, MQTT, STOMP)
•  Multi-transport (TCP,SSL,WS,VM,HTTP)
•  JMS compliant
•  Supported in production by Red Hat!
ActiveMQ Features
RED HAT | ADD NAME20
Network of Master/Slave
RED HAT | ADD NAME21
High-performance, real-time systems
Head Office
STORE
STORE
outlet
shop
24 houra
STORE
shop
Broker
Clusters
•  Clustering, Network of Brokers
•  Client-aware failover
•  Master/Slave HA
•  Fabric
RED HAT | ADD NAME22
Ingestion for BigData Architecture
Broker
Cluster
Broker
Cluster
Web Servers
Web Servers
Web Servers
Web Servers
Camel
HTTP Log
Reader
Camel
HTTP Log
Reader
Camel
HTTP Log
Reader
Camel
HTTP Log
Reader
ESB
ESB
Camel
HBase/HDFS
Camel
Hbase/HDFS
HDFS
RED HAT | ADD NAME23
Integration Everywhere – Internet of Things
Connecting Things
• mobile devices
• meters
• industrial controls
• smart buildings
• asset tracking
• traffic control
• monitors
• sensors
• actuators
Broker
Clusters
Arrival
Airport 1
RED HAT | ADD NAME24
JBoss Fuse
Integrate Everything!
RED HAT | ADD NAME25
More info on JBoss Fuse…
https://www.redhat.com/products/jbossenterprisemiddleware/fuse/
http://www.jboss.org/products/fuse
Demo
Management
RED HAT | ADD NAME28
RED HAT | ADD NAME29
Current issues with deployments
•  Installation
•  SSH, download, unpack, install, permissions, ENV var
•  Configuration
•  Container, individual apps/services, brokers, security
•  Upgrading
•  Install, configure, rollback
•  Introspection
•  Big picture statistics (JVM/OS memory usage, CPU)
•  JMX (jconsole, visualVM)
RED HAT | ADD NAME30
Clients aware of Topology
•  Brokers
•  failover:(tcp://host1:port1,tcp://host2:port2)
•  Camel endpoints
•  from(“jetty:http://22.33.44.55:8080/endpoint”)
•  to(“http4://11.22.33.44:9000/endpoint”)
•  Web service endpoints
•  Access a specific endpoint: http://22.33.44.55:9091/endpoint
RED HAT | ADD NAME31
Current best practices
•  Use templates for configuration w/ template engine
•  Puppet/Chef and/or Capistrano/Ansible
•  Store configuration (templates + values) in SCM
•  Separate configuration from binary deployments
•  Verifiable build and release process
RED HAT | ADD NAME32
•  Simplifies deployments
•  Provides management tools for centralized
configuration
•  Visualize your middleware with HawtIO
•  Polycontainer
•  Blurs the line of PaaS
http://fabric8.io
RED HAT | ADD NAME33
•  Provides cluster capabilities, coordination
•  Service discovery, load balancing, failover
•  Deploy to cloud (IaaS, PaaS)
•  Supported as JBoss Fuse (managed)
•  fabric8 1.0 is in Fuse 6.1
•  1.1 about to be released
•  RC1 released 6/10
http://fabric8.io
RED HAT | ADD NAME34
fabric8 1.1 release
•  Java Container
•  Tomcat, TomEE, Jetty
•  Spring Boot
•  fabric:watch * with various containers
•  Profile import/export
•  fabric8 maven plugin enhancements
RED HAT | ADD NAME35
Architecture
Clustered Registry
Agent
Agent
Zookeeper
Agent
Zookeeper
Agent
Zookeeper
Version 1.0
Profile CXFProfile Camel
Profile Default
Features Configuration
Registry Content
containers that form an “ensemble”
Pulls	
  profile	
  data	
  
Registers	
  /	
  Listens	
  for	
  changes	
  
RED HAT | ADD NAME36
Core concepts
•  Fabric registry
•  Holds all configuration data
•  Runtime registry for looking up distributed services
•  Profile
•  Describes the container set up
•  Features, Bundles, ConfigAdmin PIDs, system properties
•  Hierarchical structure
•  Container versioning
•  Agent
•  Runs on each container
•  Communicates with registry to make sure container provisioned
correctly
RED HAT | ADD NAME37
How’s fabric8 different than Puppet/Chef?
•  Middleware centric
•  Container agnostic
•  Deep knowledge about the running processes
•  Consistent configuration
•  Visualizations
•  Versioning built in, upgrades, rollbacks, selective
upgrade, etc
•  Use puppet/chef to provision your machines, use
fabric8 to provision and manage your middleware/
apps
RED HAT | ADD NAME38
Fuse Management Console
RED HAT | ADD NAME39
HawtIO http://hawt.io
RED HAT | ADD NAME40
HawtIO http://hawt.io
RED HAT | ADD NAME41
FuFuse Management Console
Demo
Continuous Delivery
RED HAT | ADD NAME44
Continuous Delivery
•  Builds on continuous integration
•  Establish a concrete pipeline to production
•  Build/Test/Release often!
•  Bottlenecks?
•  Involves Dev and Ops to be successful
•  Every build is a “release candidate”
RED HAT | ADD NAME45
Automate everything!
•  Developers
•  Unit tests
•  Integration tests
•  Builds
•  Deployments in dev
•  Operations
•  VMs
•  Provisioning software
•  Deployments in QA/UAT/PROD
RED HAT | ADD NAME46
Tools for a CD pipeline
•  Puppet/Chef to provision VMs
•  Git for SCM
•  Gerrit/Gitlab for code reviews
•  Maven
•  Jenkins + plugins
•  and of course… Fabric8!
•  What’s this Docker thingy?
RED HAT | ADD NAME47
Fabric8 maven plugin
•  fabric8:deploy
•  fabric8:zip
•  fabric8:aggregate-zip
•  fabric8:branch
•  fabric8:script (for karaf only)
•  http://fabric8.io/gitbook/mavenPlugin.html
RED HAT | ADD NAME48
Sample flow
•  Check your code in
•  Gerrit for code reviews
•  Jenkins for build + CD pipeline
•  Use fabric8:zip to deploy profiles to Maven repo
•  Use fabric8:branch to automate deploying multiple
profiles to QA/UAT/PROD
•  Can use profile-import to manually import zips
•  Build the binary once!
Demo
Containers
RED HAT | ADD NAME51
Docker
•  http://docker.io
•  Open source
•  Lightweight VEs
•  Linux containers (LXC)
•  Portable packaging
•  Versioned
•  Repositories
RED HAT | ADD NAME52
How different than VMs?
RED HAT | ADD NAME53
Fabric8 Docker support
•  Docker images
•  Build docker containers for your java apps
•  Flat classpath
•  Microservices
Demo
OpenShift PaaS
RED HAT | ADD NAME56
What is OpenShift?
Red Hat’s free platform as a service for applications in the cloud.
RED HAT | ADD NAME57
What’s supported?
RED HAT | ADD NAME58
Flavors
origin
Public
Cloud
Service
On-
premise
or Private
Cloud
Software
Open
Source
Project
RED HAT | ADD NAME59
Terminology
l  Broker – Management host, orchestration of Nodes
l  Node – Compute host containing Gears
l  Gear – Allocation of fixed memory, compute, and
storage resources for running applications
l  Cartridge – A technology/framework (PHP, Perl, Java/
JEE, Ruby, Python, MySQL, etc.) to build applications
l  Application – Instantiation of a Cartridge
l  Client Tools – CLI, Eclipse Plugin, Web Console,
Java API, REST API
RED HAT | ADD NAME60
xPaaS/iPaaS
l  xPaaS
-  Cartridges for Entire JBoss & Fuse Portfolio
-  EAP and EWS Enterprise Cartridges Today
-  Several Community Cartridges Available Today
l  iPaaS
-  Integration PaaS
-  Fuse/Fabric Cartridge
RED HAT | ADD NAME61
More Info
http://fabric8.io
http://hawt.io
http://docker.io
http://jboss.org/products/fuse
http://activemq.apache.org
http://camel.apache.org
RED HAT | ADD NAME62
Questions?
http://christianposta.com/blog
@christianposta
christian@redhat.com
1 of 62

Recommended

JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt... by
JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt...JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt...
JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt...Redis Labs
318 views24 slides
Best Practices for Middleware and Integration Architecture Modernization with... by
Best Practices for Middleware and Integration Architecture Modernization with...Best Practices for Middleware and Integration Architecture Modernization with...
Best Practices for Middleware and Integration Architecture Modernization with...Claus Ibsen
1.5K views71 slides
Building flexible ETL pipelines with Apache Camel on Quarkus by
Building flexible ETL pipelines with Apache Camel on QuarkusBuilding flexible ETL pipelines with Apache Camel on Quarkus
Building flexible ETL pipelines with Apache Camel on QuarkusIvelin Yanev
396 views14 slides
Prometheus Overview by
Prometheus OverviewPrometheus Overview
Prometheus OverviewBrian Brazil
34.1K views19 slides
IBM Integration Bus High Availability Overview by
IBM Integration Bus High Availability OverviewIBM Integration Bus High Availability Overview
IBM Integration Bus High Availability OverviewPeter Broadhurst
25.9K views11 slides
IBM Integration Bus & WebSphere MQ - High Availability & Disaster Recovery by
IBM Integration Bus & WebSphere MQ - High Availability & Disaster RecoveryIBM Integration Bus & WebSphere MQ - High Availability & Disaster Recovery
IBM Integration Bus & WebSphere MQ - High Availability & Disaster RecoveryRob Convery
9.8K views59 slides

More Related Content

What's hot

Thrift vs Protocol Buffers vs Avro - Biased Comparison by
Thrift vs Protocol Buffers vs Avro - Biased ComparisonThrift vs Protocol Buffers vs Avro - Biased Comparison
Thrift vs Protocol Buffers vs Avro - Biased ComparisonIgor Anishchenko
240.8K views51 slides
StarlingX - A Platform for the Distributed Edge | Ildiko Vancsa by
StarlingX - A Platform for the Distributed Edge | Ildiko VancsaStarlingX - A Platform for the Distributed Edge | Ildiko Vancsa
StarlingX - A Platform for the Distributed Edge | Ildiko VancsaVietnam Open Infrastructure User Group
143 views28 slides
Kafka at Scale: Multi-Tier Architectures by
Kafka at Scale: Multi-Tier ArchitecturesKafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier ArchitecturesTodd Palino
13.4K views33 slides
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF) by
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)Peter Lubbers
27.4K views101 slides
Prometheus: What is is, what is new, what is coming by
Prometheus: What is is, what is new, what is comingPrometheus: What is is, what is new, what is coming
Prometheus: What is is, what is new, what is comingJulien Pivotto
42 views27 slides
Introduction to Docker on AWS by
Introduction to Docker on AWSIntroduction to Docker on AWS
Introduction to Docker on AWSAmazon Web Services
1.3K views64 slides

What's hot(20)

Thrift vs Protocol Buffers vs Avro - Biased Comparison by Igor Anishchenko
Thrift vs Protocol Buffers vs Avro - Biased ComparisonThrift vs Protocol Buffers vs Avro - Biased Comparison
Thrift vs Protocol Buffers vs Avro - Biased Comparison
Igor Anishchenko240.8K views
Kafka at Scale: Multi-Tier Architectures by Todd Palino
Kafka at Scale: Multi-Tier ArchitecturesKafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier Architectures
Todd Palino13.4K views
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF) by Peter Lubbers
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
HTML5 Real Time and WebSocket Code Lab (SFHTML5, GTUGSF)
Peter Lubbers27.4K views
Prometheus: What is is, what is new, what is coming by Julien Pivotto
Prometheus: What is is, what is new, what is comingPrometheus: What is is, what is new, what is coming
Prometheus: What is is, what is new, what is coming
Julien Pivotto42 views
Practical learnings from running thousands of Flink jobs by Flink Forward
Practical learnings from running thousands of Flink jobsPractical learnings from running thousands of Flink jobs
Practical learnings from running thousands of Flink jobs
Flink Forward268 views
Scalable and Available, Patterns for Success by Derek Collison
Scalable and Available, Patterns for SuccessScalable and Available, Patterns for Success
Scalable and Available, Patterns for Success
Derek Collison20.2K views
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013 by mumrah
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
mumrah61.3K views
Streaming all over the world Real life use cases with Kafka Streams by confluent
Streaming all over the world  Real life use cases with Kafka StreamsStreaming all over the world  Real life use cases with Kafka Streams
Streaming all over the world Real life use cases with Kafka Streams
confluent566 views
CKA Certified Kubernetes Administrator Notes by Adnan Rashid
CKA Certified Kubernetes Administrator Notes CKA Certified Kubernetes Administrator Notes
CKA Certified Kubernetes Administrator Notes
Adnan Rashid1.6K views
Building an Active-Active IBM MQ System by matthew1001
Building an Active-Active IBM MQ SystemBuilding an Active-Active IBM MQ System
Building an Active-Active IBM MQ System
matthew1001383 views
Microservices for Application Modernisation by Ajay Kumar Uppal
Microservices for Application ModernisationMicroservices for Application Modernisation
Microservices for Application Modernisation
Ajay Kumar Uppal226 views
IBM Cloud Pak for Integration 2020.2.1 installation by khawkwf
IBM Cloud Pak for Integration 2020.2.1 installation IBM Cloud Pak for Integration 2020.2.1 installation
IBM Cloud Pak for Integration 2020.2.1 installation
khawkwf330 views
Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft by Akshata Sawant
Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft
Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft
Akshata Sawant902 views
WebSphere App Server vs JBoss vs WebLogic vs Tomcat by WASdev Community
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WASdev Community5.8K views
Integrating PostgreSql with RabbitMQ by Gavin Roy
Integrating PostgreSql with RabbitMQIntegrating PostgreSql with RabbitMQ
Integrating PostgreSql with RabbitMQ
Gavin Roy15.8K views
NATS Streaming - an alternative to Apache Kafka? by Anton Zadorozhniy
NATS Streaming - an alternative to Apache Kafka?NATS Streaming - an alternative to Apache Kafka?
NATS Streaming - an alternative to Apache Kafka?
Anton Zadorozhniy4.6K views

Similar to DevOps with ActiveMQ, Camel, Fabric8, and HawtIO

Migrating Java EE applications to IBM Bluemix Platform-as-a-Service by
Migrating Java EE applications to IBM Bluemix Platform-as-a-ServiceMigrating Java EE applications to IBM Bluemix Platform-as-a-Service
Migrating Java EE applications to IBM Bluemix Platform-as-a-ServiceDavid Currie
21.7K views34 slides
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou... by
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...Jack-Junjie Cai
1K views34 slides
.NET Cloud-Native Bootcamp- Los Angeles by
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los AngelesVMware Tanzu
450 views80 slides
DevNexus 2015 by
DevNexus 2015DevNexus 2015
DevNexus 2015Christian Posta
1.2K views38 slides
ITB2017 - Keynote by
ITB2017 - KeynoteITB2017 - Keynote
ITB2017 - KeynoteOrtus Solutions, Corp
995 views100 slides
Cloud Foundry: Hands-on Deployment Workshop by
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopManuel Garcia
2.8K views49 slides

Similar to DevOps with ActiveMQ, Camel, Fabric8, and HawtIO (20)

Migrating Java EE applications to IBM Bluemix Platform-as-a-Service by David Currie
Migrating Java EE applications to IBM Bluemix Platform-as-a-ServiceMigrating Java EE applications to IBM Bluemix Platform-as-a-Service
Migrating Java EE applications to IBM Bluemix Platform-as-a-Service
David Currie21.7K views
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou... by Jack-Junjie Cai
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...
Migrating Java EE applications to IBM Bluemix platform as-a-service (CloudFou...
Jack-Junjie Cai1K views
.NET Cloud-Native Bootcamp- Los Angeles by VMware Tanzu
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu450 views
Cloud Foundry: Hands-on Deployment Workshop by Manuel Garcia
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment Workshop
Manuel Garcia2.8K views
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018 by Mandi Walls
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Habitat talk at CodeMonsters Sofia, Bulgaria Nov 27 2018
Mandi Walls329 views
Intro to Docker October 2013 by Docker, Inc.
Intro to Docker October 2013Intro to Docker October 2013
Intro to Docker October 2013
Docker, Inc.933 views
SOLID Programming with Portable Class Libraries by Vagif Abilov
SOLID Programming with Portable Class LibrariesSOLID Programming with Portable Class Libraries
SOLID Programming with Portable Class Libraries
Vagif Abilov949 views
Staying on Topic - Invoke OpenFaaS functions with Kafka by Richard Gee
Staying on Topic - Invoke OpenFaaS functions with KafkaStaying on Topic - Invoke OpenFaaS functions with Kafka
Staying on Topic - Invoke OpenFaaS functions with Kafka
Richard Gee379 views
Benefits of an Open environment with Wakanda by Alexandre Morgaut
Benefits of an Open environment with WakandaBenefits of an Open environment with Wakanda
Benefits of an Open environment with Wakanda
Alexandre Morgaut2.2K views
12 Factor App Methodology by laeshin park
12 Factor App Methodology12 Factor App Methodology
12 Factor App Methodology
laeshin park2.3K views
.NET Cloud-Native Bootcamp by VMware Tanzu
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
VMware Tanzu753 views
12 Factor Scala by Joe Kutner
12 Factor Scala12 Factor Scala
12 Factor Scala
Joe Kutner1.1K views
Roll your own FOSS cloud hosting by Russell Searle
Roll your own FOSS cloud hostingRoll your own FOSS cloud hosting
Roll your own FOSS cloud hosting
Russell Searle1.5K views
DevOps Unleashed: Strategies that Speed Deployments by ForgeRock
DevOps Unleashed: Strategies that Speed DeploymentsDevOps Unleashed: Strategies that Speed Deployments
DevOps Unleashed: Strategies that Speed Deployments
ForgeRock1.1K views
Dart Past Your Competition by Getting Your Digital Experience into Market Fas... by Perficient, Inc.
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Perficient, Inc.542 views
Phase2 - Large Drupal Multisites (GTA Case Study) by Robert Bates
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
Robert Bates178 views

More from Christian Posta

Understanding Wireguard, TLS and Workload Identity by
Understanding Wireguard, TLS and Workload IdentityUnderstanding Wireguard, TLS and Workload Identity
Understanding Wireguard, TLS and Workload IdentityChristian Posta
268 views51 slides
Compliance and Zero Trust Ambient Mesh by
Compliance and Zero Trust Ambient MeshCompliance and Zero Trust Ambient Mesh
Compliance and Zero Trust Ambient MeshChristian Posta
144 views40 slides
Cilium + Istio with Gloo Mesh by
Cilium + Istio with Gloo MeshCilium + Istio with Gloo Mesh
Cilium + Istio with Gloo MeshChristian Posta
598 views40 slides
Multi-cluster service mesh with GlooMesh by
Multi-cluster service mesh with GlooMeshMulti-cluster service mesh with GlooMesh
Multi-cluster service mesh with GlooMeshChristian Posta
1.2K views28 slides
Multicluster Kubernetes and Service Mesh Patterns by
Multicluster Kubernetes and Service Mesh PatternsMulticluster Kubernetes and Service Mesh Patterns
Multicluster Kubernetes and Service Mesh PatternsChristian Posta
1.4K views43 slides
Cloud-Native Application Debugging with Envoy and Service Mesh by
Cloud-Native Application Debugging with Envoy and Service MeshCloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service MeshChristian Posta
928 views79 slides

More from Christian Posta(20)

Understanding Wireguard, TLS and Workload Identity by Christian Posta
Understanding Wireguard, TLS and Workload IdentityUnderstanding Wireguard, TLS and Workload Identity
Understanding Wireguard, TLS and Workload Identity
Christian Posta268 views
Compliance and Zero Trust Ambient Mesh by Christian Posta
Compliance and Zero Trust Ambient MeshCompliance and Zero Trust Ambient Mesh
Compliance and Zero Trust Ambient Mesh
Christian Posta144 views
Multi-cluster service mesh with GlooMesh by Christian Posta
Multi-cluster service mesh with GlooMeshMulti-cluster service mesh with GlooMesh
Multi-cluster service mesh with GlooMesh
Christian Posta1.2K views
Multicluster Kubernetes and Service Mesh Patterns by Christian Posta
Multicluster Kubernetes and Service Mesh PatternsMulticluster Kubernetes and Service Mesh Patterns
Multicluster Kubernetes and Service Mesh Patterns
Christian Posta1.4K views
Cloud-Native Application Debugging with Envoy and Service Mesh by Christian Posta
Cloud-Native Application Debugging with Envoy and Service MeshCloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service Mesh
Christian Posta928 views
Kubernetes Ingress to Service Mesh (and beyond!) by Christian Posta
Kubernetes Ingress to Service Mesh (and beyond!)Kubernetes Ingress to Service Mesh (and beyond!)
Kubernetes Ingress to Service Mesh (and beyond!)
Christian Posta614 views
The Truth About the Service Mesh Data Plane by Christian Posta
The Truth About the Service Mesh Data PlaneThe Truth About the Service Mesh Data Plane
The Truth About the Service Mesh Data Plane
Christian Posta2.6K views
Deep Dive: Building external auth plugins for Gloo Enterprise by Christian Posta
Deep Dive: Building external auth plugins for Gloo EnterpriseDeep Dive: Building external auth plugins for Gloo Enterprise
Deep Dive: Building external auth plugins for Gloo Enterprise
Christian Posta719 views
Role of edge gateways in relation to service mesh adoption by Christian Posta
Role of edge gateways in relation to service mesh adoptionRole of edge gateways in relation to service mesh adoption
Role of edge gateways in relation to service mesh adoption
Christian Posta1.1K views
Navigating the service mesh landscape with Istio, Consul Connect, and Linkerd by Christian Posta
Navigating the service mesh landscape with Istio, Consul Connect, and LinkerdNavigating the service mesh landscape with Istio, Consul Connect, and Linkerd
Navigating the service mesh landscape with Istio, Consul Connect, and Linkerd
Christian Posta5K views
Chaos Debugging for Microservices by Christian Posta
Chaos Debugging for MicroservicesChaos Debugging for Microservices
Chaos Debugging for Microservices
Christian Posta694 views
Leveraging Envoy Proxy and GraphQL to Lower the Risk of Monolith to Microserv... by Christian Posta
Leveraging Envoy Proxy and GraphQL to Lower the Risk of Monolith to Microserv...Leveraging Envoy Proxy and GraphQL to Lower the Risk of Monolith to Microserv...
Leveraging Envoy Proxy and GraphQL to Lower the Risk of Monolith to Microserv...
Christian Posta2.8K views
Service-mesh options with Linkerd, Consul, Istio and AWS AppMesh by Christian Posta
Service-mesh options with Linkerd, Consul, Istio and AWS AppMeshService-mesh options with Linkerd, Consul, Istio and AWS AppMesh
Service-mesh options with Linkerd, Consul, Istio and AWS AppMesh
Christian Posta2.8K views
Intro Istio and what's new Istio 1.1 by Christian Posta
Intro Istio and what's new Istio 1.1Intro Istio and what's new Istio 1.1
Intro Istio and what's new Istio 1.1
Christian Posta852 views
API Gateways are going through an identity crisis by Christian Posta
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
Christian Posta1.8K views
KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh... by Christian Posta
KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh...KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh...
KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh...
Christian Posta1.9K views
PHX DevOps Days: Service Mesh Landscape by Christian Posta
PHX DevOps Days: Service Mesh LandscapePHX DevOps Days: Service Mesh Landscape
PHX DevOps Days: Service Mesh Landscape
Christian Posta736 views
API World: The service-mesh landscape by Christian Posta
API World: The service-mesh landscapeAPI World: The service-mesh landscape
API World: The service-mesh landscape
Christian Posta851 views

Recently uploaded

JioEngage_Presentation.pptx by
JioEngage_Presentation.pptxJioEngage_Presentation.pptx
JioEngage_Presentation.pptxadmin125455
6 views4 slides
FIMA 2023 Neo4j & FS - Entity Resolution.pptx by
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
17 views26 slides
Ports-and-Adapters Architecture for Embedded HMI by
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMIBurkhard Stubert
26 views19 slides
SAP FOR TYRE INDUSTRY.pdf by
SAP FOR TYRE INDUSTRY.pdfSAP FOR TYRE INDUSTRY.pdf
SAP FOR TYRE INDUSTRY.pdfVirendra Rai, PMP
28 views3 slides
Introduction to Gradle by
Introduction to GradleIntroduction to Gradle
Introduction to GradleJohn Valentino
5 views7 slides
ShortStory_qlora.pptx by
ShortStory_qlora.pptxShortStory_qlora.pptx
ShortStory_qlora.pptxpranathikrishna22
5 views10 slides

Recently uploaded(20)

JioEngage_Presentation.pptx by admin125455
JioEngage_Presentation.pptxJioEngage_Presentation.pptx
JioEngage_Presentation.pptx
admin1254556 views
FIMA 2023 Neo4j & FS - Entity Resolution.pptx by Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j17 views
Ports-and-Adapters Architecture for Embedded HMI by Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Burkhard Stubert26 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller41 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action by Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok15 views
AI and Ml presentation .pptx by FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8713 views
predicting-m3-devopsconMunich-2023-v2.pptx by Tier1 app
predicting-m3-devopsconMunich-2023-v2.pptxpredicting-m3-devopsconMunich-2023-v2.pptx
predicting-m3-devopsconMunich-2023-v2.pptx
Tier1 app9 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 views
Introduction to Git Source Control by John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino6 views
Quality Engineer: A Day in the Life by John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino7 views
Sprint 226 by ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ10 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
Understanding HTML terminology by artembondar5
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminology
artembondar56 views
Fleet Management Software in India by Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable12 views

DevOps with ActiveMQ, Camel, Fabric8, and HawtIO

  • 1. DevOps with ActiveMQ, Camel, Fabric8 and HawtIO Christian Posta 6/11/14
  • 2. RED HAT | ADD NAME2 Agenda •  DevOps… What is that? •  Enterprise Integration •  Automated Delivery •  To the Cloud
  • 3. RED HAT | ADD NAME3 Your speaker Christian Posta http://christianposta.com/blog @christianposta christian@redhat.com •  Principal Middleware Specialist •  Based in Phoenix, AZ •  Committer on Apache Camel, ActiveMQ, Apollo, PMC on ActiveMQ •  Author: Essential Camel Components DZone Refcard
  • 4. Shorten the lifecycle from inception to production so that the business can make money! Developers and Operations must cooperate. Rely on tools/frameworks to automate, automate, and automate.
  • 6. RED HAT | ADD NAME6 “WTF is DevOps?” •  IT is a core competency •  Set of principles •  There’s more to applications than coding! •  Feedback •  Repetition •  Communication •  People!
  • 7. RED HAT | ADD NAME7 Shorten the feedback loop •  Developers •  QA •  Operations •  Business •  Customers!!!
  • 9. RED HAT | ADD NAME9 Integration is easy!
  • 10. RED HAT | ADD NAME10 •  Off the shelf? Home Grown? Acquisition? •  Platforms •  Protocols / Data Formats •  Data Formats •  Timing •  Organizational mismatch Why is integration hard?
  • 11. RED HAT | ADD NAME11 •  Light-weight integration library •  Domain Specific Language •  Enterprise Integration Patterns •  Components •  Routing and Mediation (like an ESB?) •  Runs in any container (or stand alone) What is Apache Camel?
  • 12. RED HAT | ADD NAME12 •  Message Routing •  Transformation •  Aggregation •  Splitting •  Resequencer •  Routing Slip •  Enricher •  All 65 from the book! Enterprise Integration Patterns
  • 13. RED HAT | ADD NAME13 Components •  ActiveMQ, Websphere, Weblogic (JMS) •  AMQP •  ATOM feeds •  AWS (S3, SQS, SNS, others) •  Bean •  Cache (EHCache) •  CXF (JAX-WS, JAX-RS) •  EJB •  Drools •  File •  FTP/SFTP •  Google App Engine •  GMail •  HTTP •  IRC •  jclouds •  JDBC •  Jetty •  Twitter •  MQTT •  MyBatis •  JPA •  Spring Integration •  Spring Web Services http://camel.apache.org/components.html To see list of all components!!
  • 14. RED HAT | ADD NAME14 Java DSL public class OrderProcessorRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { from(“activemq:orders”) .choice() .when(header(“customer-rating”).isEqualTo(“gold”)) .to(“ibmmq:topic:specialCustomer”) .otherwise() .to(“ftp://user@host/orders/regularCustomers”) .end() .log(“received new order ${body.orderId}”) .to(“ibatis:storeOrder?statementType=Insert”); } }
  • 15. RED HAT | ADD NAME15 Spring XML DSL <route id=“processOrders”> <from uri=“activemq:orders”/> <choice> <when> <simple>${header.customer-rating} == ‘gold’</simple> <to uri=“ibmmq:topic:specialCustomer”> </when> <otherwise> <to uri=“ftp://user@host/orders/regularCustomers” /> </otherwise> </choice> <log message=“received new order ${body.orderId}”/> <to uri=“ibatis:storeOrder?statementType=Insert”/> </route>
  • 16. RED HAT | ADD NAME16 •  Batch file transfers •  Shared Database •  RPC •  Messaging Integration Options
  • 17. RED HAT | ADD NAME17 •  Asynchronous architectures •  Reliable message passing •  Loose coupling •  Heterogeneous integration •  Fault tolerant •  Scalable •  Real-time data Why messaging?
  • 18. RED HAT | ADD NAME18 •  The most widely used open-source messaging broker •  Highly configurable •  Friendly license (no license fees!) •  Vibrant community (TLP) •  Backbone of top enterprises in retail, e-retail, financial services, shipping, many others! Apache ActiveMQ
  • 19. RED HAT | ADD NAME19 •  High performance •  High availability •  Light-weight •  Multi-protocol (AMQP, MQTT, STOMP) •  Multi-transport (TCP,SSL,WS,VM,HTTP) •  JMS compliant •  Supported in production by Red Hat! ActiveMQ Features
  • 20. RED HAT | ADD NAME20 Network of Master/Slave
  • 21. RED HAT | ADD NAME21 High-performance, real-time systems Head Office STORE STORE outlet shop 24 houra STORE shop Broker Clusters •  Clustering, Network of Brokers •  Client-aware failover •  Master/Slave HA •  Fabric
  • 22. RED HAT | ADD NAME22 Ingestion for BigData Architecture Broker Cluster Broker Cluster Web Servers Web Servers Web Servers Web Servers Camel HTTP Log Reader Camel HTTP Log Reader Camel HTTP Log Reader Camel HTTP Log Reader ESB ESB Camel HBase/HDFS Camel Hbase/HDFS HDFS
  • 23. RED HAT | ADD NAME23 Integration Everywhere – Internet of Things Connecting Things • mobile devices • meters • industrial controls • smart buildings • asset tracking • traffic control • monitors • sensors • actuators Broker Clusters Arrival Airport 1
  • 24. RED HAT | ADD NAME24 JBoss Fuse Integrate Everything!
  • 25. RED HAT | ADD NAME25 More info on JBoss Fuse… https://www.redhat.com/products/jbossenterprisemiddleware/fuse/ http://www.jboss.org/products/fuse
  • 26. Demo
  • 28. RED HAT | ADD NAME28
  • 29. RED HAT | ADD NAME29 Current issues with deployments •  Installation •  SSH, download, unpack, install, permissions, ENV var •  Configuration •  Container, individual apps/services, brokers, security •  Upgrading •  Install, configure, rollback •  Introspection •  Big picture statistics (JVM/OS memory usage, CPU) •  JMX (jconsole, visualVM)
  • 30. RED HAT | ADD NAME30 Clients aware of Topology •  Brokers •  failover:(tcp://host1:port1,tcp://host2:port2) •  Camel endpoints •  from(“jetty:http://22.33.44.55:8080/endpoint”) •  to(“http4://11.22.33.44:9000/endpoint”) •  Web service endpoints •  Access a specific endpoint: http://22.33.44.55:9091/endpoint
  • 31. RED HAT | ADD NAME31 Current best practices •  Use templates for configuration w/ template engine •  Puppet/Chef and/or Capistrano/Ansible •  Store configuration (templates + values) in SCM •  Separate configuration from binary deployments •  Verifiable build and release process
  • 32. RED HAT | ADD NAME32 •  Simplifies deployments •  Provides management tools for centralized configuration •  Visualize your middleware with HawtIO •  Polycontainer •  Blurs the line of PaaS http://fabric8.io
  • 33. RED HAT | ADD NAME33 •  Provides cluster capabilities, coordination •  Service discovery, load balancing, failover •  Deploy to cloud (IaaS, PaaS) •  Supported as JBoss Fuse (managed) •  fabric8 1.0 is in Fuse 6.1 •  1.1 about to be released •  RC1 released 6/10 http://fabric8.io
  • 34. RED HAT | ADD NAME34 fabric8 1.1 release •  Java Container •  Tomcat, TomEE, Jetty •  Spring Boot •  fabric:watch * with various containers •  Profile import/export •  fabric8 maven plugin enhancements
  • 35. RED HAT | ADD NAME35 Architecture Clustered Registry Agent Agent Zookeeper Agent Zookeeper Agent Zookeeper Version 1.0 Profile CXFProfile Camel Profile Default Features Configuration Registry Content containers that form an “ensemble” Pulls  profile  data   Registers  /  Listens  for  changes  
  • 36. RED HAT | ADD NAME36 Core concepts •  Fabric registry •  Holds all configuration data •  Runtime registry for looking up distributed services •  Profile •  Describes the container set up •  Features, Bundles, ConfigAdmin PIDs, system properties •  Hierarchical structure •  Container versioning •  Agent •  Runs on each container •  Communicates with registry to make sure container provisioned correctly
  • 37. RED HAT | ADD NAME37 How’s fabric8 different than Puppet/Chef? •  Middleware centric •  Container agnostic •  Deep knowledge about the running processes •  Consistent configuration •  Visualizations •  Versioning built in, upgrades, rollbacks, selective upgrade, etc •  Use puppet/chef to provision your machines, use fabric8 to provision and manage your middleware/ apps
  • 38. RED HAT | ADD NAME38 Fuse Management Console
  • 39. RED HAT | ADD NAME39 HawtIO http://hawt.io
  • 40. RED HAT | ADD NAME40 HawtIO http://hawt.io
  • 41. RED HAT | ADD NAME41 FuFuse Management Console
  • 42. Demo
  • 44. RED HAT | ADD NAME44 Continuous Delivery •  Builds on continuous integration •  Establish a concrete pipeline to production •  Build/Test/Release often! •  Bottlenecks? •  Involves Dev and Ops to be successful •  Every build is a “release candidate”
  • 45. RED HAT | ADD NAME45 Automate everything! •  Developers •  Unit tests •  Integration tests •  Builds •  Deployments in dev •  Operations •  VMs •  Provisioning software •  Deployments in QA/UAT/PROD
  • 46. RED HAT | ADD NAME46 Tools for a CD pipeline •  Puppet/Chef to provision VMs •  Git for SCM •  Gerrit/Gitlab for code reviews •  Maven •  Jenkins + plugins •  and of course… Fabric8! •  What’s this Docker thingy?
  • 47. RED HAT | ADD NAME47 Fabric8 maven plugin •  fabric8:deploy •  fabric8:zip •  fabric8:aggregate-zip •  fabric8:branch •  fabric8:script (for karaf only) •  http://fabric8.io/gitbook/mavenPlugin.html
  • 48. RED HAT | ADD NAME48 Sample flow •  Check your code in •  Gerrit for code reviews •  Jenkins for build + CD pipeline •  Use fabric8:zip to deploy profiles to Maven repo •  Use fabric8:branch to automate deploying multiple profiles to QA/UAT/PROD •  Can use profile-import to manually import zips •  Build the binary once!
  • 49. Demo
  • 51. RED HAT | ADD NAME51 Docker •  http://docker.io •  Open source •  Lightweight VEs •  Linux containers (LXC) •  Portable packaging •  Versioned •  Repositories
  • 52. RED HAT | ADD NAME52 How different than VMs?
  • 53. RED HAT | ADD NAME53 Fabric8 Docker support •  Docker images •  Build docker containers for your java apps •  Flat classpath •  Microservices
  • 54. Demo
  • 56. RED HAT | ADD NAME56 What is OpenShift? Red Hat’s free platform as a service for applications in the cloud.
  • 57. RED HAT | ADD NAME57 What’s supported?
  • 58. RED HAT | ADD NAME58 Flavors origin Public Cloud Service On- premise or Private Cloud Software Open Source Project
  • 59. RED HAT | ADD NAME59 Terminology l  Broker – Management host, orchestration of Nodes l  Node – Compute host containing Gears l  Gear – Allocation of fixed memory, compute, and storage resources for running applications l  Cartridge – A technology/framework (PHP, Perl, Java/ JEE, Ruby, Python, MySQL, etc.) to build applications l  Application – Instantiation of a Cartridge l  Client Tools – CLI, Eclipse Plugin, Web Console, Java API, REST API
  • 60. RED HAT | ADD NAME60 xPaaS/iPaaS l  xPaaS -  Cartridges for Entire JBoss & Fuse Portfolio -  EAP and EWS Enterprise Cartridges Today -  Several Community Cartridges Available Today l  iPaaS -  Integration PaaS -  Fuse/Fabric Cartridge
  • 61. RED HAT | ADD NAME61 More Info http://fabric8.io http://hawt.io http://docker.io http://jboss.org/products/fuse http://activemq.apache.org http://camel.apache.org
  • 62. RED HAT | ADD NAME62 Questions? http://christianposta.com/blog @christianposta christian@redhat.com