{"id":6012,"date":"2019-05-20T12:29:29","date_gmt":"2019-05-20T05:29:29","guid":{"rendered":"http:\/\/54.151.235.32\/?p=6012"},"modified":"2021-03-03T18:00:26","modified_gmt":"2021-03-03T11:00:26","slug":"serverless-vs-containers-how-to-differentiate","status":"publish","type":"post","link":"https:\/\/renovacloud.com\/en\/serverless-vs-containers-how-to-differentiate\/","title":{"rendered":"Serverless vs. Containers.  How to differentiate  ?"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/renovacloud.com\/en\/the-end-of-vms-the-rise-of-serverless-containers\/\">Serverless<\/a> functions and containers are two of the hottest topics in the IT world today. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">They\u2019re also two technologies that share a lot in common, after all, both are basically ways to deploy code inside isolated, discrete environments. <\/span><\/p>\n<p><b>They are by no means identical technologies, but in the abstract, they function in similar ways.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Much confusion exists about best practices and security management and how they differ between serverless and containers. Among the issues to consider, you must decide how to change your architecture strategy when dealing with serverless functions as opposed to containers.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h4><b><i>What is Serverless, What are Containers and What Do They Have in Common?<\/i><\/b><\/h4>\n<p><span style=\"font-weight: 400;\">A detailed definition of serveless computing and containers is beyond the scope of this article. But here are quick definitions: <\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Serverless computing refers to an architecture in which code is executed on-demand. Serverless workloads are typically in the cloud, but on premise serverless\u00a0\u00a0platforms exist, too.<\/span><\/li>\n<li style=\"font-weight: 400;\">Containers provide portable environments for hosting an application, or parts of an application. The most common container platform today is\u00a0<a href=\"https:\/\/www.twistlock.com\/solutions\/docker-security\/\" rel=\"noopener\">Docker<\/a>, although the containerization concept dates back to the introduction of the chroot call to Unix in the late 1970s.<\/li>\n<\/ol>\n<p><b><i>Serverless adoption is growing<\/i><\/b><\/p>\n<p><span style=\"font-weight: 400;\">According to the New Stack, over 75 percent of organizations are already using or planning to use serverless in the next 18 months.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">From AWS Lambda to Google Cloud Functions enterprises have more cloud provider options than ever before when integrating serverless into their application portfolio.<\/span><\/p>\n<p><b><i>What is serverless?<\/i><\/b><\/p>\n<p><span style=\"font-weight: 400;\">Serverless computing provides a way to deploy snippets of code aka functions triggered by predefined events. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">When serverless technology is deployed correctly, it can save money, time, and resources all while allowing developers to focus on writing code rather than solving infrastructure issues. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Developers don\u2019t need to think about the underlying infrastructure, just their code and the corresponding business logic. Serverless lower financial costs by scaling to zero. When applications aren\u2019t running, they don\u2019t consume computing resources.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Serverless allows enterprises to run snippets of code in the cloud.<\/span><\/p>\n<p><b>Containers provide portable environments for hosting an application, or parts of an <\/b><b>application.<\/b> <span style=\"font-weight: 400;\">The most common container platform today is Docker, although the containerization concept dates back to the introduction of the chroot call to Unix in the late 1970s.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">While serverless functions and containers are designed to meet different needs and are deployed using different tools, they share a lot in common:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">They allow you to deploy finite pieces of code and are therefore well suited for microservices architectures.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">They are easy to deploy across distributed architectures. For that reason, you commonly see them being used in the cloud.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Serverless functions and containers start quite quickly (usually within a few seconds)<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Both rely heavily on APIs to coordinate their integration with external resources.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Both do not typically have built-in persistent storage; instead, they rely on external resources for persistent storage needs.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">They are frequently used to build immutable infrastructure (although strictly speaking, not all serverless or containerized architectures are necessarily immutable)<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The list could go on, but these are the essential traits that containers and serverless functions share in common for Managing and Securing Serverless vs. Containers.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Given the similarities described above, you might think that the strategy you use for managing and securing serverless functions can be employed for containers, too. You\u2019d be right to an extent. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are as well key components of a software management and security strategy and containers can access. You don\u2019t want a coding flaw or security breach inside your The bottom line In short, containers and serverless are similar in several key respects and the strategies you use to manage them and keep them secure should be similar, too. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, there are some very important differences when it comes to managing and securing certain dimensions of a serverless or containerized workload, such as the extent of the responsibility you bear for the host environment and the tools you can use.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In a simple world, your container and serverless strategies could be identical, but in the real world, you have to factor these variations in when you make a plan for keeping your serverless functions and containers lean, mean and secure. In this article, we\u2019ve covered only the basics. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Source:\u00a0<\/span><a href=\"https:\/\/thenewstack.io\/\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/thenewstack.io<\/span><\/a><span style=\"font-weight: 400;\">: <\/span><a href=\"https:\/\/thenewstack.io\/key-differences-in-security-management-for-serverless-vs-containers\/\" rel=\"noopener\"><span style=\"font-weight: 400;\">originally appeared in The New Stack<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Serverless functions and containers are two of the hottest topics in the IT world today. They\u2019re also two technologies that share a lot in common, after all, both are basically ways to deploy code inside isolated, discrete environments. They are by no means identical technologies, but in the abstract, they function in similar ways. [&#8230;]\n","protected":false},"author":7,"featured_media":6013,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-6012","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-and-analytics"],"_links":{"self":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts\/6012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/comments?post=6012"}],"version-history":[{"count":0,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts\/6012\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/media\/6013"}],"wp:attachment":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/media?parent=6012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/categories?post=6012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/tags?post=6012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}