Serverless Cloud Computing

 

This is part 1 in a 2-part series on serverless cloud computing.

Rapidly expanding connectivity options and increased development in more secure cloud infrastructures are leading organizations to research, migrate, and develop applications in the cloud. These organizations are taking advantage of a reliable, scalable, and secure managed infrastructure to form the basis of their development environments. Cloud providers, like AWS, are expanding services at a rapid rate to meet demand; serverless computing is one of these features in the AWS Well-Architected Framework.

The AWS Well-Architected Framework

The five pillars of the Well-Architected Framework, according to AWS, are operational excellence, security, reliability, performance efficiency, and cost optimization. Each pillar has associated principles and best practices to ensure AWS architecture and applications are designed and built with the optimal design.

AWS 5 Pillars of Well-Architected Framework

  1. Security – the ability to protect information, systems, and assets while delivering business value, through risk assessments and mitigation strategies.
  2. Reliability – A system’s ability to recover from infrastructure or service disruptions; dynamically acquire computing resources to meet demand; and mitigate disruptions, such as misconfigurations or transient network issues.
  3. Performance Efficiency – the ability to use computing resources efficiently to meet system requirements, and to maintain efficiency as demand changes and technologies evolve.
  4. Cost Optimization – the ability to avoid or eliminate unnecessary costs or suboptimal resources.
  5. Operational Excellence – the ability to run and monitor systems to deliver business value and to continually improve supporting processes and procedures.

Within the Performance Efficiency pillar, AWS introduces Serverless Architecture as a key design principle. With rapidly expanding connectivity options and development in more secure cloud infrastructures, enterprises aim to take advantage of these managed infrastructures and build new development and production environments on serverless computing.

What is Serverless Computing?

Serverless computing is an application-centric architecture approach; it utilizes cloud infrastructure as the underlying technology. Serverless computing focuses on APIs and services to deliver content and applications to users. As one of the Top Trends in the Gartner Hype Cycle for Emerging Technologies released in July 2017, serverless computing has been a focal point for cloud service providers as they develop and release new services.

 

Gartner Hype Cycle 2017

As part of this trend, Amazon Web Services (AWS) has developed a multitude of service offerings that support serverless architecture, including a serverless application model.  AWS CodeCommit, AWS CodePipeline, and AWS CodeDeploy were developed to support the AWS cloud software development lifecycle and application development.  For organizations to develop the most secure, high-performing, resilient and efficient applications, the underlying infrastructure architecture must align with the five pillars of AWS Well-Architected Framework.

Serverless Application Development

We defined serverless earlier as using cloud infrastructure, APIs, and services to deliver applications, so what services do we use and how are we leveraging the AWS Well-Architected Framework? The following example shows an example of the services and flow of a serverless application:

 

Serverless Application Example

 

The user interface code is served to the user from an S3 bucket, the REST API calls the Lambda, which houses the code that retrieves the data for the Weather App from the DYNAMODB and back to the user.  As simple as it seems, this is a perfectly architected, secure and reliable application using only AWS services and APIs and leveraged AWS Well-Architected Framework.

  1. Security – There are no front-end servers to attack, so the footprint is much smaller. The organization can use CloudFront, WAF, and Shield for defense.
  2. Reliability – Lambda is run on highly available infrastructure and automatically administers capacity, scaling, monitoring, and logging for the application.
  3. Performance Efficiency – Serverless architecture is a design principle for performance efficiency; it allows the organization to utilize multiple efficiency gains as the application is updated or services become available.
  4. Cost Optimization – The serverless architecture only requires that you pay for what you use, and the managed services from AWS reduce the cost of ownership for the application. Any efficiency gained in the application development will lead to lower costs.
  5. Operational Excellence – Serverless application developers don’t need to worry about the underlying infrastructure and can develop and deploy as they see fit. Small, frequent changes can be reversed easily because they only have to redeploy the code to Lamba if there is an issue.

AWS provides a blueprint on how organizations can develop secure, reliable, and scalable applications in the cloud while limiting costs, administration, and failures within a serverless environment.

Click here to learn more about our Cloud + Edge Computing practice. Want to continue the conversation? Contact us at insights@enaxisconsulting.com.