0% found this document useful (0 votes)
3 views

AWS_Session_3_13-06-2023 (1)

Uploaded by

Attif Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

AWS_Session_3_13-06-2023 (1)

Uploaded by

Attif Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Summer Day 3 - AWS #BETHECREATOR

AWS Session
Summary 13-06-2023

● Serverless is a concept where you can run your code, handle data, and
integrate applications without the need for manual server management.
Instead of worrying about the server infrastructure, you can focus on writing
and deploying your code, and the underlying infrastructure is abstracted
away from you.

● Serverless Architecture saves money by only charging you for what you
use. It eliminates the need for you to pay for idle servers or upfront
infrastructure costs. With serverless, resources are automatically scaled
based on demand, so you don't have to worry about overpaying for unused
capacity. This cost-efficient approach ensures that you only pay for the
specific services and resources that are actively utilized, helping you
optimize your expenses.

● For example, Facebook uses small, independent services called


Microservices to handle different tasks efficiently.
➢ Facebook utilizes Microservices Architecture to break down its
functionalities into smaller, independent services.

Summer Industrial Training 2023 1


Summer Day 3 - AWS #BETHECREATOR

➢ Each service focuses on a specific task, such as user authentication,


news feed generation, messaging, or image storage.
➢ This modular approach allows for flexibility, scalability, and easier
maintenance.
➢ This approach allows Facebook to handle many services smoothly
while using resources effectively.

● For implementing Serverless concepts in the AWS Cloud we have a service


called Lambda.

● Go to AWS Dashboard and search for service lambda.

Summer Industrial Training 2023 2


Summer Day 3 - AWS #BETHECREATOR

● For Creating the lambda function on the left side click on the function and
click on create function.

● After clicking on create function enter the function name.

● In Function, developers have to write code in which language they feel like
if developers write code in Python language in ec2. we have to launch ec2
and install python runtime but in lambda, we don’t have to install any kind
of software or runtime. We just have to choose a runtime in which language
developers write code.

Summer Industrial Training 2023 3


Summer Day 3 - AWS #BETHECREATOR

● Then Just click on the create function.

● After clicking on Create Function AWS will set up the environment


according to our requirement.

● After Successfully creating a function just scroll down and go to the code
source and type our code in the lambda function.

Summer Industrial Training 2023 4


Summer Day 3 - AWS #BETHECREATOR

● After writing the code just click on Deploy. Deploy means we make changes
in the code now we have to update it. Every time we make changes in the
code click on Deploy to update the code.

● After Deploying the code click on Test.

● After Clicking on the Test. just set the name for the event and save it.

Summer Industrial Training 2023 5


Summer Day 3 - AWS #BETHECREATOR

● After Saving Again click on the Test and it will give you the response
whatever you wrote in the code.

● If we go to the Function Logs and see the output in REPORT it will show
you the Billed Duration and how much is used for running.

Summer Industrial Training 2023 6


Summer Day 3 - AWS #BETHECREATOR

● In the above image you will see the billed duration is 2 ms means AWS will
charge you only for 2 ms.

Summer Industrial Training 2023 7

You might also like