02
Sat, Nov
2 New Articles

Serverless use cases: How enterprises are using the technology to let developers innovate

Cloud News
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Serverless, or serverless computing, is an approach to software development that empowers developers to build and run application code without having to worry about maintenance tasks like installing software updates, security, monitoring and more. With the rise of cloud computing, serverless has become a popular tool for organizations looking to give developers more time to write and deploy code.

Despite its name, a serverless framework doesn’t mean computing without servers. In a serverless architecture, a cloud service provider (CSP) handles tasks like server management, back-end infrastructure, provisioning of servers, creating backups and more. Another advantage of serverless technologies is that they allow cloud providers to provision resources on an on-demand model. With serverless, billing only starts when code execution starts and ends when it ends.

Enterprise benefits of serverless

With the growth of cloud computing, individuals and companies need to use and store data differently than they did in the past. To accomplish this, enterprises are relying more than ever on cloud functions and reducing their dependence on on-premises infrastructure. Today, all leading CSPs, including Amazon Web Services (AWS Lambda), Microsoft Azure (Azure Functions) and IBM (IBM Cloud Code Engine) offer serverless platforms.

Along with other critical infrastructure technologies, like infrastructure as a service (IaaS), platform as a service (PaaS) and function as a service (FaaS), serverless helps organizations in several important ways:

  • Increased focus on business logic: With serverless functions, developers can focus more on writing code and less on managing underlying infrastructure.
  • Decreased stack implementation: Serverless environments outsource stack implementation, the operations going on behind the scenes when you write and deploy your code to a third-party provider.
  • Reduced latency: In a serverless environment, code runs closer to the end user, decreasing its latency, which is the amount of time it takes for data to travel from one point to another on a network.
  • Shorter DevOps cycles: Serverless simplifies DevOps by allowing developers to reduce the amount of time they spend defining infrastructure needed to deploy code.

How does serverless work?

Serverless represents the latest in a series of architectures for coding environments that have been evolving to allow programmers to focus more on what they do best—writing and deploying code. The three other architectures that are relevant to the development of serverless are bare metal servers, virtual machines (VMs) and containers. Here’s a closer look at each one.

  • Bare metal servers: Bare metal architecture requires developers to configure and manage each server manually (as well as the environment where they are deploying code). In a bare metal environment, developers must install the operating system (OS), and manage patching, along with other routine and often time-consuming tasks.  
  • Virtual machines: Virtual machines (VMs) are better at resource optimization than bare metal servers, and they are also better at handling idle times. But with a VM, developers are still responsible for setting up their own environment, installing their OS and patching.
  • Containers: Popularized by Docker, containers allow deployment and application code to be packaged in a way that it can be run on any underlying infrastructure. In terms of deployment, containers are a much simpler architecture than bare metal or VMs, but aren’t ideal when it comes to scaling web apps.

Serverless and function as a service (FaaS)

In a serverless environment, function as a service (FaaS)—a service that allows customers to run code in response to events—is critical to freeing up developers from managing the underlying infrastructure. With FaaS and serverless computing, developers can exclusively focus on application development.

As we saw with bare metal, VMs and containers, hosting an app typically requires provisioning and managing a server, along with installing and managing an OS. With FaaS, the physical hardware, VM OS and web server software management are all handled by the CSP. FaaS allows developers to deploy serverless applications and workflows seamlessly, and the terms FaaS and serverless are often used interchangeably.

Serverless and platform as a service (PaaS)

Platform as a service (PaaS) is a cloud computing model that provides customers a complete cloud platform that’s more cost-effective and less complex than building and maintaining a platform on-premises. While both serverless and PaaS architectures keep the backend invisible to developers, the similarities end there. PaaS environments offer more control over deployment environments but also require more management.  Applications in PaaS must be manually configured to scale and can take longer to spin up than with serverless.

Serverless and Infrastructure as a service (IaaS)

Infrastructure as a service (IaaS) is a cloud service that delivers resources like compute, servers and VMs over the internet on a pay-as-you-go basis. IaaS lets users scale quickly, reducing the need for high, up-front capital expenditures that come with buying, setting up and maintaining on-premises infrastructure. In an IaaS model, users buy capacity upfront. In a serverless model, an event triggers app code to run. Essentially, IaaS charges users upfront for resources while serverless only charges users for the time code was actually executing.

Enterprise use cases for serverless

As cloud computing continues to expand, and businesses look for new ways to leverage the technology to create new business value, serverless use cases are growing rapidly.

Artificial intelligence (AI) and machine learning (ML)

