2. 2 / 33
(C) 2016 Hopla! Software & Subsidiaries
About Us
• Only Docker Value-Added Master Reseller in Spain,
Portugal and LATAM
• Only distributor for EDB in Spain, Italy & LATAM
• Presence in France, Spain, Portugal, Mexico &
Colombia
• We provide 24x7 Support in Spanish for:
• Docker
• PostgreSQL – EDB
• 12 Engineers
3. 3 / 33
(C) 2016 Hopla! Software & Subsidiaries
SUPPORT
●
Break & Fix support L
1-2 ; local lang
●
24x7 local languages
●
Proactive support w/
extensive
monitoring
LICENSES /
SOLUTIONS
●
Subscriptions:
EnterpriseDB,
Docker, Bacula
●
Management,
Monitoring &
Tooling
TRAINING
●
Official + custom
EDB & Docker
●
Custom advanced
Enterprise training
TOOLS
●
Migration solutions
●
Architectural
consulting &
re-engineering
●
Advanced / custom
functionalities
What we do
6. 6 / 33
(C) 2016 Hopla! Software & Subsidiaries
Software Containers and Docker
Containers: Wikipedia
• Software Containers:
Operating-system-level virtualization is a server virtualization
method in which the kernel of an operating system allows the existence of
multiple isolated user-space instances, instead of just one.
Examples: chroot, LXC, OpenVZ, Solaris Containers (Zones), FreeBSD Jail,
VMWare ThinApp
• Docker containers
Designed to wrap up a piece of software in a complete filesystem that
contains everything it needs to run: code, runtime, system tools, system
libraries, anything you can install on a server. This guarantees that it will
always run the same, regardless of the environment it is running in.
7. 7 / 33
(C) 2016 Hopla! Software & Subsidiaries
Container Technology
Used Technologies
• cgroups
• Kernel namespaces
• PID
• NET
• IPC
• MNT
• UTS: Unix Timesharing System
• Union Filesystems:
• AUFS
• Btrfs
• Vfs
• DeviceMapper
• Container format: libcontainer, but some other will be
supported: BSD Jails or Solaris Zones
8. 8 / 33
(C) 2016 Hopla! Software & Subsidiaries
Motivation: Microservices and SOA
9. 9 / 33
(C) 2016 Hopla! Software & Subsidiaries
Applications: Paradigm change
• Applications are no longer monolithic
• SOA implies multiple app stacks
• Services are decoupled
• Developers focused on Functionality
• Scalability
10. 10 / 33
(C) 2016 Hopla! Software & Subsidiaries
Multiple Technologies, A Common
Problem
17. 17 / 33
(C) 2016 Hopla! Software & Subsidiaries
Developers IT Operations
BUILD
Development Environments
SHIP
Secure Content & Collaboration
RUN
Deploy, Manage, Scale
Docker CaaS Overview
18. 18 / 33
(C) 2016 Hopla! Software & Subsidiaries
Introducing Docker Datacenter
Integrated, end-to-end platform for agile application
development and management in production
19. 19 / 33
(C) 2016 Hopla! Software & Subsidiaries
Docker Datacenter integrates with
existing enterprise systems
21. 21 / 33
(C) 2016 Hopla! Software & Subsidiaries
Integration: CI/CD
21
Developer
Version
control
1. Development 2. Test 3. Stage / Production
QA / QE
SysadminProject Management
24. 24 / 33
(C) 2016 Hopla! Software & Subsidiaries
Dockerizing an existing complex
application (detail)
• Remarkable elements
• Gateway to external services
• Proxy for controlled access to the Internet (i.e. restricted)
• Synchronizing gateway (w/ semaphore!)
• Centralized configuration
• User-controlled app-wide events
• Service Discovery … and consumption!
• Auto-register (declaratively) containers upon startup
• Containers can also register themselves
• ALL services are available in the catalog, and resolvable via
DNS. Non-standard ports are supported too – SRV [RFC 2782]
• Legacy services use the same mechanism
25. 25 / 33
(C) 2016 Hopla! Software & Subsidiaries
Dockerizing an existing complex
application (detail – cont.)
• Event-driven reconfiguration
• Central distributed KV stores config params
• Changes to configuration trigger reconfig actions
...and cluster-wide actions – management at scale!
e.g.: apply patches, reconfigure services
• Comms security with performance
• Hardware-accelerated flow separation till switches (VLAN)
• Kernel-enforced/accelerated private network per application
• Centrally-configured restricted access to the internet
• Service consumption only over trusted datapath
DR/BC-ready: multi-DC & auto-failover
26. Dockerization of Legacy Systems
Benefits: Cost Reduction
• 100 VMs Frontal Servers
• Apache2.2 on CentOS6-7; mpm-event[ILK]+php5-fpm 5.3
• 4GB de RAM average
• 2 or 4 vCPU
• 10GB minimal disk image (tipically 25GB)
• That makes 400GB RAM and 200 vCPU
• 5 VMs with 8vCPUs and 32GB RAM
• 60% RAM and 80% CPUs savings
27. 27 / 33
(C) 2016 Hopla! Software & Subsidiaries
Escalado Postgresql
Architecture and network
SELECTS
This demo shows
how a STATEFUL
application can be
managed and scaled
using containers.
Master Slave
Replication
Writes
28. 28 / 33
(C) 2016 Hopla! Software & Subsidiaries
Escalado Postgresql
One click scale
Scale in one click:
• Application Server
• DB Pool
• Horizontal DB Scale
AND…
Autoscale DB under several
configurable
parameters.
SELECTSELECT
Master Slave
Replication
Slave
Replication
29. 29 / 33
(C) 2016 Hopla! Software & Subsidiaries
Container Advantages
• BUSINESS:
• Time to Market.
• Faster development
cycles.
• More releases in less
time
• Scalability: 0,5s to
launch a new container