You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module7-cloud-computing/r4-serverless-architecture/README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,23 @@ There are three primary services offered via software developed with serverless
25
25
### Function as a service
26
26
27
27
In the realm of pre-packaged services, function as a service, sometimes known as FaaS or framework as, falls in between software as a service and platform as a service.
28
+
A function is a piece of software running business logic on an operating system. Applications can be composed of many functions.
28
29
29
-
Think of FaaS as a ready-to-implement framework that can be easily tailored to the needs of an enterprise company. To be clear:
30
+
FaaS gives developers an abstraction for running web applications in response to events, without managing servers.
30
31
31
-
- SaaS is ready to use out of the box while FaaS is not.
32
-
- However, FaaS does not require the resources to implement that you would need if you were using PaaS.
32
+
With Amazon Lambda (a FaaS service from Amazon Web Services, we will talk more about it later in this lesson), you can directly run your code without even managing the servers.
33
+
For example, you upload an image in the server, now the Lambda function will work for you and will automatically resize the image according to the device a user is using, be it mobile, laptop, desktop or a tablet.
34
+
35
+
Think of FaaS as a ready-to-implement framework that can be easily tailored to the needs of an enterprise company.
33
36
34
37
### Backend as a service
35
38
36
-
Similar to FaaS, backend as a service (BaaS) is another serverless technology. Some will contend that BaaS takes it a step further as a NoOps offering. NoOps essentially refers to infrastructure that has been automated to the point that in-house developers have no hand in its operation.
39
+
Backend-as-a-Service (BaaS) is a cloud service model in which developers outsource all the behind-the-scenes aspects of a web or mobile application so that they only have to write and maintain the frontend. BaaS vendors provide pre-written software for activities that take place on servers, such as user authentication, database management, remote updating, and push notifications (for mobile apps), as well as cloud storage and hosting.
37
40
38
-
Here’s an easy way to look at BaaS: Imagine your enterprise organization is developing a mobile app to connect employees to important information on the go. You might develop the basic application framework in-house and then outsource the functionality. This includes backend processes like:
41
+
Let's take [Firebase](https://firebase.google.com/) as an example of BaaS.
42
+
Firebase is owned by Google. It has extensive features for building, hosting and managing apps. The platform consists of several tools that developers need for building and managing apps. In essence, it provides all the tools developers need to build an app, launch it, and engage with the app users.
39
43
40
-
- Accessing cloud storage
41
-
- Syncing
42
-
- Social collaboration
44
+
Since the backend platform gives the developer access to several ready-made services like file storage, database, authentication, they can put more efforts into building excellent apps. Another superb feature of Firebase it the seamless scaling of apps. All these features work together to make Firebase one of the leading BaaS platforms today.
43
45
44
46
### Database
45
47
@@ -70,7 +72,7 @@ For this use case, we may use few AWS servless services:
70
72
71
73
-[Amazon Cognito](https://aws.amazon.com/cognito/): Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Apple, Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0 and OpenID Connect.
72
74
73
-
## This Web Application is built from 3 different components.
0 commit comments