A presentation on how applying Cloud Architecture Patterns using Docker Swarm as orchestrator is possible to create reliable, resilient and scalable FIWARE platforms.
DockerCon US 2016 - Docker Networking deep diveMadhu Venugopal
Docker networking provides a networking fabric for containers called libnetwork that defines the container networking model and provides features like multi-host networking, service discovery, load balancing, and security. New features in Docker 1.12 include networking in swarm mode without an external key-value store, macvlan driver support, a gossip-based secure control plane, optional IPSec for the data plane, built-in DNS for service discovery and load balancing, and a routing mesh for edge routing.
This document introduces Docker networking and Docker Swarm mode. It discusses the different types of Docker networks including bridge, null, and host networks. It also covers multi-host networking using overlay networks. For Docker Swarm mode, it describes the key features including self-healing, self-organizing, blue-print deployment, load balancing using a routing mesh, and not requiring additional components for service discovery or load balancing. The document aims to provide an overview of these topics and includes examples.
My talk from the Mountain View Docker Meetup on Feb 24, 2016. It covers what Docker Swarm is, how to create a cluster, and then walks you through a sample app. Embedded links point to the public Github repo containing the sample app, as well as a series of Youtube videos showing how to reproduce the demo on your own.
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, DockerDocker, Inc.
Join SwarmKit maintainers Drew and Nishant as they showcase features that have made Swarm Mode even more powerful, without compromising the operational simplicity it was designed with. They will discuss the implementation of new features that streamline deployments, increase security, and reduce downtime. These substantial additions to Swarm Mode are completely transparent and straightforward to use, and users may not realize they're already benefiting from these improvements under the hood.
macvlan and ipvlan allow VMs and containers to have direct exposure to the host network by assigning them their own MAC/IP addresses without requiring a bridge. macvlan uses MAC addresses to separate traffic while ipvlan uses layer 3. Both are lighter weight than bridges. macvlan is commonly used in bridge mode to allow communication between VMs/containers on the same host, while ipvlan may be preferred when MAC limits are in place or for untrusted networks.
GopherCon 2017 - Writing Networking Clients in Go: The Design & Implementati...wallyqs
The NATS Go client is the canonical implementation of a client for the NATS Messaging System, and from the beginning it was designed for high performance. In this talk, we will cover its APIs and dissect how the client internal engine works to get the most out of Go to achieve maximum throughput.
Jim Jagielski discusses improvements to Apache HTTP Server 2.4 including enhanced performance, support for asynchronous I/O, additional multi-processing modules, and improved functionality for reverse proxy servers. Key enhancements to Apache's reverse proxy module mod_proxy include support for additional protocols like FastCGI and SCGI, improved load balancing capabilities, and an embedded administration interface.
Embedded Ansible allows users to run Ansible playbooks from within CloudForms. It installs and configures a headless Ansible Tower on the CloudForms appliance. To activate it, the "Embedded Ansible" role must be enabled. This will trigger the Ansible Tower setup which may take several minutes. Playbooks can then be run from services, buttons, control policies, or automate states. Logs are found under /var/log/tower. Potential issues can be troubleshooted by restarting services or reconfiguring credentials and secrets.
This document analyzes the performance of OpenVSwitch (OVS) using various tools. Key findings include:
- DPDK-based OVS achieves 9.9 Gbps throughput for a single flow on one core, far surpassing standard and Linux bridge OVS.
- Latency is lowest for direct NIC-NIC communication and increases for OVS and VM-based setups.
- The OVS kernel flow cache supports up to 200,000 flows but throughput degrades by 5% at 2,048 flows due to misses.
- Removing IPTables modules improves VM-OVS-VM throughput by up to 15%, and enabling VXLAN offload provides an additional 25
The document provides an overview of Docker networking as of version 17.06. It begins with introductions of the presenter and some key terminology used. It then discusses why container networking is needed and compares features of container and VM networking. The major components of Docker networking including network drivers, IPAM, Swarm networking, service discovery, and load balancing are outlined. Concepts of CNI/CNM standards and IP address management are explained. Examples of different network drivers such as bridge, overlay, macvlan are provided. The document also covers Docker networking concepts such as default networks, Swarm mode, service discovery, and load balancing. It concludes with some debugging commands and a reference slide.
Heart of the SwarmKit: Store, Topology & Object ModelDocker, Inc.
Heart of the SwarmKit: Store, Topology & Object Model by Aaron, Andrea, Stephen D (Docker)
Swarmkit repo - https://github.com/docker/swarmkit
Liveblogging: http://canopy.mirage.io/Liveblog/SwarmKitDDS2016
The document discusses Kubernetes networking concepts including pods, services, and ingress. It provides examples of how containers within pods communicate via Docker networking. It also explains how Kubernetes networking solves the problems of pod-to-pod, service-to-pod, and external-to-service communications using services, iptables, and kube-proxy. The document demonstrates creating a deployment, service, and ingress to expose an application externally via a load balancer.
This presentation, DEFEATING THE NETWORK SECURITY INFRASTRUCTURE v1.0.pdf, was made after some brainstorming
with some friends. The techniques used are not new and the tools readily available for download. The purpose of the discussion however
is to debate how internal enterprise resources might be (in)adversely exposed to the internet by in an insider using a combination of common techniques such as SSH and SSL.
This document discusses adding context support to the NATS client library. It begins with an overview of NATS and context in Go. It then describes enhancing the Subscription.NextMsg method to support context, avoiding blocking indefinitely. This allows building a RequestWithContext method for cancelling requests. The key steps are selecting on the subscription channel or context being done, and returning the context's error on cancellation. Learning from standard library patterns like validating contexts helps make the API clearer.
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...Docker, Inc.
Talk from Docker SF Meetup #50
Abstract:
Docker swarm mode enables users to manage their applications with service primitives. In this talk we demonstrate how to do service upgrades without impacting your application. The Healthcheck feature provides health indication for a container. Coming up in Docker 1.13 release, Docker Swarm can connect healthcheck result with load balancer to implement no-loss service upgrade.
Speaker Biographies:
Nishant Totla is a software engineer at Docker, and works on the core open source team. He is currently working on Docker SwarmKit and Docker Swarm. Prior to Docker, he was a PhD student at UC Berkeley, doing research on programming languages. In his spare time, he enjoys long-distance running, biking, and other outdoor activities. Nishant tweets at @nishanttotla.
Dongluo Chen is a software engineer at Docker focusing on orchestration and container development. Before Docker he was software engineer manager at Microsoft Azure building and automating global data centers. He worked at France Telecom (Orange) and the Ohio State University as research scientist in networking area.
Monitoring Large-scale Cloud Infrastructures with OpenNebulaNETWAYS
Efficient monitoring is crucial when managing your Cloud infrastructure. The metrics collected by OpenNebula can be used to trigger automatic scaling, or quickly detect failures to automatically restart virtual machines. During this talk, I will show how OpenNebula can be used to efficiently monitor thousands of virtual machines at sub-1 minute interval. I will show how OpenNebula can be enhanced and optimized, and how different metrics collection tools such as Ganglia and Host-sFlow can be used with OpenNebula to monitor large-scale Cloud infrastructures.
Since its first 1.12 release on July 2016, Docker Swarm Mode has matured enough as a clustering and scheduling tool for IT administrators and developers who can easily establish and manage a cluster of Docker nodes as a single virtual system. Swarm mode integrates the orchestration capabilities of Docker Swarm into Docker Engine itself and help administrators and developers with the ability to add or subtract container iterations as computing demands change. With sophisticated but easy to implement features like built-in Service Discovery, Routing Mesh, Secrets, declarative service model, scaling of the services, desired state reconciliation, scheduling, filters, multi-host networking model, Load-Balancing, rolling updates etc. Docker 17.06 is all set for production-ready product today. Join me webinar organised by Docker Izmir, to get familiar with the current Swarm Mode capabilities & functionalities across the heterogeneous environments.
An Updated Performance Comparison of Virtual Machines and Linux ContainersKento Aoyama
The document compares the performance of virtual machines (KVM) and Linux containers (Docker) by running benchmarks that test CPU, memory, network, and file I/O performance. It finds that Docker containers perform comparably to native Linux for most benchmarks, while KVM virtual machines have higher overhead and perform worse than Docker containers or native Linux for several tests, especially those involving CPU, random memory access, and file I/O. The study provides a useful comparison of the performance of these two virtualization technologies.
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...Uri Cohen
It’s no news that containers represent a portable unit of deployment, and OpenStack has proven an ideal environment for running container workloads. However, where it usually becomes more complex is that many times an application is often built out of multiple containers. What’s more, setting up a cluster of container images can be fairly cumbersome because you need to make one container aware of another and expose intimate details that are required for them to communicate which is not trivial especially if they’re not on the same host.
These scenarios have instigated the demand for some kind of orchestrator. The list of container orchestrators is growing fairly fast. This session will compare the different orchestation projects out there - from Heat to Kubernetes to TOSCA - and help you choose the right tool for the job.
This document discusses representing Geneve encapsulation metadata in OpenFlow flows. It proposes mapping each Geneve option to an OpenFlow experimenter OXM field, allowing multiple tun_metadata matches per flow. It outlines changes needed to OVS internals to support parsing variable length tun_metadata and indexing into the match field. Finally it discusses additional considerations like supporting large Geneve option payloads and handling critical vs. non-critical options.
Pacemaker is a high availability cluster resource manager that can be used to provide high availability for MySQL databases. It monitors MySQL instances and replicates data between nodes using replication. If the primary MySQL node fails, Pacemaker detects the failure and fails over to the secondary node, bringing the MySQL service back online without downtime. Pacemaker manages shared storage and virtual IP failover to ensure connections are direct to the active MySQL node. It is important to monitor replication state and lag to ensure data consistency between nodes.
Everything you need to know Docker Swarm Orchestration.
These are the slides containing Orchestration in Docker. I present these slides at 2 hours meetups and seminars.
This document discusses Docker Swarm Mode, which allows managing a cluster of Docker Engines called a swarm. Key features include integrated cluster management, declarative application deployment across nodes, automatic scaling, service discovery, and encryption between nodes. The document demonstrates initializing a swarm on two VMs, adding a worker node, deploying services in replicated and global modes, attaching services to networks, publishing service ports, updating services, and more swarm commands.
This presentation has been given during DevOps Congress in Wrocław. It is about container orchestrations with Docker Swarm and Traefik. It includes the configuration examples of Traefik version 2.0.
The source code used in the presentation: https://github.com/jakubhajek/traefik-swarm
This document provides an overview of Container as a Service (CaaS) with Docker. It discusses key concepts like Docker containers, images, and orchestration tools. It also covers DevOps practices like continuous delivery that are enabled by Docker. Specific topics covered include Docker networking, volumes, and orchestration with Docker Swarm and compose files. Examples are provided of building and deploying Java applications with Docker, including Spring Boot apps, Java EE apps, and using Docker for builds. Security features of Docker like content trust and scanning are summarized. The document concludes by discussing Docker use cases across different industries and how Docker enables critical transformations around cloud, DevOps, and application modernization.
GopherCon 2017 - Writing Networking Clients in Go: The Design & Implementati...wallyqs
The NATS Go client is the canonical implementation of a client for the NATS Messaging System, and from the beginning it was designed for high performance. In this talk, we will cover its APIs and dissect how the client internal engine works to get the most out of Go to achieve maximum throughput.
Jim Jagielski discusses improvements to Apache HTTP Server 2.4 including enhanced performance, support for asynchronous I/O, additional multi-processing modules, and improved functionality for reverse proxy servers. Key enhancements to Apache's reverse proxy module mod_proxy include support for additional protocols like FastCGI and SCGI, improved load balancing capabilities, and an embedded administration interface.
Embedded Ansible allows users to run Ansible playbooks from within CloudForms. It installs and configures a headless Ansible Tower on the CloudForms appliance. To activate it, the "Embedded Ansible" role must be enabled. This will trigger the Ansible Tower setup which may take several minutes. Playbooks can then be run from services, buttons, control policies, or automate states. Logs are found under /var/log/tower. Potential issues can be troubleshooted by restarting services or reconfiguring credentials and secrets.
This document analyzes the performance of OpenVSwitch (OVS) using various tools. Key findings include:
- DPDK-based OVS achieves 9.9 Gbps throughput for a single flow on one core, far surpassing standard and Linux bridge OVS.
- Latency is lowest for direct NIC-NIC communication and increases for OVS and VM-based setups.
- The OVS kernel flow cache supports up to 200,000 flows but throughput degrades by 5% at 2,048 flows due to misses.
- Removing IPTables modules improves VM-OVS-VM throughput by up to 15%, and enabling VXLAN offload provides an additional 25
The document provides an overview of Docker networking as of version 17.06. It begins with introductions of the presenter and some key terminology used. It then discusses why container networking is needed and compares features of container and VM networking. The major components of Docker networking including network drivers, IPAM, Swarm networking, service discovery, and load balancing are outlined. Concepts of CNI/CNM standards and IP address management are explained. Examples of different network drivers such as bridge, overlay, macvlan are provided. The document also covers Docker networking concepts such as default networks, Swarm mode, service discovery, and load balancing. It concludes with some debugging commands and a reference slide.
Heart of the SwarmKit: Store, Topology & Object ModelDocker, Inc.
Heart of the SwarmKit: Store, Topology & Object Model by Aaron, Andrea, Stephen D (Docker)
Swarmkit repo - https://github.com/docker/swarmkit
Liveblogging: http://canopy.mirage.io/Liveblog/SwarmKitDDS2016
The document discusses Kubernetes networking concepts including pods, services, and ingress. It provides examples of how containers within pods communicate via Docker networking. It also explains how Kubernetes networking solves the problems of pod-to-pod, service-to-pod, and external-to-service communications using services, iptables, and kube-proxy. The document demonstrates creating a deployment, service, and ingress to expose an application externally via a load balancer.
This presentation, DEFEATING THE NETWORK SECURITY INFRASTRUCTURE v1.0.pdf, was made after some brainstorming
with some friends. The techniques used are not new and the tools readily available for download. The purpose of the discussion however
is to debate how internal enterprise resources might be (in)adversely exposed to the internet by in an insider using a combination of common techniques such as SSH and SSL.
This document discusses adding context support to the NATS client library. It begins with an overview of NATS and context in Go. It then describes enhancing the Subscription.NextMsg method to support context, avoiding blocking indefinitely. This allows building a RequestWithContext method for cancelling requests. The key steps are selecting on the subscription channel or context being done, and returning the context's error on cancellation. Learning from standard library patterns like validating contexts helps make the API clearer.
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...Docker, Inc.
Talk from Docker SF Meetup #50
Abstract:
Docker swarm mode enables users to manage their applications with service primitives. In this talk we demonstrate how to do service upgrades without impacting your application. The Healthcheck feature provides health indication for a container. Coming up in Docker 1.13 release, Docker Swarm can connect healthcheck result with load balancer to implement no-loss service upgrade.
Speaker Biographies:
Nishant Totla is a software engineer at Docker, and works on the core open source team. He is currently working on Docker SwarmKit and Docker Swarm. Prior to Docker, he was a PhD student at UC Berkeley, doing research on programming languages. In his spare time, he enjoys long-distance running, biking, and other outdoor activities. Nishant tweets at @nishanttotla.
Dongluo Chen is a software engineer at Docker focusing on orchestration and container development. Before Docker he was software engineer manager at Microsoft Azure building and automating global data centers. He worked at France Telecom (Orange) and the Ohio State University as research scientist in networking area.
Monitoring Large-scale Cloud Infrastructures with OpenNebulaNETWAYS
Efficient monitoring is crucial when managing your Cloud infrastructure. The metrics collected by OpenNebula can be used to trigger automatic scaling, or quickly detect failures to automatically restart virtual machines. During this talk, I will show how OpenNebula can be used to efficiently monitor thousands of virtual machines at sub-1 minute interval. I will show how OpenNebula can be enhanced and optimized, and how different metrics collection tools such as Ganglia and Host-sFlow can be used with OpenNebula to monitor large-scale Cloud infrastructures.
Since its first 1.12 release on July 2016, Docker Swarm Mode has matured enough as a clustering and scheduling tool for IT administrators and developers who can easily establish and manage a cluster of Docker nodes as a single virtual system. Swarm mode integrates the orchestration capabilities of Docker Swarm into Docker Engine itself and help administrators and developers with the ability to add or subtract container iterations as computing demands change. With sophisticated but easy to implement features like built-in Service Discovery, Routing Mesh, Secrets, declarative service model, scaling of the services, desired state reconciliation, scheduling, filters, multi-host networking model, Load-Balancing, rolling updates etc. Docker 17.06 is all set for production-ready product today. Join me webinar organised by Docker Izmir, to get familiar with the current Swarm Mode capabilities & functionalities across the heterogeneous environments.
An Updated Performance Comparison of Virtual Machines and Linux ContainersKento Aoyama
The document compares the performance of virtual machines (KVM) and Linux containers (Docker) by running benchmarks that test CPU, memory, network, and file I/O performance. It finds that Docker containers perform comparably to native Linux for most benchmarks, while KVM virtual machines have higher overhead and perform worse than Docker containers or native Linux for several tests, especially those involving CPU, random memory access, and file I/O. The study provides a useful comparison of the performance of these two virtualization technologies.
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...Uri Cohen
It’s no news that containers represent a portable unit of deployment, and OpenStack has proven an ideal environment for running container workloads. However, where it usually becomes more complex is that many times an application is often built out of multiple containers. What’s more, setting up a cluster of container images can be fairly cumbersome because you need to make one container aware of another and expose intimate details that are required for them to communicate which is not trivial especially if they’re not on the same host.
These scenarios have instigated the demand for some kind of orchestrator. The list of container orchestrators is growing fairly fast. This session will compare the different orchestation projects out there - from Heat to Kubernetes to TOSCA - and help you choose the right tool for the job.
This document discusses representing Geneve encapsulation metadata in OpenFlow flows. It proposes mapping each Geneve option to an OpenFlow experimenter OXM field, allowing multiple tun_metadata matches per flow. It outlines changes needed to OVS internals to support parsing variable length tun_metadata and indexing into the match field. Finally it discusses additional considerations like supporting large Geneve option payloads and handling critical vs. non-critical options.
Pacemaker is a high availability cluster resource manager that can be used to provide high availability for MySQL databases. It monitors MySQL instances and replicates data between nodes using replication. If the primary MySQL node fails, Pacemaker detects the failure and fails over to the secondary node, bringing the MySQL service back online without downtime. Pacemaker manages shared storage and virtual IP failover to ensure connections are direct to the active MySQL node. It is important to monitor replication state and lag to ensure data consistency between nodes.
Everything you need to know Docker Swarm Orchestration.
These are the slides containing Orchestration in Docker. I present these slides at 2 hours meetups and seminars.
This document discusses Docker Swarm Mode, which allows managing a cluster of Docker Engines called a swarm. Key features include integrated cluster management, declarative application deployment across nodes, automatic scaling, service discovery, and encryption between nodes. The document demonstrates initializing a swarm on two VMs, adding a worker node, deploying services in replicated and global modes, attaching services to networks, publishing service ports, updating services, and more swarm commands.
This presentation has been given during DevOps Congress in Wrocław. It is about container orchestrations with Docker Swarm and Traefik. It includes the configuration examples of Traefik version 2.0.
The source code used in the presentation: https://github.com/jakubhajek/traefik-swarm
This document provides an overview of Container as a Service (CaaS) with Docker. It discusses key concepts like Docker containers, images, and orchestration tools. It also covers DevOps practices like continuous delivery that are enabled by Docker. Specific topics covered include Docker networking, volumes, and orchestration with Docker Swarm and compose files. Examples are provided of building and deploying Java applications with Docker, including Spring Boot apps, Java EE apps, and using Docker for builds. Security features of Docker like content trust and scanning are summarized. The document concludes by discussing Docker use cases across different industries and how Docker enables critical transformations around cloud, DevOps, and application modernization.
Do any VM's contain a particular indicator of compromise? E.g. Run a YARA signature over all executables on my virtual machines and tell me which ones match.
présentation de l'utilisation de Docker, du niveau 0 "je joue avec sur mon poste" au niveau Docker Hero "je tourne en prod".
Ce talk fait suite à l'intro de @dgageot et ne comporte donc pas l'intro "c'est quoi Docker ?".
Tungsten Fabric provides a network fabric connecting all environments and clouds. It aims to be the most ubiquitous, easy-to-use, scalable, secure, and cloud-grade SDN stack. It has over 300 contributors and 100 active developers. Recent improvements include better support for microservices, containers, ingress/egress policies, and load balancing. It can provide consistent security and networking across VMs, containers, and bare metal.
Build cloud native solution using open source Nitesh Jadhav
Build cloud native solution using open source. I have tried to give a high level overview on How to build Cloud Native using CNCF graduated software's which are tested, proven and having many reference case studies and partner support for deployment
Containerised Testing at Demonware : PyCon Ireland 2016Thomas Shaw
Thomas and James from Demonware discussed their company's evolution to using containers for testing. They started with "fat containers" containing all services, then separated services into containers defined in YAML files. Now they use Docker Swarm to run tests in scalable services across a cluster, addressing issues like limited resources and test parallelization. The talk provided an example of optimizing a testing pipeline through containerization.
This document discusses microservices architecture compared to a monolithic architecture. A microservices architecture breaks an application into smaller, independent services that each perform discrete functions. This allows for more rapid development and improved scalability. However, a microservices architecture is also more complex to deploy and manage. The document provides an example of how a VoIP application could use a microservices approach by breaking components like billing, fraud detection, and call analytics into separate services. It also discusses using Docker containers and services to deploy and scale the microservices architecture.
This document provides information about Linux containers and Docker. It discusses:
1) The evolution of IT from client-server models to thin apps running on any infrastructure and the challenges of ensuring consistent service interactions and deployments across environments.
2) Virtual machines and their benefits of full isolation but large disk usage, and Vagrant which allows packaging and provisioning of VMs via files.
3) Docker and how it uses Linux containers powered by namespaces and cgroups to deploy applications in lightweight portable containers that are more efficient than VMs. Examples of using Docker are provided.
Large-scaled Deploy Over 100 Servers in 3 MinutesHiroshi SHIBATA
Large-scaled Deploy Over 100 Servers in 3 Minutes
Deployment strategy for next generation involves creating OS images using Packer and cloud-init that allow deploying over 100 servers within 3 minutes through automation. The strategy uses Puppet for configuration management and builds minimal and application-specific images to reduce bootstrap time. All deployment operations are implemented through a CLI tool for rapid and automated scaling.
My talk in Bessemer VP R&D / CTO yearly event (Jan 2020).
The presentation discusses major concept in resilience testing and MyHeritage's path to Chaos Engineering.
This presentation overviews basic principles of high availability architectures and presents how to deploy in high availability FIWARE data management services.
As enterprises adopt cloud native infrastructure to run their applications, data security and compliance is becoming a crucial area of interest. When you run your containers in a public cloud, you want to make sure that the data being accessed is secure and that there are no bread crumbs left behind once the container exits. A common mistake many people make is to host-mount a volume directly inside a container, which leaves the container's data behind (directly on the host.)
In this session, we focus on the best practices for ensuring the security and compliance of your applications’ persistent volumes. But ensuring security is an on-going exercise. Ideally you would deploy intelligent software that can constantly monitor and audit the application environment for security holes and breaches.
Autopilot is an automated application runtime management engine built for Kubernetes, and is an open source project sponsored by Portworx: https://github.com/libopenstorage/autopilot
Presented by Gunjan Patel, Gou Rao, and Aditya Dani, January 2019. More details here: https://www.meetup.com/openstack/events/258284618/
Dr. Piyush Harsh discusses using Docker to streamline the testing environment for Cyclops, an open-source rating, charging, and billing microservices framework. Key benefits of Docker include predictable, standardized environment setup and faster response times compared to virtual machine-based deployments. Some challenges included port conflicts and ensuring service start order, but these were easy to address. A demo of Cyclops integrating with external components for a telecom network virtualization use case is also mentioned.
This presentation by Andrew Aslinger discusses best practices and pitfalls of integrating Docker into Continuous Delivery Pipelines. Learn how Andrew and his team used Docker to replace Chef to simplify their development and migration processes.
How Ansible Tower and Prometheus can help automate continuous deployments Roger Tanner
A Talk at the 5th Ansible Meetup in Zurich on the 24th of August 2017 (http://meetu.ps/38f7DB) by Darragh Grealish (darraghgrealish.com)
Distributed Performance testing by funkloadAkhil Singh
Distributed Performance testing by funkload, sysbench.
These slides briefs the load and stress testing on apache, nginx, redis, mysql servers by using funkload and sysbench. Testing is done on a single master node setup on kubernetes cluster.
Security hardening enhancements for KubernetesRuncy Oommen
The default security settings of a Kubernetes deployment is not hardened and fine tuned for security. Let's walk through what enhancements and config changes can be done to make it robust and ready for production.
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OSLightbend
Apache Kafka–part of Lightbend Fast Data Platform–is a distributed streaming platform that is best suited to run close to the metal on dedicated machines in statically defined clusters. For most enterprises, however, these fixed clusters are quickly becoming extinct in favor of mixed-use clusters that take advantage of all infrastructure resources available.
In this webinar by Sean Glover, Fast Data Engineer at Lightbend, we will review leading Kafka implementations on DC/OS and Kubernetes to see how they reliably run Kafka in container orchestrated clusters and reduce the overhead for a number of common operational tasks with standard cluster resource manager features. You will learn specifically about concerns like:
* The need for greater operational knowhow to do common tasks with Kafka in static clusters, such as applying broker configuration updates, upgrading to a new version, and adding or decommissioning brokers.
* The best way to provide resources to stateful technologies while in a mixed-use cluster, noting the importance of disk space as one of Kafka’s most important resource requirements.
* How to address the particular needs of stateful services in a model that natively favors stateless, transient services.
What is FIWARE and why it is a great ecosystem for enabling the co-creation of Smart Cities world wide? Find it in this presentation. The presentation was originally given at Beyond 2020 on 28th July in Recife, Brazil
FIWARE (https://www.fiware.org) is a collection of well-integrated Open Source tools (e.g. OpenStack, Hadoop, Docker, ...) that provides a set of RESTful APIs that allows for easy development of cloud-based applications. Haven't you yet heard about it? Sit down and enjoy the ride! The talk will present FIWARE main APIs and discuss a small example of FIWARE-based application for context-aware data management.
Some news from the FIWARE world:
- MyFIWAREStory campaign
- The VIP Programme
- Quick tour for developers
- Release 4 of FIWARE platform
- Evolution of the Lab
- And more
Novembre 2015.
FIWARE provides open source "Lego bricks" and services to help startups and SMEs develop smart city applications. The presentation provides demonstrations of smart city applications developed using FIWARE components, including Virtual Helsinki, My Neighborhood, and applications for transportation, environment, and construction. It also outlines the FIWARE technology chapters and encourages attendees to use and contribute to FIWARE.
FI-WARE provides an advanced OpenStack-based cloud platform and a library of generic enablers. FI-LAB acts as an open innovation ecosystem and "meeting point" where entrepreneurs, developers, customers, and data providers can connect. It offers the ability to test with real data and users, visibility, hosting, and connections to potential customers and funding opportunities. FI-WARE technology providers benefit by connecting to entrepreneurs and potentially sharing revenue. The presentation describes FI-WARE, FI-LAB, and how they enable IoT, context management, and smart city applications and solutions.
Presention of FI-WARE, FI-Lab and FI-Ops at IoT Day in Trento. Dealing with:
- IoT applications building blocks.
- Open Cloud infrastructure.
- Hackathons and Challanges
- Plans for building a FI-* communitu in Trento
FI Business: Value proposition for cities, access to data and ICT infrastruct...Federico Michele Facca
Trentino is an autonomous province in northern Italy situated in the Italian Alps with a population of around 530,000 spread across 217 municipalities. It has a diverse geography and culture, with 65% forested land and several linguistic minority groups. Trentino has invested heavily in research and development, with public R&D spending at 1.2% of its GDP. The document discusses how Trentino and its cities can become "smarter" by opening up access to data and physical infrastructure through the use of future internet technologies such as FI-*. This would allow cities to improve innovation, sustainability, social inclusion, and the development of smart cities.
MOBICAP is a European Commission initiative to improve access to finance for startups in the mobile and mobility sectors. It will address the funding gap for these startups through coaching, investment matchmaking events, and a dedicated venture fund. The project is led by a consortium of partners including banks, venture capital funds, startup support organizations, and regional development agencies. It aims to connect entrepreneurs with investors and provide specialized resources to help early-stage companies in these industries become investment-ready.
This document summarizes the user interface of a website that allows users to find and add infrastructure projects. The website contains sections for finding infrastructure by category, viewing highlights and reports of projects, and supporting users. It also allows users to add their own infrastructure projects through a multiple step form to provide details about the project.
The document provides an introduction and overview of the INFINITY project. INFINITY aims to facilitate communication and collaboration between owners of future internet infrastructure across Europe and organizations developing applications. It does this by collecting and profiling over 160 infrastructures in its online XiPi portal. The portal serves as a repository for experimental infrastructure information. INFINITY's goals are to support experimentation, accelerate development and uptake of solutions, and position Europe at the center of the future internet.
The SHAPE project aims to develop an integrated model-driven engineering (MDE) framework for service-oriented system engineering. It involves extending conventional service-oriented architecture (SOA) modeling to support service variability, different technology platforms, and standardization. The project is developing metamodels like SoaML and ShaML, model transformation tools, and a methodology to support the engineering process. An initial consortium was formed and work has focused on the technical solution, tool suite, and methodology with evaluation planned in industrial pilot applications.
Semantic Web services (SWS) aims at extending traditional Web services
with machine-readable semantic descriptions of their functionality and
interfaces in order to increase the degree of automation for
service-based applications, e.g., by allowing the discovery, binding
and composition of services to be performed automatically.
This talk will provide a quick introduction to Semantic Web Services,
will discuss what have been the past achievements in this research area. The talk will also try to
analyze what are the problems that are hindering semantic web services to be largely adopted and how
future work in the area can contribute to solve such issue.
Artificial Intelligence is providing benefits in many areas of work within the heritage sector, from image analysis, to ideas generation, and new research tools. However, it is more critical than ever for people, with analogue intelligence, to ensure the integrity and ethical use of AI. Including real people can improve the use of AI by identifying potential biases, cross-checking results, refining workflows, and providing contextual relevance to AI-driven results.
News about the impact of AI often paints a rosy picture. In practice, there are many potential pitfalls. This presentation discusses these issues and looks at the role of analogue intelligence and analogue interfaces in providing the best results to our audiences. How do we deal with factually incorrect results? How do we get content generated that better reflects the diversity of our communities? What roles are there for physical, in-person experiences in the digital world?
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfAbi john
Analyze the growth of meme coins from mere online jokes to potential assets in the digital economy. Explore the community, culture, and utility as they elevate themselves to a new era in cryptocurrency.
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPathCommunity
Join this UiPath Community Berlin meetup to explore the Orchestrator API, Swagger interface, and the Test Manager API. Learn how to leverage these tools to streamline automation, enhance testing, and integrate more efficiently with UiPath. Perfect for developers, testers, and automation enthusiasts!
📕 Agenda
Welcome & Introductions
Orchestrator API Overview
Exploring the Swagger Interface
Test Manager API Highlights
Streamlining Automation & Testing with APIs (Demo)
Q&A and Open Discussion
Perfect for developers, testers, and automation enthusiasts!
👉 Join our UiPath Community Berlin chapter: https://community.uipath.com/berlin/
This session streamed live on April 29, 2025, 18:00 CET.
Check out all our upcoming UiPath Community sessions at https://community.uipath.com/events/.
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell
With expertise in data architecture, performance tracking, and revenue forecasting, Andrew Marnell plays a vital role in aligning business strategies with data insights. Andrew Marnell’s ability to lead cross-functional teams ensures businesses achieve sustainable growth and operational excellence.
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...Alan Dix
Talk at the final event of Data Fusion Dynamics: A Collaborative UK-Saudi Initiative in Cybersecurity and Artificial Intelligence funded by the British Council UK-Saudi Challenge Fund 2024, Cardiff Metropolitan University, 29th April 2025
https://alandix.com/academic/talks/CMet2025-AI-Changes-Everything/
Is AI just another technology, or does it fundamentally change the way we live and think?
Every technology has a direct impact with micro-ethical consequences, some good, some bad. However more profound are the ways in which some technologies reshape the very fabric of society with macro-ethical impacts. The invention of the stirrup revolutionised mounted combat, but as a side effect gave rise to the feudal system, which still shapes politics today. The internal combustion engine offers personal freedom and creates pollution, but has also transformed the nature of urban planning and international trade. When we look at AI the micro-ethical issues, such as bias, are most obvious, but the macro-ethical challenges may be greater.
At a micro-ethical level AI has the potential to deepen social, ethnic and gender bias, issues I have warned about since the early 1990s! It is also being used increasingly on the battlefield. However, it also offers amazing opportunities in health and educations, as the recent Nobel prizes for the developers of AlphaFold illustrate. More radically, the need to encode ethics acts as a mirror to surface essential ethical problems and conflicts.
At the macro-ethical level, by the early 2000s digital technology had already begun to undermine sovereignty (e.g. gambling), market economics (through network effects and emergent monopolies), and the very meaning of money. Modern AI is the child of big data, big computation and ultimately big business, intensifying the inherent tendency of digital technology to concentrate power. AI is already unravelling the fundamentals of the social, political and economic world around us, but this is a world that needs radical reimagining to overcome the global environmental and human challenges that confront us. Our challenge is whether to let the threads fall as they may, or to use them to weave a better future.
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul
Artificial intelligence is changing how businesses operate. Companies are using AI agents to automate tasks, reduce time spent on repetitive work, and focus more on high-value activities. Noah Loul, an AI strategist and entrepreneur, has helped dozens of companies streamline their operations using smart automation. He believes AI agents aren't just tools—they're workers that take on repeatable tasks so your human team can focus on what matters. If you want to reduce time waste and increase output, AI agents are the next move.
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc
Most consumers believe they’re making informed decisions about their personal data—adjusting privacy settings, blocking trackers, and opting out where they can. However, our new research reveals that while awareness is high, taking meaningful action is still lacking. On the corporate side, many organizations report strong policies for managing third-party data and consumer consent yet fall short when it comes to consistency, accountability and transparency.
This session will explore the research findings from TrustArc’s Privacy Pulse Survey, examining consumer attitudes toward personal data collection and practical suggestions for corporate practices around purchasing third-party data.
Attendees will learn:
- Consumer awareness around data brokers and what consumers are doing to limit data collection
- How businesses assess third-party vendors and their consent management operations
- Where business preparedness needs improvement
- What these trends mean for the future of privacy governance and public trust
This discussion is essential for privacy, risk, and compliance professionals who want to ground their strategies in current data and prepare for what’s next in the privacy landscape.
Mobile App Development Company in Saudi ArabiaSteve Jonas
EmizenTech is a globally recognized software development company, proudly serving businesses since 2013. With over 11+ years of industry experience and a team of 200+ skilled professionals, we have successfully delivered 1200+ projects across various sectors. As a leading Mobile App Development Company In Saudi Arabia we offer end-to-end solutions for iOS, Android, and cross-platform applications. Our apps are known for their user-friendly interfaces, scalability, high performance, and strong security features. We tailor each mobile application to meet the unique needs of different industries, ensuring a seamless user experience. EmizenTech is committed to turning your vision into a powerful digital product that drives growth, innovation, and long-term success in the competitive mobile landscape of Saudi Arabia.
This is the keynote of the Into the Box conference, highlighting the release of the BoxLang JVM language, its key enhancements, and its vision for the future.
Spark is a powerhouse for large datasets, but when it comes to smaller data workloads, its overhead can sometimes slow things down. What if you could achieve high performance and efficiency without the need for Spark?
At S&P Global Commodity Insights, having a complete view of global energy and commodities markets enables customers to make data-driven decisions with confidence and create long-term, sustainable value. 🌍
Explore delta-rs + CDC and how these open-source innovations power lightweight, high-performance data applications beyond Spark! 🚀
Procurement Insights Cost To Value Guide.pptxJon Hansen
Procurement Insights integrated Historic Procurement Industry Archives, serves as a powerful complement — not a competitor — to other procurement industry firms. It fills critical gaps in depth, agility, and contextual insight that most traditional analyst and association models overlook.
Learn more about this value- driven proprietary service offering here.
2. 1
What you will learn?
How to deploy enablers using cloud architecture patterns
How to apply cloud patterns using Docker
How to deploy on multiple hardware architectures
Where to find examples for some enablers
3. 2
In case you wanna run the 5 demo at the end of the Talk
If internet is good enough...
Install VirtualBox
• https://www.virtualbox.org/wiki/Downloads
Install Docker
• https://docs.docker.com/engine/installation/
Install Docker Machine
• https://docs.docker.com/machine/install-machine/
Create a Swarm Cluster (https://github.com/aelsabbahy/miniswarm)
• curl -sSL https://raw.githubusercontent.com/aelsabbahy/miniswarm/master/miniswarm -o
/usr/local/bin/miniswarm
• chmod +rx /usr/local/bin/miniswarm # As root
• miniswarm start 3 # 1 manager 2 workers
Clone the recipes
• git clone https://github.com/smartsdk/smartsdk-recipes
4. 3
Does this work only with Docker Swarm?
The code you will find in the repository is for Docker
Swarm
The principles are generic and can be applied on different
containerized (or not) platforms
5. 4
Why Docker Swarm instead of Kubernetes?
K8S is more production ready
• More advanced features (e.g. autoscaling).
Swarm is simpler
• It is included in Docker (N.B. K8S will be soon)
• It is more suitable for “educational” purposes
• It runs better on a RasperryPI 0
9. 8
Monolith vs Modern SOA (aka microservices)
Monolith architectures run all their services
in a single process
Monolith architectures may scale by
replicating all the “monolith” on different
servers
Microservice architectures each
functionality in a separate (possibly
stateless) process
Microservices scale individually by
distributing on different servers
10. 9
Cloud Architecture Patterns are the path to
Move from Pets to Cattle
... i.e. achieve
• Service resiliency
• Flexible scalability
• Lower latency
15. 14
Stateless vs Stateful services
Stateless services
• The output of the service depends only on the input
• Easy to scale and distribute
Stateful
• The output of the service depends on the input and on a set of information
stored by the service itself
• Not so easy to scale and distribute (maintaining a consistent state)
16. 15
CAP Theorem
The CAP theorem states that it is impossible for a distributed computer
system to simultaneously provide all three of the following guarantees:
• Consistency: Every read receives the most recent write or an error
• Availability: Every request receives a response, without guarantee that it contains the
most recent version of the information
• Partition tolerance: The system continues to operate despite an arbitrary number of
messages being dropped by the network between nodes
I.e. when you implement HA in a stateful service, you can choose of being CA, AP,
CP. In general you strive to AP and eventually consistent.
18. 17
Context Broker
Context Broker is perhaps the most used
GE
It includes to components:
• The API
• The Backend
The API is HTTP based
The Backend in based on MongoDB
How to make it high available?
• An easy crossover mechanism for HTTP
APIs are Load Balancers
• MongoDB has its proprietary HA
mechanism (replica set)
Context Broker
MongoDB
19. 18
Context Broker: Target architecture
Context Broker
MongoDB
Context Broker
MongoDB
Context Broker
MongoDB
LB LB LB
MongoDB replica set
Virtual IP
1. Provide high available and partition tolerant distributed data
2. Eventually consistent
3. MongoDB HA solutions use quora mechanism for evaluate consistency,
so O as to be an odd number (max actually is 7)
1. Provides the reliable cross over (i.e. transparent access to different
instances)
2. Provides the transparent detection failure
3. Relies on virtual IP mechanism
1. N-instances of context broker, removing single point of failure
20. 19
Context Broker: How to implement that in Docker Swarm?
The Load Balancer
• It is the easy part: Docker Swarm implements
a simple Load Balancing mechanism
Context Broker API HA
• Context Broker is stateless, we don’t have to
worry about data
• We create a service (using replica mode to
scale it up and down)
• We leverage on health checks to evaluate
single instance health
MongoDB
• Now things get complex... Recall CAPs
Theorem
version: '3'
services:
orion:
image: fiware/orion:${ORION_VERSION:-1.7.0}
ports:
- "1026:1026”
command: -logLevel DEBUG -dbhost
${MONGO_SERVICE_URI:-"mongo-rs_mongo"} -rplSet
${REPLICASET_NAME:-rs} -dbTimeout 10000
deploy:
replicas: 2
healthcheck:
test: ["CMD", "curl", "-f",
"http://0.0.0.0:1026/version"]
interval: 1m
timeout: 10s
retries: 3
networks:
...
21. 20
Data Layer HA Management
Your distributed data layer has some
level of self discovery
• You can relay on it to automatically
create the “data service cluster”.
• In some cases, you need pass service
names... Luckily you can leverage on
tricks (e.g. DNSRR mode of Docker
Swarm – being VIP the default)
• E.g. elasticsearch / hadoop
Your distributed data layer has no self
discovery
• You need a sidecar service that
implements the data cluster
management logic.
• E.g. mongodb / mysql
MongoDB MongoDBMongoDB
MongoDB replica set
ReplicaSet
Controller
Docker Swarm
MongoDB replica
set MongoDB replica set
22. 21
Context Broker: How to implement that in Docker Swarm?
MongoDB
• We create a service for mongo (using
global, and volumes if we want persistency)
• We create a service for the sidecar
microservice
• We leverage on health checks to evaluate
single instance health
Why global?
• If you want to leverage on volume for data
persistency, you need to deal with the fact
that there can be only 1 volume with a
given name per swarm node.
• How can I scale up / down then?
□ Using placement constraints!
version: '3.2'
mongo:
image: mongo:${MONGO_VERSION:-3.2}
entrypoint: [ "/usr/bin/mongod", "--replSet",
"${REPLICASET_NAME:-rs}", "--journal", "--smallfiles"]
volumes:
- mongodata:/data/db
secrets:
- mongo-healthcheck
healthcheck:
test: ["CMD", "bash", "/run/secrets/mongo-healthcheck"]
interval: 1m
timeout: 10s
retries: 3
deploy:
mode: global
...
controller:
image: martel/mongo-replica-ctrl:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.role==manager]
...
23. 22
Scaling Up and Down
docker service scale orion_orion=3
docker service scale orion_orion=2
Global Mode does not support scale up /
down. Using Global Mode you can have as
many mongo as cluster nodes.
Add a placement constraint to the mongo
service
• placement:
constraints: [node.labels.mongo == yes]
Add/remove label to nodes to be (not) used
for MongoDB
• docker node update --label-add
mongo=yes NODE
Context Broker MongoDB
24. 23
Multi Site (for replicated mode services)
In each site, have at least a Docker Swarm master.
• The number of master should be always odd.
Add a “site” label to all the nodes part of a given site.
• docker node update --label-add region=us NODE
• docker node update --label-add region=eu NODE
Add a placement preference to the service (not supported in compose files!)
• docker service update --placement-pref-add 'spread=node.labels.region’ SERVICE
26. 25
cd tools/
sh create_networks.sh
cd ../data-management/context-broker/ha/
sh deploy_back.sh
docker service ls
docker service logs -f orion-backend_controller
sh deploy_front.sh
docker service ls
curl http://192.168.99.101:1026/version
28. 27
Multi Site and Edge
Edge devices may not have a Public IP
Can we create a cluster connecting such devices?
OpenVPN is your friend!
• Configure OpenVPN server on all the master nodes
in the cloud using a multipoint configuration.
• Configure OpenVPN clients on all the edge nodes.
• Unfortunately, due to the fact that docker service
does not support privileged mode, you cannot run
OpenVPN as a container to create a Docker Swarm
cluster
What if my edge nodes are based on a different
architecture (e.g. ARM)?
• Develop image manifests that implements v2.2
spec, this allows to redirect an image version to
specific version per hardware platform.
image:
myprivreg:5000/someimage:latest
manifests:
- image:
myprivreg:5000/someimage:ppc64le
platform:
architecture: ppc64le
os: linux
- image:
myprivreg:5000/someimage:amd64
platform:
architecture: amd64
features:
- sse
os: linux
29. Træfik: advanced load balancing
Docker Swarm proxy is not configurable, for
example it does not support sticky sessions
Traefik listens to backend /orchestrator API’s
and detects any changes, applying it
Routes are dynamically managed
You can create / update / destroy routes at
any time
Traefik reads service metadata on Docker /
Kubernetes / etcd / etc
• Hosts, ports, load balancing algorithm etc
You can configure SSL certifications
• Let’s Encrypt integration requires a key-value
storage
• Let’s Encrypt integration requires public IP
30. 29
Testing your dockerized platform
Learn from the GURU’s of micro service architectures!
Chaos Monkey
https://github.com/gaia-adm/pumba
Netflix picture or /logo
33. 32
Smart Security
• Common architecture patterns: e.g. scalability
pattern
• Common generic enablers: e.g. orion context-
broker
• Common data models: e.g. geo-location
• Specific architecture patterns: e.g. secured data
access pattern
• Specific and customised generic enablers: e.g.
security risk detection filters for kurento media
server
• Specific data models: e.g. security’s events
Smart Security
Application
“recipe”
1. Analyse HA architectures for the different Data and IoT Management enablers
2. Creating Docker compose recipes to allow easy deployment of HA enablers
3. Making them available in FIWARE Lab to experimenters
34. Do you have questions?
Do you want to contribute?
33
Contact Us
w w w.mart el-innov at e.com
Federico M. Facca
Head of Martel Lab
[email protected]
Dorfstrasse 73 – 3073
Gümligen (Switzerland)
004178 807 58 38
#8: Copy your code from a server to a VM, is not adding much advantages to your application.
#9: Cattle = you don’t care about the specific service instance, you replace it with another one: no affection!
Pet = if the service dies, you cry like when your first pet died, because it’s un replaceable