The last few years have seen massive growth in business use cases for artificial intelligence (AI) and machine learning (ML) applications, especially in generative AI. Specifically, serverless helps enable something called event-driven AI, where a constant flow of intelligence informs real-time decision-making capabilities. Additionally, serverless can help solve the challenge of scalability when it comes to building new AI and ML solutions by allowing developers to focus on training instead of the underlying infrastructure.

Microservices

Microservices architectures are one of the most popular use cases for serverless. Microservices models are a cloud-native architectural approach in which a single application is composed of many loosely coupled and independently deployable smaller components or services. Serverless computing’s capabilities around small bits of code, automatic scaling, rapid provisioning and its on-demand pricing model make it ideal for microservices architectures.

Hybrid cloud

Hybrid cloud combines public cloud, private cloud and on-premises infrastructure to create a single, flexible, cost-optimal IT infrastructure. Serverless helps support enterprises who are adopting a hybrid cloud strategy by providing the agility, flexibility and scalability needed to accommodate fluctuating workloads across different cloud environments, including public, private and edge

Big data analytics

Serverless dramatically reduces the cost and complexity of writing and deploying code for big data applications. Serverless environments allow developers to focus on their code and business logic, rather than all the routine tasks of managing infrastructure. Additionally, serverless’ always-on capabilities mean data pipelines can be designed in a way to react to real-time changes in data and change application logic accordingly. Today, serverless helps developers build scalable big data pipelines without having to manage the underlying infrastructure.

Internet of Things (IoT)

Serverless’ event-driven capabilities, automation and high scalability make it ideal for the data processing required by Internet of Things (IoT) applications. Automated serverless functions are stateless and designed to handle individual events. Additionally, serverless’ flexible compute power allows developers building IoT applications to adapt to a wide range of connection and data processing needs when they are working with widely dispersed nodes. As the number of IoT devices grows, serverless is uniquely poised to assist developers in providing strong foundations for the event-driven data analytics critical to IoT applications.  

API gateways

An API gateway is software that takes an application user’s request, routes it to one or more backend service, gathers the appropriate data and delivers it to the user in a single, combined package. Serverless models are used as proxies to web application actions and provide HTTP method routing, client ID and secrets, rate limits, CORS, viewing API usage, viewing response logs and API sharing policies.

In a serverless model, the API gateway can be used to build REST API services and trigger code associated with each event. Events and functions in a serverless environment can be transformed into HTTP endpoints. These actions—known as “web actions”—can be collected into a full-featured API with an API gateway that adds an additional layer of security and customized support. Additionally, API gateways give developers the ability to access a variety of tailored integrations for authentication that can help reduce time-to-market while complimenting developer productivity.

Chatbots

Chatbots like IBM watsonx Assistant and Microsoft’s ChatGPT are well suited for serverless environments because of serverless’ pay-as-you-go pricing model that doesn’t require users to pay for resources they aren’t using. Serverless helps organizations of all sizes use chatbots for a variety of tasks, such as increasing customer engagement and automating services that previously required human input.

Embarrassingly parallel tasks

Serverless runtimes are well suited to embarrassingly parallel tasks, which are compute tasks that can be easily broken up into smaller tasks and performed in parallel This is because in a serverless architecture, each parallelizable task can result in the invocation of an action. In a serverless environment, embarrassingly parallel workloads can be split into many sub-tasks, all running independently from each other. 

Examples of parallel tasks on a serverless runtime include Monte Carlo simulations, batch processing, video transcoding, processing objects on object storage, model scoring, web scraping and business data streams.

Learn more

As organizations of all sizes, and across a wide range of industries, seek to leverage cloud computing to help achieve their digital transformation goals, serverless computing is playing a pivotal role. By freeing developers from mundane tasks like installing and updating OS, provisioning servers and scaling infrastructure, serverless environments help developers to focus on business logic and writing and deploying code.

Explore Serverless on IBM Cloud

IBM is a leading global hybrid cloud and AI, and business services provider, helping clients in more than 175 countries capitalize on insights from their data, streamline business processes, reduce costs and gain the competitive edge in their industries. Nearly 3,000 government and corporate entities in critical infrastructure areas such as financial services, telecommunications and healthcare rely on IBM's hybrid cloud platform and Red Hat OpenShift to affect their digital transformations quickly, efficiently, and securely. IBM's breakthrough innovations in AI, quantum computing, industry-specific cloud solutions and business services deliver open and flexible options to our clients. All of this is backed by IBM's legendary commitment to trust, transparency, responsibility, inclusivity, and service.

For more information, visit: www.ibm.com.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: