Home Blog Page 767

Red Hat Composes Ansible to Help Build Containers

Red Hat expands its DevOps platform to enable developers to more easily build their own containers.

Red Hat is expanding its open-source Ansible platform with a new module called Ansible Container that enables organizations to build and deploy containers. Ansible is a DevOps automation platform technology that Red Hat acquired in October 2015.

A popular option of many Docker container developers today is to use the Docker Compose tool to build containers. The new Ansible Container effort isn’t necessarily competitive with Docker Compose; in fact, it can be used in a complementary way, according to Greg DeKoenigsberg, director of Ansible Community with Red Hat. Developers don’t have to stop using Docker Compose; rather they can literally copy and paste or reference Docker Compose right from an Ansible playbook with Ansible Container, he said.

Read more at eWeek

Running Distributed Applications at Scale on Mesos from Twitter and CloudBees

A recurring theme in our MesosCon North America 2016 series is solving difficult resource provisioning problems. The days of investing days or even weeks in spec’ing, acquiring, and setting up hardware and software to meet increased workloads are long gone. Now we see vast provisioning adjustments taking place in seconds.

Twitter invented something they call “magical operability sprinkles” to handle Twitter’s wildly varying workload demands, which spike from little activity to millions of tweets per minute. These magic sprinkles are built on Finagle, linkerd, and Apache Mesos, and magically provide both massive scalability and reliability.

CloudBees took on the challenge of building a giant Jenkins cluster, possibly the largest one in existence, using Docker and Mesos. They run Jenkins masters in Docker containers and spin up Jenkins slaves on demand. It is a clever structure that solves the difficult problems of scaling Jenkins and of providing isolation for multiple discrete users.

What happens when a container exceeds its memory quota.

Finagle, linkerd, and Apache Mesos: Magical Operability Sprinkles for Microservices

Oliver Gould, CTO of Buoyant

Back in the olden days of Twitter (2010), getting more hardware resources involved bribes of whiskey to the keeper of the hardware, because resources were so scarce. It was an acute problem; Twitter was growing rapidly and was not keeping up with the growth. Consequently, they suffered frequent outages, to the point that during the 2010 World Cup Twitter staff were chanting “Please no goals. Please no goals.” Giant spikes could happen at any time, so their most pressing problem was “How do you provision for these peaks in a way that doesn’t cost you way too much money, and still keep the site up when this happens?”

Oliver Gould explains Twitter’s approach to building both scalability and reliability. “This is a quote from a colleague of mine at Twitter, Marius Eriksen. ‘Resilience is an imperative. Our software runs on the truly dismal computers we call data centers. Besides being heinously complex …they are unreliable and prone to operator error.’ Think about this a second. If we could run a mainframe, one big computer, and it never would fail, whywouldn’t we use that?…We can’t do that. That’s way too expensive to do. Instead, we’ve built these massive data centers, with all commodity hardware and we expect it to fail continuously. That’s the best we can do in computing. We can build big data center computers out of crappy hardware, and we’re going to make that work.”

Another problem is slowness. “’It’s slow’ is absolutely the hardest problem you’ll ever debug. How do we think about slowness in a distributed system? Here, we have 5 services talking to 4 services, or however many. When one of these becomes slow, this isn’t proportional to the slowness downstream. This spreads like wildfire…Load balancing is probably the sharpest tool we have for this,” Gould says.

Microservices and Finagle are key to solving these problems. A microservice is not necessarily small in size, and it may require a lot of CPU or memory. Rather, it is small in scope, doing only one thing and doing it well. So, instead of writing giant complex applications, Twitter engineers can quickly write, test, and deploy microservices. Finagle is a high-concurrency framework that manages scheduling, service discovery, load balancing, and all the other tasks that are necessary to orchestrate all these microservices.

Watch the complete presentation below:

https://www.youtube.com/watch?v=VGAFFkn5PiE?list=PLGeM09tlguZQVL7ZsfNMffX9h1rGNVqnC

CI and CD at Scale: Scaling Jenkins with Docker and Apache Mesos

Carlos Sanchez, CloudBees

The Jenkins Continuous Integration and Continuous Delivery automation server is a standard tool in shops everywhere. Jenkins is very adaptable for all kinds of workloads. For example, a software company could integrate Jenkins with Git, GitHub, and their download servers to automate building and publishing their software, its documentation, and their web site.

