You are on page 1of 8

ARGHA GHOSHSTREAM: CSE

SEC: ACLASS ROLL: 31


NETAJI SUBHASH ENGINEERING COLLEGE
SERVERLESS COMPUTING PROJECT
Serverle
ss
 IntroductiComputi
on:
ng
Serverless computing is a cloud computing execution model in which the
cloud provider allocates machine resources on demand, taking care of
the servers on behalf of their customers. Serverless computing does not
hold resources in volatile memory; computing is rather done in short bursts
with the results persisted to storage. When an app is not in use, there are
no computing resources allocated to the app. Pricing is based on the actual
amount of resources consumed by an application. It can be a form of utility
computing. "Serverless" is a misnomer in the sense that servers are still
used by cloud service providers to execute code for developers. However,
developers of serverless applications are not concerned with capacity
planning, configuration, management, maintenance, fault tolerance, or
scaling of containers, VMs, or physical servers.
Serverless computing can simplify the process of deploying code into
production. Serverless code can be used in conjunction with code deployed
in traditional styles, such as microservices or monoliths. Alternatively,
applications can be written to be purely serverless and use no provisioned
servers at all. This should not be confused with computing or networking
models that do not require an actual server to function, such as peer-to-
peer (P2P).

 Technolog
y Stack:
The serverless stack is just one example of how an application can be built
using serverless technologies. In this case we are building a web application
with a UI, API, and async tasks. We use the CIM cli utility to create and
update the stack and to deploy the Lambda code.
This stack consists of 3 smaller stacks. All pre-built as CIM templates.

 UI — Static S3 Website, CloudFront, SSL


 API — API Gateway, Lambda, SSL
 Async Tasks — SNS, Lambda


Implement
aion of computing enables developers to build applications faster by
Serverless
eliminating the need for them to manage infrastructure. With serverless
Serverles
applications, the cloud service provider automatically provisions, scales and
smanages the infrastructure required to run the code.
Computin
In understanding the definition of serverless computing, it is important to
g:note that servers are still running the code. The serverless name comes
from the fact that the tasks associated with infrastructure provisioning and
management are invisible to the developer. This approach enables
developers to increase their focus on the business logic and deliver more
value to the core of the business. Serverless computing helps teams
increase their productivity and bring products to market faster and it allows
organizations to better optimize resources and stay focused on innovation.

 Cloud
Services:
The modern age of serverless computing began with the launch of AWS
Lambda, a platform based on Amazon’s cloud service, in 2014. Microsoft
followed suit with Azure Functions in 2016. Google Cloud Functions,
which had been in beta since 2017, finally reached production status in July
2018. The three services have slightly different limitations, advantages,
supported languages, and ways of doing things. Also in the running is IBM
Cloud Functions, which is based on the open source Apache OpenWhisk
platform.

 Serverle
ss
Computin
g
Architectu
re:

A recent survey by O’Reilly suggests that 88% of organizations use cloud


computing in some form. This means, businesses are shifting their focus
from storage capacity and infrastructure setup to increasing productivity
and streamlining agile work culture. The need to efficiently allocate
resources, enhance application performances at optimized costs, and
manage software development tasks has compelled organizations to
embrace cutting-edge architectures like serverless or, at the very least,
adapt to a hybrid environment.

 How
Serverless
Works:
Developers rely on serverless to execute specific functions. Because of this,
cloud service providers offer Functions as a Service (FaaS). Below, you can
see how functions are written and executed in a serverless way.

1. The developer writes a function. This function often serves a


specific purpose within the application code.

2. The developer defines an event. The event is what triggers the


cloud service provider to execute the function. A common type of
event is an HTTP request.

3. The event is triggered. If the defined event is an HTTP request, a


user triggers the event with a click or similar action.

4. The function is executed. The cloud service provider checks if an


instance of the function is already running. If not, it starts a new one
for the function.

5. The result is sent to the client. The user sees the result of the
executed function inside the application.

 Future
Prospects
Notofone, not two, but four reports so far have shown serverless computing
displaying an incredible growth rate, becoming one of the hottest cloud-
serverless
related technologies. Here, we have a closer look at the 2018 State of the
Computin
g:
Cloud report by Cloudability and we engage in a short discussion on
serverless’ future prospects.

 According to the RightScale 2018 State of the Cloud report, serverless


computing is the number one growing cloud service with a growth rate
of 75%.
 Currents 2018 report asked the participants to rank the most beneficial
aspects of serverless computing as well as the biggest challenges to its
adoption. The reduction of costs related to the server provisioning was
ranked the number one beneficial aspect, while the difficulty to monitor
and debug was the biggest challenge.
 The Cloud Foundry 2018 report showed that 46% of surveyed
companies use serverless computing and that serverless technology is
growing at a rapid pace.

 Concl
usion:
That brings to a conclusion our what is Serverless Computing. And, in
review, we gained an understanding of what serverless computing is, how
serverless computing differs from traditional computing, and a high-level
understanding of how code functions can be provisioned and used as a
service. We covered the benefits of serverless computing and some
common use cases for where serverless computing may hold value over
traditional computing models. And, we introduced the concept of
microservices and how serverless functions work with a microservice
architecture.

 Acknowl
edgement
I would like to express my special thanks of gratitude to my teacher Imran
:
Roshan as well as Netaji Subhash Engineering College for providing me the
golden opportunity to do this wonderful project on the topic Serverless
Computing, which also helped me in doing a lot of Research and I came to
know about so many new things I am really thankful to them.

You might also like