Welcome!

IBM Cloud Authors: Derek Weeks, Flint Brenton, William Schmarzo, AppNeta Blog, Pat Romanski

Related Topics: IBM Cloud, Microservices Expo, Linux Containers, Containers Expo Blog, @CloudExpo, @DevOpsSummit

IBM Cloud: Blog Feed Post

Docker Container Delivery | @DevOpsSummit #DevOps #Docker #Containers #Microservices

In the past, application deployment meant moving lots of components

Docker Container Delivery vs. Traditional App Delivery in XL Deploy
By Benoit Moussaud

In the past, application deployment meant moving lots of components - provided by developers to lots of servers, databases etc. managed by Operation. With Docker and containers, we often hear statements like: "That all goes away now - developers simply have to delver a ready-to-go Docker image, and we're done! No more need for app deployment tools like XL Deploy!

Having worked with many users moving towards container based deployments, it turns out that that statement simply isn't true: while Docker and containers can certainly make some aspect of packaging and deployment easier, many challenges remain that tools like XL Deploy can help with.

Here's how:

The packaging of an traditional application depends how it has been written : operating system (Linux, Windows), language (Java, C#, Ruby Python, JS..), its behaviors (Frontend, Backend, Web, Processing), using or not database (SQL, NoSql)... It is also true with the associated environment and its infrastructure : Host (Virtual, Cloud), the operating system (Linux, Windows), the middleware (Tomcat, Apache Httpd, IIS, IBM WebSphere, ..), the data (MySQL, MongoDB).

In XL Deploy, we would have the following classic deployment where

  • the PetPortal version 2.0-89 contains : petclinic (jee.War), petclinic-backedn (jee.War), petDatasource (jee.Datasource), sql (sql.SqlFolder), logger (a custom type to configure log4j.properties)
  • the Tomcat-Dev environment contains : tomcat-dev (tomcat.Server), tomcat.vh (tomcat.VirtualHost), sql-dev (sql.MySqlClient), smoke-test (smoketest.Runner).

The Docker's promise is the following : "one single kind of item in the package (docker.Image) will be deployed on a single kind of target (docker.Machine) to become a running Docker container."
What are the modifications If I package and deploy my PetPortal application using Docker ?

  • in the package, instead of having 2 ‘jee.War' file (petclinic, petclinic-backend), I would have 2 ‘docker.Image' based on a `tomcat:8.0` from the Docker hub and that contains the war file and its configuration but I would keep my ‘smoke test' and my ‘sql' folder. Moreover, I would need to package the property file externally to my image (a image is like a commit, do not modify it ! )
  • in the environment, I would replace the ‘tomcat.Server' and the ‘tomcat.VirtualHost' by a single ‘docker-machine' only and I would keep my ‘sql-dev' MySql SQL client, test-runner-1 (smoketest.Runner).

Finally few things has changed but the deployment task generated by XL Deploy is a bit different to use the ‘docker' commands:

  1. No more ‘war copy' steps but ‘docker pull' steps
  2. No more ‘start tomcat process' steps but ‘docker run' steps


If we detail into the docker run 2 commands generated by XL Deploy and its xld-docker-plugin:

  • for the ‘petclinic-backend' container, the command is simple as we can read in any docker blog post or documentation :   docker run -d -name petclinic-backend petportal/petclinic-backend:1.1-20150909055821
  • for the ‘petclinic' container, the command is a bit complex because we need to configure it - according to the documentation the ‘docker run' command may accept up to 56 parameters,  many of them can be added several times. In our simple case: we need
    • to link it with the petclinic-backend',
    • to manage exposed ports,
    • to mount volumes to apply the configuration,
    • to set environment variables:
  • so the generated command is : docker run -d -p 8888:8080 -link=petclinic-backend:petclinic-backend -v /home/docker/volumes/petportal:/application/properties -e "loglevel=DEBUG" -name petclinic petportal/petclinic:3.1-20150909055821

As the ‘petclinic' container needs to be linked to the ‘petclinic-backend', the xld-docker-plugin takes care to generate the steps in the right order to run first the linked container and then the other container.
Like the other middleware, the main pain point is not to call remote commands but to generate the right commands with the right configuration in the right order.
Two mains direction comes immediately:

  • the container configuration with its more than 50 parameters including the network, os, security settings: TCP port mapping, links with other containers, Memory, Privileges,....cf docker run documentation
  • the volume management, for example: The container configuration is often done by providing a set of files that need to be first uploaded to docker-machine and then mount the volume in the container; Same story when you run the container that manages data (e.g : SQL database)

In the following scenario, the configuration is managed by the ‘config' docker.Folder that contains placeholders in .properties files. When a value is modified,  the folder should be uploaded and the container restarted. The

So it can be difficult to manage the configuration for a given environment, but the application still needs to be deployed on several environment. XL Deploy's dictionaries help you. Moreover moving to Docker imply most of time moving to Microservices architecture that will imply more deployments. See the XL Deploy Docker Microservice Sample Application https://github.com/bmoussaud/xld-micropet-docker

« Does Docker announce the end of XL Deploy ?»  « Of course, not! » « Does XL Deploy help me and my organization to use Docker? »  « Of course! even XL Deploy will help your organization to move gradually to Docker. »

References

The post Docker Container Delivery vs. Traditional App Delivery in XL Deploy appeared first on XebiaLabs.

Related posts:

9 Companies You Wouldn't Expect To Be Using DevOps Docker Orchestration Made Easy Backstage with Andrew Phillips

Read the original blog entry...

More Stories By XebiaLabs Blog

XebiaLabs is the technology leader for automation software for DevOps and Continuous Delivery. It focuses on helping companies accelerate the delivery of new software in the most efficient manner. Its products are simple to use, quick to implement, and provide robust enterprise technology.

@ThingsExpo Stories
SYS-CON Events announced today that Juniper Networks (NYSE: JNPR), an industry leader in automated, scalable and secure networks, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Juniper Networks challenges the status quo with products, solutions and services that transform the economics of networking. The company co-innovates with customers and partners to deliver automated, scalable and secure network...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal ...
@GonzalezCarmen has been ranked the Number One Influencer and @ThingsExpo has been named the Number One Brand in the “M2M 2016: Top 100 Influencers and Brands” by Analytic. Onalytica analyzed tweets over the last 6 months mentioning the keywords M2M OR “Machine to Machine.” They then identified the top 100 most influential brands and individuals leading the discussion on Twitter.
SYS-CON Events announced today that Hitachi, the leading provider the Internet of Things and Digital Transformation, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Hitachi Data Systems, a wholly owned subsidiary of Hitachi, Ltd., offers an integrated portfolio of services and solutions that enable digital transformation through enhanced data management, governance, mobility and analytics. We help globa...
The buzz continues for cloud, data analytics and the Internet of Things (IoT) and their collective impact across all industries. But a new conversation is emerging - how do companies use industry disruption and technology enablers to lead in markets undergoing change, uncertainty and ambiguity? Organizations of all sizes need to evolve and transform, often under massive pressure, as industry lines blur and merge and traditional business models are assaulted and turned upside down. In this new da...
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
SYS-CON Events announced today that Hitachi, the leading provider the Internet of Things and Digital Transformation, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Hitachi Data Systems, a wholly owned subsidiary of Hitachi, Ltd., offers an integrated portfolio of services and solutions that enable digital transformation through enhanced data management, governance, mobility and analytics. We help globa...
20th Cloud Expo, taking place June 6-8, 2017, at the Javits Center in New York City, NY, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy.
SYS-CON Events announced today that Grape Up will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company specializing in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the U.S. and Europe, Grape Up works with a variety of customers from emergi...
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
Amazon has gradually rolled out parts of its IoT offerings in the last year, but these are just the tip of the iceberg. In addition to optimizing their back-end AWS offerings, Amazon is laying the ground work to be a major force in IoT – especially in the connected home and office. Amazon is extending its reach by building on its dominant Cloud IoT platform, its Dash Button strategy, recently announced Replenishment Services, the Echo/Alexa voice recognition control platform, the 6-7 strategic...
Bert Loomis was a visionary. This general session will highlight how Bert Loomis and people like him inspire us to build great things with small inventions. In their general session at 19th Cloud Expo, Harold Hannon, Architect at IBM Bluemix, and Michael O'Neill, Strategic Business Development at Nvidia, discussed the accelerating pace of AI development and how IBM Cloud and NVIDIA are partnering to bring AI capabilities to "every day," on-demand. They also reviewed two "free infrastructure" pr...
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Data is an unusual currency; it is not restricted by the same transactional limitations as money or people. In fact, the more that you leverage your data across multiple business use cases, the more valuable it becomes to the organization. And the same can be said about the organization’s analytics. In his session at 19th Cloud Expo, Bill Schmarzo, CTO for the Big Data Practice at Dell EMC, introduced a methodology for capturing, enriching and sharing data (and analytics) across the organization...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
Grape Up is a software company, specialized in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the USA and Europe, we work with a variety of customers from emerging startups to Fortune 1000 companies.
Financial Technology has become a topic of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 20th Cloud Expo at the Javits Center in New York, June 6-8, 2017, will find fresh new content in a new track called FinTech.
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...