Scaling Jenkins, Sanchez notes, involves tradeoffs. You can use a single master with multiple build agents, or multiple masters. With a single master “The problem is that the master is still a single point of failure. There’s a limit on how many build agents can be attached. Even if you have more and more slaves, there’s going to be a point where the master is not on the scale or you’re going to have a humongous master… The other option is having more masters. The good thing is that you can have multiple organizations, departments with our own Jenkins master. They can be totally independent. The problem obviously is you need now single sign on. You need central configuration and operation. You need a view over how to operate all these Jenkins Masters that you run.”

“What we built was something that it was like the best of both worlds…We have the CloudBees Jenkins Operation Center with multiple masters, and also dynamic slave creation only to master.”

The CloudBees team built their Jenkins Operation Center with Mesosphere Marathon, and installed the Mesos cluster with Terraform. Other components are Amazon Web Services, Packer for building the machine images, OpenStack, Marathon for container management, and several more tools. They had to solve permissions management, storage management, memory management, and several other complexities. The result is a genuine Jenkins cluster for multiple independent users that scales on demand.

Watch the complete presentation below:

https://www.youtube.com/watch?v=XVE3uCRtHVs?list=PLGeM09tlguZQVL7ZsfNMffX9h1rGNVqnC

Mesos Large-Scale Solutions

You might enjoy these previous articles about MesosCon:

4 Unique Ways Uber, Twitter, PayPal, and Hubspot Use Apache Mesos

How Verizon Labs Built a 600 Node Bare Metal Mesos Cluster in Two Weeks

And, watch this spot for more blogs on ingenious and creative ways to hack Mesos for large-scale tasks.

mesoscon-video-cta-2016.jpg?itok=PVP-FqWv

MesosCon Europe 2016 offers you the chance to learn from and collaborate with the leaders, developers and users of Apache Mesos. Don’t miss your chance to attend! Register by July 15 to save $100.

Apache, Apache Mesos, and Mesos are either registered trademarks or trademarks of the Apache Software Foundation (ASF) in the United States and/or other countries. MesosCon is run in partnership with the ASF.

Get Networking Out of the Way for App Development

The modern tech business is all about networking infrastructure. For a leading company, the power to communicate effectively with its IT assets is vital. However, that same networking can be a wall to development process; how does a team develop for an environment that is always shifting and changing? Removing the networking concern is a top priority for any business that wants to be efficient and agile.

“The network has to get out of the way to create developer efficiency; how do you make that happen?” Sunil Khandekar asked, opening the conversation. He explained how companies have dynamic environments, but there was a way for networking to tie those environments seamlessly together. A network-based automation platform allows any workload to come together for quick application deployment.

Read more at Silicon Angle

As Red Hat Aims for $5 Billion in Revenue, Linux Won’t Be Only Driver

Last year Red Hat, which has been mostly known for selling Linux in the enterprise becamethe first $2 billion open source company. Now it wants to be the first to $5 billion, but it might not be just Linux that gets it there.

A couple of years ago Red Hat CEO Jim Whitehurst recognized, even in the face of rising revenue, that the company couldn’t continue growing forever featuring Red Hat Enterprise Linux (RHEL) alone. As successful as RHEL had been, the world was changing and his company like so many enterprise-focused companies had to change too or risk being left behind.

To quote that old Microsoft commercial that meant, “To the cloud!

Read more at TechCrunch

How to Upgrade Fedora 23 to Fedora 24 Workstation

Fedora 24 general release was announced yesterday and many users are now hoping to upgrade to the latest edition of the popular Linux distribution. In this how to guide, we shall look at the…

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]

Linux’s RPM/deb Split Could Be Replaced By Flatpak vs. Snap

Linux developers are going to have more than one choice for building secure, cross-distribution applications.

Ubuntu’s “snap” applications recently went cross-platform, having been ported to other Linux distros including Debian, Arch, Fedora, and Gentoo. The goal is to simplify packaging of applications. Instead of building a deb package for Ubuntu and an RPM for Fedora, a developer could package the application as a snap and have it installed on just about any Linux distribution.

But Linux is always about choice, and snap isn’t the only contender to replace traditional packaging systems. Today, the developers of Flatpak (previously called xdg-app) announced general availability for several major Linux distributions, with a pointer to instructions for installing on Arch, Debian, Fedora, Mageia, and Ubuntu.

Read more at Ars Technica

Intel Chips in with Blockchain Code for Hyperledger

