When containers meet serverless:
a match made
in heaven
DevOps in control
By developing in containers and hosting it serverless, developers have the freedom to directly implement what they built to the infrastructure, as securely as possible. And especially this is the success formula. The container is developed by the developers themselves and by combining this with serverless, you create the huge advantage of configuring an environment that makes it easy to implement their product, flawless.
Working in this combination means developers are able to run codes themselves, without the dependence upon infrastructure and support engineers. This also means that the sharp line between operations and developers is fading, because developers are able to independently work and implement code easier and faster.
Does that mean that ultimately DevOps is a dying breed? Not entirely. Hosting containers in a serverless environment still needs DevOps to manage this, making sure the developed code in containers is successfully built, tested and deployed by using ci/cd tools. Moreover, it’s essential for DevOps to keep an eye on the infrastructure on the application level. That’s why monitoring & feedback loops are very important processes for DevOps to keep the environment stable and up and running. DevOps all in all still plays a crucial part in managing the overall process, but that doesn’t mean that the boundaries between DevOps and developers aren’t slowly fading. Because where these two groups used to clash back in the days, this technology and the way of work brings both worlds together.
The combination in practice
That containers and serverless infrastructures are a match made in heaven is the work of the Dutch fintech company Essy. This corporate start-up aims towards informing and stimulating home-owners to make their houses more sustainable. Making sure that with the right information and tools they make the most profitable, easy and trustworthy choice. This way, sustainable living becomes a natural way of living. Essy achieves this with the use of a digital platform on which they connect the right people, join forces and use smart technology to help home-owners in reaching this goal.
One of these custom build data-driven technological solutions was a calculator that helps home-owners to calculate their current energy expenditure. To put it more clearly, people that want to know how they can save energy (and money) per month, need to insert data in the calculator which analyses it all and provides the customers with a number on how much they can save each month on their energy, making their homes more sustainable. This tool used an approach of containers and serverless hosting. This way, the responsibilities within the developers and operations team were directed clearly, guaranteeing continuity and speed.
New environment within minutes
For Essy, working Azure WebApps for Containers via Microsoft’s Cloud Azure was the way to go. This Microsoft technology is the key to run Docker containers in a WebApp where application settings and variables can be injected directly in the Docker container without storing plain text keys, settings and connection strings in the configuration or within the code repo.
Custom build applications (Node.JS, Python, React, PHP) which are running within the containers are all non-Microsoft technologies which are proof that Microsoft on Microsoft only technologies is a thing of the past. Using these kinds of containers and serverless technologies makes your infrastructure (cloud) agnostic.
Keyvault was used as the heart of security to store keys, secrets and certificates. Auto-generating secrets and storing them automatically in Keyvault makes your environment password proof because there is no need to see or manually store a password. Azure WebApps have the ability to make a connection to Keyvault based on the managed identity and assigned permissions without making code changes which makes this a secure setup.
The environment was built based on ARM templates and Azure CLI, all based on the principle: infra-as-code. Developers are able to roll out new environments within minutes by executing a single-line bash command.
A perfect match
In the case of Essy, the environment was implemented in no time, which is a huge advantage for an innovative company that constantly needs to keep up in a fast paced environment. By developing within containers and hosting it serverless, not only do developers have more control in how the tool would end up like, but operations can act quickly and in better conformity with developers giving them, in turn, more control over the entire project.
More Insights?
View all InsightsQuestions?
Director of Cloud EMEA