What are the Capabilities of the AWS Serverless Platform?

AWS Serverless Platform

AWS serverless compute services allow to build and deploy applications on AWS cloud without having to manage the servers. AWS serverless platform enables vendors to deploy cloud solutions without server provisioning, deploying, maintaining and monitoring applications, databases or storage servers. It contains features like customized configuration, easy maintenance, strong security, scalability, high availability, monitoring etc.

What is Serverless Platform?

Serverless does not mean to execute application without servers. It is a model followed by cloud providers, where provider manages machine and resources on their own infrastructure, and provides services via dynamic allocation of machines and resources to build and run applications and services, which is known as “BaaS” (Business as a service) or “FaaS” (Function as a service) where code is executed in ephemeral Containers. Pricing is based on resources consumed during execution of task.

Capabilities of the AWS Serverless Platform

Cloud Logic Layer
AWS Lambda can act as logic layer for all containerized and microservices applications

Orchestration Management
Coordinate and manage the state of each distributed component of serverless application using AWS Step functions

Application Lifecycle Management
Continuously deliver your serverless applications using lifecycle management tools such as AWS CodePipeline

Security and Access Control
Secure entire environment and AWS Resources with AWS IAM (Identity and Access Management) and Amazon VPC (Virtual Private Cloud)

Reliability and Performance
AWS provides highly available, scalable and secure services at lower cost

Global Scale and Reach
AWS offers a broad set of global products. Mostly all serverless services are available in multiple AWS Regions

Serverless application

Fig 1 – AWS Serverless Services

Serverless Application Use Cases

Web Applications

Build Serverless web applications that automatically scale up and down and run in highly available configuration across multiple available AWS Regions with zero infrastructure effort required for scalability using Amazon S3, Amazon API Gateway, AWS Lambda and Amazon DynamoDB.

What Are The Capabilities of the AWS Serverless Platform?

Real-time File Processing

After uploading the data in Amazon S3, S3 is able to trigger AWS Lambda to process the data instantaneously. AWS Lambda can be used to generate thumbnail images, transcode videos, index files, process logs, validate content, aggregate and filter data in real-time.

Real-Time Stream Processing

It is possible to process the real-time streaming data in AWS through AWS Kinesis and AWS Lambda. Streaming data sources could be application activity tracking, data cleansing, log filtering, indexing, social media analysis, transaction under processing and IoT device data telemetry and metering.

Mobile Backends

Build backend to authenticate and process API requests through AWS Lambda and Amazon API Gateway.

Benefits

  • Reduced Cost – Serverless computing pricing model is pay-as-you-go. It costs for resources one consumes and nothing when application doesn’t run. Also, AWS take care of infrastructure maintenance and updates so developers can spend more time on software development.
  • Elastic scalability — A serverless architecture in AWS has the potential to scale up and down according to application workload.
  • Reduced responsibilities for developers and faster releases — Developers don’t need to worry about resource distribution, scaling, application deployment and workload intensity. AWS handles these issues for serverless architecture. Developers should only compile their code, zip it, and upload it to the new serverless platform to deploy new functions.
  • Multi-language support — AWS serverless platforms support multiple programming languages like Node, Java, Python, C#, Ruby, Go etc., so developers can choose the most convenient option for themselves.
  • Built-in logging and monitoring mechanisms — AWS has developed its own solutions for user logging and monitoring. In addition, it also offers automated security assessment that improves compliance of application deployed on AWS.

Challenges

  • Cold start — Key benefit of serverless computing is dynamic allocation of resources, due to which vendors don’t need pay for idle time. However, sometimes this may results in invocation latency.
  • Resource limits — Serverless computing imposes limits on resources memory, execution time, bandwidth, and CPU usage, e.g. the maximum execution time per request is 900 seconds (or 15 minutes) for AWS Lambda.
  • Inadequate application testing — Serverless infrastructure enables to test small functions of an application independently but it may be challenging to test the infrastructure and the combination of all functions.
  • Increased security concerns — There are limited options for identifying problems and bottlenecks if any malicious code or attack occurs on lambda functions. Developers also have no full access over the AWS servers.
  • Access to the file system level — A serverless architecture isn’t the best choice for software that requires access to the file system or operating system level. These types of applications need to do things such as read attributes from configuration files or split in-memory cache to disk, but serverless functions don’t allow this.Serverless functions are stateless so whenever applications require state, serverless functions are not a good fit.

Serverless services make applications easier to scale and faster to develop without managing typical server-based infrastructure. Developers can focus more on core products instead of operating servers. As a result of which more and more organizations are preferring serverless platforms.

By Aarti Parikh

Torsten

Five Ways to Secure Access to Web Workloads

Secure Access to Cloud Workloads Organizations are increasingly moving their workloads to the cloud to achieve greater agility, flexibility, and cost savings. That’s a major reason why worldwide spending on public cloud services and infrastructure ...
Kip Compton

What’s Ahead for Cloud

The Cloud 2018 was an incredible time for cloud. Its impact on customer experiences, business processes and models, and workforce innovations was undeniable. We saw more and more use cases where customers started leveraging multiple ...
Alex Brisbourne

Industrial IoT Cyberattacks Continue To Rise

IoT Industrial Security The Internet of Things (IoT) includes both traditional electronics and everyday ‘things’ embedded with sensors, computing, and networking capabilities. From smart coffee makers and smart homes to smart lighting and smart cities, ...
Cloud Image Migration

The Best Web Migration Should Be Invisible to Your Customers

How you approach a migration of your assets to the AWS Cloud is important to getting it right When the British-bank TSB decided to migrate to the Amazon Web Services (AWS) cloud in 2017, they ...
Dan Saks 1

How to Transform to Succeed in the Digital Economy

Succeed in the Digital Economy In today’s increasingly competitive business climate, companies must put digital technologies at the core of their operations. In order to avoid the same fate as companies like Sears or Yellow ...
Google Prog

Working with security researchers to make the web safer for everyone

Working with security researchers What do a 19-year-old researcher from Uruguay, a restaurant owner from Cluj, Romania and a Cambridge professor have in common? They’re all security researchers—a global community of professionals, academics, students and ...