The Linux Foundation’s Hyperledger Project has another big name on board: Intel.

The project was announced in December, but got its first serious impetus back in February when IBM slung its blockchain code into the effort.

During this month, the project has coalesced further, and is on the prowl for more contributors.

A joint proposal between IBM and Digital Assets has now become “Fabric,” an incubator-level project (under active development but not yet production-ready) that the two hope will form the foundation code base of Hyperledger.

Read more at The Register

Fedora 24 Linux Distribution Officially Released, Available for Download Now

Today, June 21, 2016, Fedora Project has announced the general availability of the final release of the Fedora 24 Linux operating system for desktops, servers, cloud, and embedded devices.

Delayed four times during its development cycle, the Fedora 24 distribution is finally available to download today. It looks like it ships with the usual Fedora Workstation, Fedora Server, and Fedora Cloud variants, as well as the official Fedora Spins with the Xfce, LXDE, KDE, MATE/Compiz, Cinnamon, and Sugar desktops.

Of course, users will also be able to get their hands on the Fedora 24 Labs Spins, which include Design Suite, Games, Robotic Suite, Scientific, and Security Lab. Under the hood, all the aforementioned editions and spins are shipping with the same core components, namely Linux kernel 4.5.7 and GNU C Library version 2.23.

Users should be aware of the fact that Linux kernel 4.5.7 is the last in the Linux … (read more)

Keynote: More Fun, Less Friction: How Open Source Operations Will Take Big Data to the Next Level

https://www.youtube.com/watch?v=yyOe7d4iXe0

Solving operational difficulties with a modular, easy-to-use system was the solution Mark Shuttleworth laid out in his keynote entitled “More Fun, Less Friction” at Apache Big Data in Vancouver in May.

“If we take the friction out, we can unleash all sorts of creativity,” Shuttleworth said.  

What is DevOps? Patrick Debois Explains

Patrick Debois is best known as the founder of DevOpsDays and as a creator of the DevOps movement, which explains why some refer to him as the “Godfather of DevOps”. As CTO of Small Town Heroes, an interactive video company, he puts these DevOps practices to the test on a daily basis to deliver mobile applications, and he recently organized a new event, Mobile Delivery Days.

Patrick Debois is the CTO of Small Town Heroes and Godfather of DevOps.
Linux.com: Why are so many organizations embracing DevOps?

Patrick Debois: Some organizations, of course, will just do it because it is a buzzword. I hope most organizations implement it to be more competitive in their business and become more efficient. In the early days, this was to be ahead of the pack, but these days it’s a must to survive amongst others implementing it.

Linux.com: Why are individuals interested in participating?

Patrick: The cultural aspect of collaboration gives everyone an equal seat at the table; both dev and ops are important. And this means there is more mutual respect. This also creates more empathy for each other’s problems, resulting in nicer environment to work in.

Linux.com: What’s the primary advantage of DevOps?

Patrick: The biggest advantage is the insight that we work in a system. We have to optimize for the whole system and not just for the silo. By optimizing for the whole, we are improving for the business, not just for IT.

Linux.com: What is the overwhelming hurdle?

Patrick: We’ve been structured in the past to believe that putting different expertises in different groups makes them most efficient. Idle time is considered to be bad. Many people, individuals and bosses alike, believe that empowering individual people just doesn’t work. I used the word “believe” on purpose because in some cases it’s exactly that. Do you believe putting people together and having them collaborate is more efficient than strict documentation and rules? Overcoming that hurdle is the hardest one.

Linux.com: What advice would you give to people who want to get started in DevOps?

Patrick: To think. This might sound like strange advice, but many will get to know DevOps through some tool that is related to DevOps practices. The tools are important, but they only get you so far. I never wanted to set anything in stone, so people had to keep thinking. If you do need a guideline, think of the Agile Manifesto but with a broader mind. Find your most important bottleneck, and try to work together with different groups to improve on it. As you solve one bottleneck, you’re likely to find that your bottleneck has now moved to a new location. For example, you solve the bottleneck in your delivery pipeline, and then you find that the bottleneck has moved to your HR policy for hiring.

Learn more about DevOps from leaders in the field.

Read these Q&As with Kris Buytaert, one of the instigators of the current DevOps movement and organizer of DevOpsDays and Config Management Camp, and Michael Ducyknown by many as the goat whisperer and co-host of the Goat Farm podcast and blog focused on DevOps in the enterprise.