The document discusses Cloud Foundry, an open platform as a service (PaaS). It allows developers to build and deploy applications to the cloud. Cloud Foundry supports multiple languages, frameworks, services and can run applications across public and private clouds. It is open source software licensed under Apache 2.
NCA GTUG 2012 - Cloud is such stuff as dreams are made onPatrick Chanezon
There is a profound architecture transition happening in software in 2011, like we see every 15 years: html5 and mobile on the client, cloud on the server.
This talk will explain the opportunities and challenges that the Cloud represents for developers, in 4 areas: Infrastructure, Platform, Software and Development.
This talk will describe the capabilities, philosophies and issues associated with current Cloud Platform offerings (Google Appengine, Azure, Beanstalk, CloudFoundry, Heroku), for different use cases (public, private, hybrid clouds) and the nascent Cloud Development services (Cloudbees, Exo, Cloud9, Github).
We will dive into the code of a sample Cloud Foundry app using Node.js, MongoDb, the Twitter API and Lanyrd Calendar feeds, to show how Cloud Platforms enable a more agile development process.
We will also discuss opportunities and risks for developers to move their apps to the Cloud, new skills to learn, and old habits to forget.
2014, April 15, Atlanta Java Users GroupTodd Fritz
Server to Cloud – convert a legacy platform to a micro-PaaS using Docker and related, containerization technologies
Video: http://vimeo.com/94556976
The talk will begin with how to setup a local Docker development environment (Windows or Mac OSX) as Docker runs atop Linux. The basics of Docker will be examined including how to use image repositories, and a brief description of available UI’s for managing Docker containers (Shipyard and DockerUI).
Next, example applications will be built for progressively more robust use cases and deployments; to demonstrate the power, flexibility and scalability of Containerization with Docker. The first example will discuss a simple two container model to encapsulate a database and application layer, which will lead to demonstration and discussion about more robust deployments that include features such as service discovery, automatic load balancing, and abstractions to simplify linking of containers. The context of the talk with be how Containerization enables architectural choice, scalability, and polyglot environments.
Docker and supporting technologies will be discussed to expose the multitude of supporting technologies within the ecosystem such as Flynn, Serf (makes or Vagrant), CoreOS, Deus, HAProxy and more.
Technologies that may be employed within containers during the demonstration include, Java, Scala, Akka, Docker, vert.x or node.js, memcached, mysql, mongo.
Finding and Organizing a Great Cloud Foundry User GroupDaniel Krook
Slides from the 2015 Cloud Foundry Summit on May 12.
http://sched.co/2tGc
Virtualization and global distribution are great when it comes to cloud computing and open source. In both cases, physical location is irrelevant. But one of the best ways to join the Cloud Foundry community is to participate in a local meetup. The presenters will share their experience running user groups over the past decade and lessons learned from recent Cloud Foundry events.
This session will teach you how to:
1. Find an active Cloud Foundry (or related cloud computing) user group
2. Contribute your own knowledge at an upcoming event
3. Organize - and sustain - a strong Cloud Foundry community
After this presentation, you will:
1. Appreciate the professional (and social) benefits of attending a meetup
2. Know how to share your expertise and establish your eminence as a Cloud Foundry expert
3. Be prepared to effectively organize a sustainable Cloud Foundry user group
What is Docker and why should you care? A Docker container is like a
lightweight Virtual Machine. It gives you the benefits of a virtual machine,
isolation of your application, without the drawbacks, having to ship an entire
operating system with your application, slow startup time, and difficult
interaction with the host.
In this presentation you will learn why Docker and containerization is the
future of DevOps and how to use it efficiently. You will learn how to build,
run, and link containers, and what volumes are and what they are used for.
You will also learn about some of the many orchestration solutions that exists
for managing a cluster of containers, both locally and in the cloud.
NCA GTUG 2012 - Cloud is such stuff as dreams are made onPatrick Chanezon
There is a profound architecture transition happening in software in 2011, like we see every 15 years: html5 and mobile on the client, cloud on the server.
This talk will explain the opportunities and challenges that the Cloud represents for developers, in 4 areas: Infrastructure, Platform, Software and Development.
This talk will describe the capabilities, philosophies and issues associated with current Cloud Platform offerings (Google Appengine, Azure, Beanstalk, CloudFoundry, Heroku), for different use cases (public, private, hybrid clouds) and the nascent Cloud Development services (Cloudbees, Exo, Cloud9, Github).
We will dive into the code of a sample Cloud Foundry app using Node.js, MongoDb, the Twitter API and Lanyrd Calendar feeds, to show how Cloud Platforms enable a more agile development process.
We will also discuss opportunities and risks for developers to move their apps to the Cloud, new skills to learn, and old habits to forget.
2014, April 15, Atlanta Java Users GroupTodd Fritz
Server to Cloud – convert a legacy platform to a micro-PaaS using Docker and related, containerization technologies
Video: http://vimeo.com/94556976
The talk will begin with how to setup a local Docker development environment (Windows or Mac OSX) as Docker runs atop Linux. The basics of Docker will be examined including how to use image repositories, and a brief description of available UI’s for managing Docker containers (Shipyard and DockerUI).
Next, example applications will be built for progressively more robust use cases and deployments; to demonstrate the power, flexibility and scalability of Containerization with Docker. The first example will discuss a simple two container model to encapsulate a database and application layer, which will lead to demonstration and discussion about more robust deployments that include features such as service discovery, automatic load balancing, and abstractions to simplify linking of containers. The context of the talk with be how Containerization enables architectural choice, scalability, and polyglot environments.
Docker and supporting technologies will be discussed to expose the multitude of supporting technologies within the ecosystem such as Flynn, Serf (makes or Vagrant), CoreOS, Deus, HAProxy and more.
Technologies that may be employed within containers during the demonstration include, Java, Scala, Akka, Docker, vert.x or node.js, memcached, mysql, mongo.
Finding and Organizing a Great Cloud Foundry User GroupDaniel Krook
Slides from the 2015 Cloud Foundry Summit on May 12.
http://sched.co/2tGc
Virtualization and global distribution are great when it comes to cloud computing and open source. In both cases, physical location is irrelevant. But one of the best ways to join the Cloud Foundry community is to participate in a local meetup. The presenters will share their experience running user groups over the past decade and lessons learned from recent Cloud Foundry events.
This session will teach you how to:
1. Find an active Cloud Foundry (or related cloud computing) user group
2. Contribute your own knowledge at an upcoming event
3. Organize - and sustain - a strong Cloud Foundry community
After this presentation, you will:
1. Appreciate the professional (and social) benefits of attending a meetup
2. Know how to share your expertise and establish your eminence as a Cloud Foundry expert
3. Be prepared to effectively organize a sustainable Cloud Foundry user group
What is Docker and why should you care? A Docker container is like a
lightweight Virtual Machine. It gives you the benefits of a virtual machine,
isolation of your application, without the drawbacks, having to ship an entire
operating system with your application, slow startup time, and difficult
interaction with the host.
In this presentation you will learn why Docker and containerization is the
future of DevOps and how to use it efficiently. You will learn how to build,
run, and link containers, and what volumes are and what they are used for.
You will also learn about some of the many orchestration solutions that exists
for managing a cluster of containers, both locally and in the cloud.
Crash Course in Open Source Cloud Computing Mark Hinkle
Introduction on open source technologies that can be used to deploy and manage cloud computing environments. Especially geared toward Infrastructure-as-a-service environments. Updated for presentation at Indiana Linuxfest (3/26/2011).
Updates:
- Open source cloud storage (CEPH, Swift, Gluster)
- Orchestration - MCollective
- Cloud Infrastructure Diagrams
Docker is the developer-friendly container technology that enables creation of your application stack: OS, JVM, app server, app, database and all your custom configuration. So you are a Java developer but how comfortable are you and your team taking Docker from development to production? Are you hearing developers say, “But it works on my machine!” when code breaks in production? And if you are, how many hours are then spent standing up an accurate test environment to research and fix the bug that caused the problem?
This workshop/session explains how to package, deploy, and scale Java applications using Docker.
Containers vs. VMs: It's All About the Apps!Steve Wilson
There has been much hype about whether Containers will replace Virtual Machines for use in Cloud architectures. We’ll look at the strengths of each technology and how they apply in real-world usage. By taking a top-down (Application-first) approach to requirements analysis, versus a bottoms-up (Infrastructure-first) approach, we can see how unique architectures will emerge that can balance the needs of Developers, DevOps and corporate IT.
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...Patrick Chanezon
In two years, Docker hit the sweet spot for devs and ops, with tools for building, shipping, and running distributed apps architected as a set of collaborating microservices packaged as Linux containers. One area of the Docker ecosystem that saw a lot of innovation in the past year is container orchestration systems. This session compares and contrasts various Docker orchestration systems (Swarm, Machine, and Compose), the batteries included with Docker itself, Mesos, Kubernetes, CoreOS/Fleet, Deis, Cloud Foundry, and Tutum. It includes a demo of how to deploy a Java 8 app with MongoDB on several of these systems. The goal of the session is to give you a framework to help evaluate how these systems can meet your particular requirements.
Demo code at https://github.com/chanezon/docker-tips/blob/master/orchestration-networking/README.md
Docker for any type of workload and any IT InfrastructureDocker, Inc.
This presentation discusses the different types of workloads typical enterprises are required to run, which use cases exist for containerizing them and how leading-edge workload orchestration can be used to deploy, run and manage the containerized workloads or various types or scale-out infrastructures, such as on-premise clusters, public clouds or hybrid clouds.
OSCON 2014 - Crash Course in Open Source Cloud ComputingMark Hinkle
This crash course is designed to give an overview of cloud computing architecture and the open source software that can be used to deploy and manage a cloud computing environment.
Topics to be discussed in this session will include virtualization (KVM, LXC, and Xen Project), orchestration (Apache CloudStack, Eucalyptus, Open Nebula, and OpenStack), and storage (GlusterFS, Ceph, and others). The talk will also provide insight into how to deliver Platform-as-a-Service (PaaS) and what technologies can be used to compliment this evolving cloud computing paradigm.
Systems administrators and IT generalists will leave the discussion with a general overview of the options at their disposal to effectively build and manage their own cloud computing environments using free and open source software and understand the capabilities and benefits of a host of technologies.
Quickly build and deploy a scalable OpenStack Swift application using IBM Blu...Daniel Krook
Slides from the 2015 OpenStack Summit on May 18.
http://sched.co/35rZ
Sample code here: http://bit.ly/ibm-bos
Object Storage services are a powerful tool when used as a backing store for your application and OpenStack Swift is now easy to integrate with your application. In this interactive session, IBM developers will demonstrate how you can use Bluemix (IBM's Cloud Foundry offering) and IBM DevOps Services to create a scalable Node.js application backed by Swift. The session will show how - using only a browser - a developer can employ Bluemix tools to clone, develop, deploy, and manage an application in minutes. The team will then describe how developers can then extend the application by using another one of the available services or by incorporating Bluemix into their existing developer workflows.
Docker Overview - Rise of the ContainersRyan Hodgin
Containers allow for applications to become more portable, organized more efficiently, and configured to make better use of system resources. This presentation will explain Docker's container technology, DevOps approach, partner ecosystem, popularity, performance, challenges, and roadmap. We'll review how containers are changing application and operating system designs.
Mit Urs Stephan Alder (CEO Kybernetika), Michael Abmayer (Senior Consultant Opvizor) und Dennis Zimmer (CEO Opvizor) präsentierten gleich 3 hochkarätige Referenten an der vergangenen VMware@Night bei Digicomp. Sie zeigten zusammen auf, welche Auswirkungen Container in der Virtualisierung auf den täglichen Betrieb sowie die Performance- und Kapazitätsplanung haben.
Vor allem Docker ist derzeit in aller Munde und die bekannteste und meist genutzte Container-Technologie. Container werden vielfach in virtuellen Maschinen betrieben und stellen eine neue Herausforderung für VMware- Administratoren, aber auch IT-Manager dar. Gewährleistung und Überwachung der Performance sowie eine möglichst genaue Kapazitätsplanung sind Herausforderungen, denen man sich zügig stellen muss.
Nach einer kurzen Einführung in die Thematik der Container, in der auch die Unterschiede zur Virtualisierung aufgezeigt wurde, widmeten sich die Referenten dem Umgang mit Conteinern am Beispiel von Docker mit VMware vSphere. Zum Abschluss wurde die Performanceüberwachung und Kapazitätsplanung behandelt.
Docker Container As A Service
X11 Linux apps on mac in a container.
In container Java development with STS or Eclipse in a container.
Docker UCP and swarm load balancing with Interlock.
Docker - A high level introduction to dockers and containersDr Ganesh Iyer
A high level introduction to Dockers and Containers. Many of the slides are not mine.I used the slides I got from Internet and prepared the rest of the slides based on my understand form various blogs and other google info.
Crash Course in Open Source Cloud Computing Mark Hinkle
Introduction on open source technologies that can be used to deploy and manage cloud computing environments. Especially geared toward Infrastructure-as-a-service environments. Updated for presentation at Indiana Linuxfest (3/26/2011).
Updates:
- Open source cloud storage (CEPH, Swift, Gluster)
- Orchestration - MCollective
- Cloud Infrastructure Diagrams
Docker is the developer-friendly container technology that enables creation of your application stack: OS, JVM, app server, app, database and all your custom configuration. So you are a Java developer but how comfortable are you and your team taking Docker from development to production? Are you hearing developers say, “But it works on my machine!” when code breaks in production? And if you are, how many hours are then spent standing up an accurate test environment to research and fix the bug that caused the problem?
This workshop/session explains how to package, deploy, and scale Java applications using Docker.
Containers vs. VMs: It's All About the Apps!Steve Wilson
There has been much hype about whether Containers will replace Virtual Machines for use in Cloud architectures. We’ll look at the strengths of each technology and how they apply in real-world usage. By taking a top-down (Application-first) approach to requirements analysis, versus a bottoms-up (Infrastructure-first) approach, we can see how unique architectures will emerge that can balance the needs of Developers, DevOps and corporate IT.
Docker Orchestration: Welcome to the Jungle! Devoxx & Docker Meetup Tour Nov ...Patrick Chanezon
In two years, Docker hit the sweet spot for devs and ops, with tools for building, shipping, and running distributed apps architected as a set of collaborating microservices packaged as Linux containers. One area of the Docker ecosystem that saw a lot of innovation in the past year is container orchestration systems. This session compares and contrasts various Docker orchestration systems (Swarm, Machine, and Compose), the batteries included with Docker itself, Mesos, Kubernetes, CoreOS/Fleet, Deis, Cloud Foundry, and Tutum. It includes a demo of how to deploy a Java 8 app with MongoDB on several of these systems. The goal of the session is to give you a framework to help evaluate how these systems can meet your particular requirements.
Demo code at https://github.com/chanezon/docker-tips/blob/master/orchestration-networking/README.md
Docker for any type of workload and any IT InfrastructureDocker, Inc.
This presentation discusses the different types of workloads typical enterprises are required to run, which use cases exist for containerizing them and how leading-edge workload orchestration can be used to deploy, run and manage the containerized workloads or various types or scale-out infrastructures, such as on-premise clusters, public clouds or hybrid clouds.
OSCON 2014 - Crash Course in Open Source Cloud ComputingMark Hinkle
This crash course is designed to give an overview of cloud computing architecture and the open source software that can be used to deploy and manage a cloud computing environment.
Topics to be discussed in this session will include virtualization (KVM, LXC, and Xen Project), orchestration (Apache CloudStack, Eucalyptus, Open Nebula, and OpenStack), and storage (GlusterFS, Ceph, and others). The talk will also provide insight into how to deliver Platform-as-a-Service (PaaS) and what technologies can be used to compliment this evolving cloud computing paradigm.
Systems administrators and IT generalists will leave the discussion with a general overview of the options at their disposal to effectively build and manage their own cloud computing environments using free and open source software and understand the capabilities and benefits of a host of technologies.
Quickly build and deploy a scalable OpenStack Swift application using IBM Blu...Daniel Krook
Slides from the 2015 OpenStack Summit on May 18.
http://sched.co/35rZ
Sample code here: http://bit.ly/ibm-bos
Object Storage services are a powerful tool when used as a backing store for your application and OpenStack Swift is now easy to integrate with your application. In this interactive session, IBM developers will demonstrate how you can use Bluemix (IBM's Cloud Foundry offering) and IBM DevOps Services to create a scalable Node.js application backed by Swift. The session will show how - using only a browser - a developer can employ Bluemix tools to clone, develop, deploy, and manage an application in minutes. The team will then describe how developers can then extend the application by using another one of the available services or by incorporating Bluemix into their existing developer workflows.
Docker Overview - Rise of the ContainersRyan Hodgin
Containers allow for applications to become more portable, organized more efficiently, and configured to make better use of system resources. This presentation will explain Docker's container technology, DevOps approach, partner ecosystem, popularity, performance, challenges, and roadmap. We'll review how containers are changing application and operating system designs.
Mit Urs Stephan Alder (CEO Kybernetika), Michael Abmayer (Senior Consultant Opvizor) und Dennis Zimmer (CEO Opvizor) präsentierten gleich 3 hochkarätige Referenten an der vergangenen VMware@Night bei Digicomp. Sie zeigten zusammen auf, welche Auswirkungen Container in der Virtualisierung auf den täglichen Betrieb sowie die Performance- und Kapazitätsplanung haben.
Vor allem Docker ist derzeit in aller Munde und die bekannteste und meist genutzte Container-Technologie. Container werden vielfach in virtuellen Maschinen betrieben und stellen eine neue Herausforderung für VMware- Administratoren, aber auch IT-Manager dar. Gewährleistung und Überwachung der Performance sowie eine möglichst genaue Kapazitätsplanung sind Herausforderungen, denen man sich zügig stellen muss.
Nach einer kurzen Einführung in die Thematik der Container, in der auch die Unterschiede zur Virtualisierung aufgezeigt wurde, widmeten sich die Referenten dem Umgang mit Conteinern am Beispiel von Docker mit VMware vSphere. Zum Abschluss wurde die Performanceüberwachung und Kapazitätsplanung behandelt.
Docker Container As A Service
X11 Linux apps on mac in a container.
In container Java development with STS or Eclipse in a container.
Docker UCP and swarm load balancing with Interlock.
Docker - A high level introduction to dockers and containersDr Ganesh Iyer
A high level introduction to Dockers and Containers. Many of the slides are not mine.I used the slides I got from Internet and prepared the rest of the slides based on my understand form various blogs and other google info.
This talk will provide an overview of the PaaS (Platform as a Service) landscape, and will describe the Cloud Foundry open source PaaS, with its multi-framework, multi-service, multi-cloud model.
Cloud Foundry allows developers to provision apps in Java/Spring, Ruby/Rails, Ruby/Sinatra, Javascript/Node, and leverage services like MySQL, MongoDB, Reddis, Postgres and RabbitMQ. It can be used as a public PaaS on CloudFoundry.com and other service providers (ActiveState, AppFog), to create your own private cloud, or on your laptop using the Micro Cloud Foundry VM.
The talk will end with a demo of Cloud Foundry in action, showing the end to end development workflow, from developing locally with Micro Cloud Foundry to deploying on Cloud Foundry.com.
If you want to get started with Cloud development, bring your laptops, check the requirements and download pre-requisites at https://cloudfoundry.com/micro, and we'll help you setup your environment and get started with Cloud Foundry on your local machine.
Japan Developer Summit (en) - Cloud Foundry, the Open Platform As A ServicePatrick Chanezon
This talk will provide an overview of the PaaS (Platform as a Service) landscape, and will describe the Cloud Foundry open source PaaS, with its multi-framework, multi-service, multi-cloud model.
Cloud Foundry allows developers to provision apps in Java/Spring, Ruby/Rails, Ruby/Sinatra, Javascript/Node, and leverage services like MySQL, MongoDB, Reddis, Postgres and RabbitMQ.
It can be used as a public PaaS on CloudFoundry.com and other service providers (ActiveState, AppFog), to create your own private cloud, or on your laptop using the Micro Cloud Foundry VM.
I will describe the Cloud Foundry architecture, and talk about the open source development process for Cloud Foundry.
UDS 2011 - Cloud Foundry and Ubuntu, a marriage made in heavenPatrick Chanezon
Cloud Foundry is an open source Cloud Platform as a Service "OpenPaaS" project created by VMware, developed in Ruby on Ubuntu. It is multi-language/framework (Java, Ruby, Node), multi-service (MongoDB, Reddis, MySQL, Postgres, RabbitMQ) and multi-cloud: it runs on your laptop, as Micro Cloud Foundry, an Ubuntu VMware image containing the whole platform,
but it can also run on many Cloud infrastructure providers (Cloudfoundry.com, Appfog, ActiveState), and can be used to create your own private cloud.
In this talk Patrick will talk about Cloud Foundry and its potential for developers, IT managers and Sysadmins.
The talk will be follwed by a demo some of Juju charms that allow you to deploy your own Ubuntu based multi-node cloud foundry platform on Amazon EC2 in 10 minutes.
Want to get to production quickly? RAD tools like Spring Roo, with its support for beautiful, quick UI generation through addons like the Vaadin Roo addon, and Cloud Foundry, which take care of everything under the code, are an ideal combination. In this talk Josh Long, Spring Developer Advocate for SpringSource, introduces the 1-2-3 punch of Cloud Foundry, Roo and Vaadin.
Most enterprise cloud adoption has relied on virtual machines and infrastructure as a service. However, there is a lot to love about the other approach to clouds—platform as a service. In a PaaS model, you worry about your code, and the systems take care of the rest. True Platform-as-a-Service not only reduces the cost of hardware infrastructure, but also reduces the complexity of the software stack that runs on it. PaaS promises to trim development and deployment time from months and years to days and weeks, but what are the signs of a true PaaS powerhouse? Is it simply free of servers or software to manage? Does it provide automatic upgrades and elasticity? Can you develop in multiple languages and across multiple device platforms? Many informed analysts think PaaS is the inevitable consequence of true utility computing. In this session, Patrick Chanezon of VMWare explains why PaaS may be the future of the enterprise.
Latest version of the Netflix Cloud Architecture story was given at Gluecon May 23rd 2012. Gluecon rocks, and lots of Van Halen references were added for the occasion. There tradeoff between developer driven high functionality AWS based PaaS, and operations driven low cost portable PaaS is discussed. The three sections cover the developer view, the operator view and the builder view.
Tackling complexity in giant systems: approaches from several cloud providersPatrick Chanezon
Systems architecture evolve in cycles every 15-20 years, oscillating between centralization and decentralization, but growing in size and complexity. The last cycle shifted from vertical to horizontal scalability for hardware, applications and data platforms. This talk will describe approaches used by some of the companies who pioneered cloud platforms, Google, Microsoft, Amazon, Netflix & VMware, to tackle complexity when building these giant distributed systems.
This talk was presented at JFokus 2014.
https://www.jfokus.se/jfokus/talks.jsp#Tacklingcomplexityin
A presentation to emphasis on how learning Cloud Computing development can bring in huge difference in your career path. This also includes various technology you should work on to your next level. A must watch for both freshers and professionals.
Kubernetes has many ways to scale your workloads, most of what we hear about is scaling our cluster up with either with vm sets or autoscaling groups. There is another way, in this talk we will look at virtual kubelet. Virual Kubelet will allow us to talk to a cloud providers container as a service platform like ACI, fargate or ECI. We will deep dive into how you can scale your applications across virtual kubelet. One issue is the kubernetes service type has is scaling to zero due to the way routing to the pod happens if there is no pod for the service to route too. Scaling our applications to zero is just as important and scaling up. We will look at projects that integrate with the horizontal pod autoscaler that fix this issue. Allowing us to not only scale our applications up but as easily down to make our cluster truly elastic.
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...Patrick Chanezon
Cloud native applications are composed of many technologies and components, but three canonical abstraction emerged in the past few years that help developers structure their architecture: container, functions responding to events, and managed services.
This talk will explain how to develop (Docker, local Kubernetes, virtual Kubelet, OpenFaaS), deploy (managed Kubernetes, functions and services) and package (CNAB specification and tooling) applications using these three components and look at not only deployment workflows but also at day 2 concerns that a developer would need to consider in the cloud native landscape.
We will demo every topic and a Github repository will be available for developers to reproduce the demos and learn at their own pace.
Patrick Chanezon and Scott Coulton
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
Cloud native applications are composed of containers, serverless functions and managed cloud services.
What is the best set of tools on your desktop to provide a rapid, iterative development experience and package applications using these three components?
This hand-on talk will explain how you can complement Docker Desktop, with it’s local Docker engine and Kubernetes cluster, with open source tools such as the Virtual Kubelet, Open Service Broker, the Gloo hybrid app gateway, Draft, and others, to build the most productive development inner-loop for these type of applications.
It will also cover how you can use the Cloud Native Application Bundle (CNAB) format and it’s implementation in the Docker app experimental tool to package your application and manage it with container supply chain tooling such as Docker Hub.
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
Cloud native applications are increasingly composed of containers, serverless functions responding to events and managed cloud services. What is the best workflow and set of tools to provide a rapid, iterative development experience and to package applications using these three components?
This hand-on talk will compare and contrast several sets of tools and their associated workflows:
Using Docker Desktop, with its local Docker engine and Kubernetes cluster, with open source tools such as the Virtual Kubelet, or the Gloo hybrid app gateway, to build the most productive development inner-loop for these type of applications
OpenFaaS, Fn, or Nuclio open source serverless framework to run functions in containers locally
Telepresence to run a container locally, connected to a remote cluster
Helm and Draft
Knative
The talk will also cover how you can use the Cloud Native Application Bundle (CNAB) format and tools to package your applications and share them using a container registry.
Patrick Chanezon, un des pionniers du Cloud chez Google, VMware, Microsoft et Docker, vous raconte la révolution des conteneurs logiciels et comment certains concepts du taoïsme, wei-wu-wei, "agir sans agir", et ziran, naturel, ou spontanéïté, permettent d'en mieux cerner les enjeux.
Les conteneurs accélèrent l'adoption du Cloud en entreprise, avec des architectures hybride et multi cloud, la mise en place de démarches agiles et DevOps pour moderniser les applications existantes et réduire les coûts d'infrastructure, et permettent de nouveaux cas d'utilisation dans l'internet des objets et l'intelligence artificielle.
Moby is an open source project providing a "LEGO set" of dozens of components, the framework to assemble them into specialized container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.
One of these assemblies is Docker CE, an open source product that lets you build, ship, and run containers.
This talk will explain how you can leverage the Moby project to assemble your own specialized container-based system, whether for IoT, cloud or bare metal scenarios.
We will cover Moby itself, the framework, and tooling around the project, as well as many of it’s components: LinuxKit, InfraKit, containerd, SwarmKit, Notary.
Then we will present a few use cases and demos of how different companies have leveraged Moby and some of the Moby components to create their own container-based systems.
Video at https://www.youtube.com/watch?v=kDp22YkD6WY
Microsoft Techsummit Zurich Docker and MicrosoftPatrick Chanezon
Docker and Microsoft have been collaborating both in open source and through their commercial partnership to bring the benefits of Docker Windows and Linux containers to Azure Enterprise customers. Docker’s container platform, Docker Enterprise Edition, is used to modernize traditioal applications, and move them to Azure, as well as to develop new cloud native applications using microservices architecture, bringing agility to developers and control to IT Pros. This talk will cover the latest developments in Docker’s container platform with planned support for Kubernetes in Docker for Windows, and Docker Enterprise Edition for Azure, Docker for Azure Stack to enable hybrid cloud deployments, Windows containers, Linux containers on Windows.
Develop and deploy Kubernetes applications with Docker - IBM Index 2018Patrick Chanezon
Docker Desktop and Enterprise Edition now both include Kubernetes as an optional orchestration component. This talk will explain how to use Docker Desktop (Mac or Windows) to develop and debug a cloud native application, then how Docker Enterprise Edition helps you deploy it to Kubernetes in production.
The Docker Way: modernize traditional applications without action (wu-wei) and create new cloud native microservices applications with naturalness (ziran).
This talk also provides a summary of all the DockerCon EU 2017 announcements: Kubernetes now supported in Docker, MTA, IBM partnership.
Building specialized container-based systems with Moby: a few use cases
This talk will explain how you can leverage the Moby project to assemble your own specialized container-based system, whether for IoT, cloud or bare metal scenarios. We will cover Moby itself, the framework, and tooling around the project, as well as many of it’s components: LinuxKit, InfraKit, containerd, SwarmKit, Notary. Then we will present a few use cases and demos of how different companies have leveraged Moby and some of the Moby components to create their own container-based systems.
Docker Cap Gemini CloudXperience 2017 - la revolution des conteneurs logicielsPatrick Chanezon
Si vous avez raté le début : Patrick Chanezon, un des pionniers du Cloud chez Google, VMware, Microsoft et Docker, vous raconte la révolution des conteneurs logiciels en quelques films ; comment ils accélèrent l'adoption du Cloud en entreprise, avec des architectures hybride et multi, la mise en place de démarches agiles et DevOps pour moderniser les applications existantes et réduire les coûts d'infrastructure, et permettent de nouveaux cas d'utilisation dans l'internet des objets et l'intelligence artificielle.
En bref, comment expliquer la stratégie des opérateurs du Cloud avec des films de science- fiction ? C’est le défi que va relever Patrick Chanezon, évangéliste chez Docker.
Docker moves very fast, with an edge channel released every month and a stable release every 3 months. Patrick will talk about how Docker introduced Docker EE and a certification program for containers and plugins with Docker CE and EE 17.03 (from March), the announcements from DockerCon (April), and the many new features planned for Docker CE 17.05 in May.
This talk will be about what's new in Docker and what's next on the roadmap
Oscon 2017: Build your own container-based system with the Moby projectPatrick Chanezon
Build your own container-based system
with the Moby project
Docker Community Edition—an open source product that lets you build, ship, and run containers—is an assembly of modular components built from an upstream open source project called Moby. Moby provides a “Lego set” of dozens of components, the framework for assembling them into specialized container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.
Patrick Chanezon and Mindy Preston explain how you can leverage the Moby project to assemble your own specialized container-based system, whether for IoT, cloud, or bare-metal scenarios. Patrick and Mindy explore Moby’s framework, components, and tooling, focusing on two components: LinuxKit, a toolkit to build container-based Linux subsystems that are secure, lean, and portable, and InfraKit, a toolkit for creating and managing declarative, self-healing infrastructure. Along the way, they demo how to use Moby, LinuxKit, InfraKit, and other components to quickly assemble full-blown container-based systems for several use cases and deploy them on various infrastructures.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
Cloud Foundry the Open PaaS - OpenTour Austin Keynote
1. Cloud Foundry
The Open Platform as a Service
Patrick Chanezon
Senior Director
Developer Relations
chanezonp@vmware.com
http://twitter.com/chanezon Cloud Foundry OpenTour, Austin, April 2012
Thursday, April 5, 12
2. P@ in a nutshell
• French, based in San Francisco
• Senior Director, Developer Relations,VMware
• Software Plumber, API guy, mix of Enterprise and
Consumer
• 18 years writing software, backend guy with a
taste for javascript
• 2 y Accenture (Notes guru), 3 y Netscape/AOL
(Servers, Portals), 5 y Sun (ecommerce, blogs,
Portals, feeds, open source)
• 6 years at Google, API guy (first hired, helped start the
team)
• Adwords, Checkout, Social, HTML5, Cloud
Thursday, April 5, 12
4. Accelerando / Singularity, in a Galaxy far far away
§ Even if we automate ourselves out of a job every 10 years
§ ...I don’t think the singularity is near!
4
Thursday, April 5, 12
5. Moore's Law is for Hardware Only
§ Does not apply to software
§ Productivity gains not keeping up with hardware and bandwidth
§ Writing software is hard, painful, and still very much a craft
5
Thursday, April 5, 12
6. Moore's Law’s free lunch is over
§ Herb Sutter, Welcome to the Jungle
http://herbsutter.com/welcome-to-the-jungle/
6
Thursday, April 5, 12
7. Future
“The future is already here
— it's just not very evenly
distributed”
William Gibson
7
Thursday, April 5, 12
8. Haiku - Skylark
“Trampling on clouds,
inhaling the mist,
the skylark soars”
—SHIKI
8
Thursday, April 5, 12
9. Haiku - Frog
“Crouching,
studying the clouds—
a frog”
CHIYO-JO
9
Thursday, April 5, 12
14. Back to Client Server: Groovy Baby!
14
Thursday, April 5, 12
15. What is Cloud Computing?
Cloud According to my daughter Eliette
15
Thursday, April 5, 12
16. Cloud Stack - Classic Pyramid
Software
As A Service
Platform As A Service
Infrastructure As A Service
16
Thursday, April 5, 12
17. Cloud Stack - By Number
Software
As A Service
Platform As A Service
Infrastructure
As A Service
17
Thursday, April 5, 12
18. Cloud Stack - By Value
Software
As A Service
Platform As A Service
Infrastructure
As A Service
18
Thursday, April 5, 12
19. Cloud Stack - Neutral
Software
As A Service
Platform As A Service
Infrastructure As A Service
19
Thursday, April 5, 12
20. Cloud Stack - History
§ What does cloud mean, 4 main angles
• Software 1994 Netscape
• Infrastructure 2002 Amazon AWS
• Platform 2008 Google
• Development now!
§ Industrialization of hardware and
software infrastructure
like electricity beginning of 20th century
§ But software development itself is moving towards craftmanship
20
Thursday, April 5, 12
21. Cloud started at Consumer websites solving their needs
• Google, Amazon, Yahoo, Facebook, Twitter
• Large Data Sets
• Storage Capacity growing faster than Moore’s Law
• Fast Networks
• Horizontal -> Vertical scalability
• Open Source Software
• Virtualization
• Cloud is a productization of these infrastructures
• Public Clouds Services: Google, Amazon
• Open Source Software: Hadoop, Eucalyptus, Ubuntu, Cloud Foundry
Thursday, April 5, 12
23. IaaS/Virtualization getting mainstream
§ AWS, Joyent, Rackspace,...
§ Open Source projects: OpenStack, DeltaCloud, Eucalyptus
§ Automation: Chef, Juju
§ Standardization? DMTF
§ Inside the Firewall, Virtualization: VMware, Microsoft, Xen, KVM
§ 50% of workloads are virtualized
§ Easy to provision, manage instance...BUT
§ Still need to manage backups, software stacks, monitor, upgrades
23
Thursday, April 5, 12
24. With Infrastructure, you still need to build your own platform
§ Need to build a distributed platform on top of you infrastructure
§ Story of the AWS meltdown from last summer
• http://blog.reddit.com/2011/03/why-reddit-was-down-for-6-of-last-24.html
• http://www.readwriteweb.com/cloud/2010/12/chaos-monkey-how-netflix-
uses.php
• http://news.ycombinator.com/item?id=2477296
• http://stu.mp/2011/04/the-cloud-is-not-a-silver-bullet.html
§ Twilio, Smugmug, SimpleGeo survived it because they built their
own distributed platform on top of IaaS
§ Enterprise customers want to consider Infrastructure like CDNs
• Multi Cloud usage
• Based on Open Source de facto standards, or full standards whenever that
happens
24
Thursday, April 5, 12
26. Platforms
§ Raise the Unit of currency to be application & services instead of
infrastructure
§ Google App Engine, Cloud Foundry, Joyent, Heroku, Stax
(Cloudbees), Amazon elastic beanstalk, Microsoft Azure, AppFog
§ Single or a few languages, services
§ Start of Multi language Polyglot platforms
§ Enabler for Agile Developers -> Create Business value faster
§ Lack of standards: risk, vendor lock-in
§ Enterprise needs:
• Control, customizability
• Private/Hybrid Cloud
• Avoid lock-in
26
Thursday, April 5, 12
28. Agility as a survival skill
§ Consumer software is becoming like fashion
• Phone apps, social apps, short lifetime, fast lifecycles
• Ab testing
§ Clay shirky situational apps
§ Kent Beck, Usenix 2011 Talk, “Software G-Forces”
change in software process when frequency grows
§ Cloud Platforms enables an Agile culture, driver for innovation
• Scalability is built in the platforms
• Can iterate faster
• Focus on design
§ Cloud Platforms lets developers focus on driving business value
28
Thursday, April 5, 12
29. Main Risk: Lock-In
Welcome to the hotel california
Such a lovely place
Such a lovely face
Plenty of room at the hotel california
Any time of year, you can find it here
Last thing I remember, I was
Running for the door
I had to find the passage back
To the place I was before
’relax,’ said the night man,
We are programmed to receive.
You can checkout any time you like,
But you can never leave!
29
Thursday, April 5, 12
30. Cloud Foundry: The Open PaaS
• Open Source: Apache 2 Licensed
• multi language/frameworks
• multi services
• multi cloud
Ap
ce
pli
vFabric
rfa
Postgres Private
ca
nte
Data
Services tio Clouds
rI
n
e
Se
Public
vid
vFabric
RabbitMQTM rvi
Cloud
ro
Msg Services
ce
dP
Micro
ou
Other
Cloud
Cl
Services
30
Thursday, April 5, 12
37. What is a Micro Cloud?
Or
Entire Cloud Running inside of a single VM
37
Thursday, April 5, 12
38. Micro Cloud Foundry… (BETA)
A pre-built Micro (Single VM) version of Cloud Foundry…
You need a Cloud Foundry.com Account to use Micro Cloud Foundry
Signup @ http://cloudfoundry.com/micro
38
Thursday, April 5, 12
39. Micro Cloud Foundry… (BETA)
A pre-built Micro (Single VM) version of Cloud Foundry…
Micro
You need a Cloud Foundry.com Account to use Micro Cloud Foundry
Signup @ http://cloudfoundry.com/micro
38
Thursday, April 5, 12
40. What is in Micro Cloud Foundry?
.COM
Dynamic Updating DNS
App Instances Services
Open source Platform as a Service project
10.04
39
Thursday, April 5, 12
41. Other Cloud Foundry powered PaaS
Private PaaS
Added Python and Perl
Public PaaS
Added PHP
Tier3 and Uhuru recently added .NET support
40
Thursday, April 5, 12
42. Development
LifeCycle
41
Thursday, April 5, 12
43. Traditional App Deploy and Request/Response
Web
Request/Allocate
Web Build/Setup
Install/Configure
App
Deploy/Test
App
Scale?
Upgrade?
DB
DB
Update?
Thursday, April 5, 12
44. How Apps are Deployed on Cloud Foundry
Web
Web
App
“vmc push MyApp” DB
App
Web
Scale? “vmc instances MyApp 5”
DB Upgrade? “vmc map MyApp MyApp2”
Update? “vmc update MyApp”
Thursday, April 5, 12
45. How Apps are Deployed on Cloud Foundry
Web
Web
App
“vmc push MyApp” DB
App
Web
Scale? “vmc instances MyApp 5”
DB Upgrade? “vmc map MyApp MyApp2”
Update? “vmc update MyApp”
Thursday, April 5, 12
46. How Apps are Accessed on Cloud Foundry
Request Web Interface
Load
Balancing
Response
and
Routing
Web
App
App Instance
DB
“vmc push MyApp”
Service
Thursday, April 5, 12
47. How Apps are Scaled on Cloud Foundry
Request
Load
Load
Load
Balancer(s)
Balancing Response
Balancer(s)
and
Routing
App Instances
Web Web Web
App App App
DB
“vmc instances MyApp 3”
Service
Thursday, April 5, 12
48. How Apps are Updated on Cloud Foundry
Previous Instance Updated New
Version Stopped Code Version
Web Web Web Web
App App App App
DB DB
Service Service
“vmc update MyApp”
Thursday, April 5, 12
66. design tidbits
• producer/consumer pattern using rpush/blpop
• node.JS: multi-server and high performance async i/o
• caldecott – aka vmc tunnel for debugging
• redis sorted sets for stats collection
• redis expiring keys for rate calculation
61 developer perspective v2.0
Thursday, April 5, 12
67. producer/consumer
• core design pattern
• found at the heart of many complex apps
classic mode:
- thread pools
- semaphore/mutex, completion ports, etc.
- scalability limited to visibility of the work queue
producer work work queue work consumer
cloud foundry mode:
- instance pools
- redis rpush/blpop, rabbit queues, etc.
- full horizontal scalability, cloud scale
62 developer perspective v2.0
Thursday, April 5, 12
68. producer/consumer: code
//
producer
function
commit_item(queue,
item)
{
//
push
the
work
item
onto
the
proper
queue
redis.rpush(queue,
item,
function(err,
data)
{
//
optionally
trim
the
queue,
throwing
away
//
data
as
needed
to
ensure
the
queue
does
//
not
grow
unbounded
if
(!err
&&
data
>
queueTrim)
{
redis.ltrim(queue,
0,
queueTrim-‐1);
}
});
}
//
consumer
function
worker()
{
//
blocking
wait
for
workitems
blpop_redis.blpop(queue,
0,
function(err,
data)
{
//
data[0]
==
queue,
data[1]
==
item
if
(!err)
{
doWork(data[1]);
}
process.nextTick(worker);
});
63 developer perspective v2.0
Thursday, April 5, 12
69. node.JS multi-server: http API server
//
the
api
server
handles
two
key
load
generation
apis
//
/http
–
for
http
load,
/vmc
for
Cloud
Foundry
API
load
var
routes
=
{“/http”:
httpCmd,
“/vmc”:
vmcCmd}
//
http
api
server
booted
by
app.js,
passing
redis
client
//
and
Cloud
Foundry
instance
function
boot(redis_client,
cfinstance)
{
var
redis
=
redis_client;
function
onRequest(request,
response)
{
var
u
=
url.parse(request.url);
var
path
=
u.pathname;
if
(routes[path]
&&
typeof
routes[path]
==
‘function’)
{
routes[path](request,
response);
}
else
{
response.writeHead(404,
{‘Content-‐Type’:
‘text/plain’});
response.write(‘404
Not
Found’);
response.end();
}
}
server
=
http.createServer(onRequest).listen(cfinstance[‘port’]);
}
64 developer perspective v2.0
Thursday, April 5, 12
70. node.JS multi-server: blpop server
var
blpop_redis
=
null;
var
status_redis
=
null;
var
cfinstance
=
null;
//
blpop
server
handles
work
requests
for
http
traffic
//
that
are
placed
on
the
queue
by
the
http
API
server
//
another
blpop
server
sits
in
the
ruby/sinatra
VMC
server
function
boot(r1,
r2,
cfi)
{
//
multiple
redis
clients
due
to
concurrency
constraints
blpop_redis
=
r1;
status_redis
=
r2;
cfinstance
=
cfi;
worker();
}
//
this
is
the
blpop
server
loop
function
worker()
{
blpop_redis.blpop(queue,
0,
function(err,
data)
{
if
(!err)
{
doWork(data[1]);
}
process.nextTick(worker);
});
}
65 developer perspective v2.0
Thursday, April 5, 12
71. caldecott: aka vmc tunnel
#
create
a
caldecott
tunnel
to
the
redis
server
$
vmc
tunnel
nab-‐redis
redis-‐cli
Binding
Service
[nab-‐redis]:
OK
…
Launching
'redis-‐cli
-‐h
localhost
-‐p
10000
-‐a
...’
#
enumerate
the
keys
used
by
stac2
redis>
keys
vmc::staging::*
1)
“vmc::staging::actions::time_50”
2)
“vmc::staging::active_workers”
…
#
enumerate
actions
that
took
less
that
50ms
redis>
zrange
vmc::staging::actions::time_50
0
-‐1
withscores
1)
“delete_app”
2)
“1”
3)
“login”
4)
“58676”
5)
“info”
6)
“80390”
#
see
how
many
work
items
we
dumped
due
to
concurrency
constraint
redis>
get
vmc::staging::wastegate
“7829”
66 developer perspective v2.0
Thursday, April 5, 12
72. redis sorted sets for stats collection
#
log
action
into
a
sorted
set,
net
result
is
set
contains
#
actions
and
the
number
of
times
the
action
was
executed
#
count
total
action
count,
and
also
per
elapsed
time
bucket
def
logAction(action,
elapsedTimeBucket)
#
actionKey
is
the
set
for
all
counts
#
etKey
is
the
set
for
a
particular
time
bucket
e.g.,
_1s,
_50ms
actionKey
=
“vmc::#{@cloud}::actions::action_set”
etKey
=
“vmc::#{@cloud}::actions::times#{elapsedTimeBucket}”
@redis.zincrby
actionKey,
1,
action
@redis.zincrby
etKey,
1,
action
end
#
enumerate
actions
and
their
associated
count
redis>
zrange
vmc::staging::actions::action_set
0
-‐1
withscores
1)
“login”
2)
“212092”
3)
“info”
4)
“212093”
#
enumerate
actions
that
took
between
400ms
and
1s
redis>
zrange
vmc::staging::actions::time_400_1s
0
-‐1
withscores
1)
“create-‐app”
2)
“14”
3)
“bind-‐service”
4)
“75”
67 developer perspective v2.0
Thursday, April 5, 12
73. redis incrby and expire for rate calcs
#
to
calculate
rates
(e.g.,
4,000
requests
per
second)
#
we
use
plain
old
redis.incrby.
the
trick
is
that
the
#
key
contains
the
current
1sec
timestamp
as
it’s
suffix
value
#
all
activity
that
happens
within
this
1s
period
accumulates
#
in
that
key.
by
setting
an
expire
on
the
key,
the
key
is
#
automatically
deleted
10s
after
last
write
def
logActionRate(cloud)
tv
=
Time.now.tv_sec
one_s_key
=
"vmc::#{cloud}::rate_1s::#{tv}"
#
increment
the
bucket
and
set
expires,
key
#
will
eventually
expires
Ns
after
the
last
write
@redis.incrby
one_s_key,
1
@redis.expire
one_s_key,
10
end
#
return
current
rate
by
looking
at
the
bucket
for
the
previous
#
one
second
period.
by
looking
further
back
and
averaging,
we
#
can
smooth
the
rate
calc
def
actionRate(cloud)
tv
=
Time.now.tv_sec
-‐
1
one_s_key
=
"vmc::#{cloud}::rate_1s::#{tv}"
@redis.get
one_s_key
end
68 developer perspective v2.0
Thursday, April 5, 12
76. Lessons for
Developers
70
Thursday, April 5, 12
77. Predictions
§ Software is becoming like fashion, design rules
§ Welcome to Babel, use the best tool for the job, embrace multiple
language & heterogeneity
§ Our jobs will change, build yourself out of your current job
§ Sysadmin jobs will morph, there will be less of them
§ Many opportunities open when you embrace change
71
Thursday, April 5, 12
78. Things to Forget
§ First normal form
§ Waterfall model
§ Single server deployment
§ Single language skill
§ Build everything from scratch
§ Build custom infrastructure
72
Thursday, April 5, 12
79. Things to Learn
• Agile, API Design
• UI Design, Javacript, HTML5, CSS3
• A/B Testing
• Open Source, Open Standards
• Architecture, Distributed Computing (CAP theorem, 8 fallacies)
• Cloud Platforms and APIs
• Multiple types of languages (imperative, object, functional, logic)
• Ability to encapsulate domain knowledge in a DSL
• Build on the shoulders of giants: reuse, rest APIs
• Pick your battles, choose what you need to build yourself to add value
• Learn to live in a box (embrace platform limitations) to think outside the box
• Use an App Store for distribution
73
Thursday, April 5, 12
80. Be your own bitch
“Don’t be a Google Bitch,
don’t be a Facebook Bitch,
and Don’t be a Twitter
Bitch. Be your own Bitch.”
Fred Wilson
http://techcrunch.com/2011/05/23/fred-wilson-be-your-own-bitch/
74
Thursday, April 5, 12
81. Such stuff as dreams are made on
§ Like a kid on a candy store: there's never been a better time to be a
software developer!
§ Welcome to the Cloud: embrace change and reinvent yourselves
§ “The future is already there, not evenly distributed” Gibson
§ We Developers, invent the future today
75
Thursday, April 5, 12
82. Cloud Foundry Resources
Primary Site : cloudfoundry.com
Open Source Site : cloudfoundry.org
Twitter : @cloudfoundry , hash tag #cfoundry
Blog : blog.cloudfoundry.com
FB : facebook.com/cloudfoundry
Support : support.cloudfoundry.com
• Documentation
• Knowledge Base
• Q & A / Forums
We’re hiring: www.cloudfoundry.com/jobs
76
Thursday, April 5, 12
84. Thank You!
t @CloudFoundry
t @chanezon
Website : www.cloudfoundry.com
Blog : blog.cloudfoundry.com
Forum : support.cloudfoundry.com
Thursday, April 5, 12
85. Books / Articles
§ Nick Carr, The Big Switch
§ Eric Raymond, The Art of Unix Programming
§ Weinberg, Psychology of Computer Programming
§ Wes python book
§ Mark html5 book
§ Kent Beck XP
§ Hunt, Thomas, The Pragmatic Programmer
§ Ade Oshineye, Apprenticeship Patterns
§ Matt Cutt's Ignite Talk IO 2011, Trying different things
§ Josh Bloch talk about api design
§ Larry and Sergey, Anatomy of a Search Engine
§ Rob Pike, The Practice of Programming
79
Thursday, April 5, 12
86. Papers / Talks
§ Simon Wardley, Oscon 09 “Cloud - Why IT Matters”
§ Tim O’Reilly article on internet os
§ Peter Deutsch’s 8 Fallacies of Distributed Computing
§ Brewer’s CAP Theorem
§ Gregor Hohpe’s Starbucks Does Not Use Two-Phase Commit
§ Stuff I tag http://www.delicious.com/chanezon/
§ More specifically http://www.delicious.com/chanezon/cloudfoundry
§ My previous Talks http://www.slideshare.net/chanezon
§ My list of favorite books
http://www.chanezon.com/pat/soft_books.html
80
Thursday, April 5, 12
87. Acknowledgement
§ Drawings from my daughters Eliette
§ Slides from Dave McCrory, Derek Collison, Duke Leto
§ Haiku from Addiss, Stephen; Yamamoto, Fumiko; Yamamoto,
Fumiko Y.; Yamamoto, Akira Y. (2011-06-22). Haiku: An Anthology of
Japanese Poems (Shambhala Library)
§ Painting Hiroshige, Sengai
81
Thursday, April 5, 12