AWS LAMBDA- A Compute service
Ø AWS lambda
is a compute service where you can upload your code and can execute it on using
Amazon’s infrastructure.
Ø On lambda
platform each code is known as ‘Function’. Using lambda is like deploying your
code to a server except the fact that there is no need for managing the server.
Ø The
functions of lambda are written in Java, Node JS & Python and all these
functions must be stateless yet you can still connect to other AWS services
such as S3 or DynamoDB.
Ø Since
Amazon requires stateless functions that allows launching as many copies of
your functions as needed.
Ø Lambda
automatically scales to the rate of incoming events and scale back down
whenever needed.
How to
trigger lambda functions?
The
functions of lambda are triggered by the events coming from other AWS services.
For example, a lambda function can be triggered during the uploading of new
file to S3 bucket or through HTTP call you can trigger the lambda function.
How to
connect lambda to API gateway?
Ø The first way for connecting lambda
to API gateway is through the lambda console.
Ø Go to lambda > open ‘My function’
> click on tab ‘Trigger’ where you can create or add a new trigger.
Ø Add a trigger > choose API and
name it as per your wish > give resource a name > specified the GET
method > deployment stage where you’ll have production deployment or staging
> click on open security and choose open so that the API is available for
everyone.
After its
submission your work is done and this is the first way for connection lambda to
API gateway. The second way of connecting lambda to API gateway is given below.
Ø Use API gateway console instead of
lambda console > create new API give it any name.
Ø It allows the configuration of
resources as well as stages or authorizers or models > create a new resource
give it a name > add a GET method > click ‘OK’.
Ø Choose the integration type; it can
be lambda function, HHTP proxy or mock integration > pick the region >
name the function > click save and ask if it’s ok to add permission to
invoke the lambda function and you’ll have an overview of the requests.
Ø Now, go to action > click deploy
API > create a new stage for it give it another name for the production
environment and give a deploy description & API gateway will give another
URL
Looking for IT institute for AWS lambda training? Enroll at Sky InfoTech and learn AWS lambda comprehensively.
Reasons for joining Sky InfoTech
Sky InfoTech
is the leading IT institute of training in Noida that provides the in-depth
training of AWS lambda. The course consultants of Sky InfoTech are highly
qualified and experienced in their respective field and Sky InfoTech is the
excellent choice for AWS lambda training. Along with the training the institute
guarantees placement as well.
Thanks & Regards
Sky InfoTech Pvt. Ltd.
A -50, Sector-64, Noida (UP)
Ph. 0120 - 4242224
Noida: 9717292598 / 9717292599
Delhi: 9717292601 / 9717292602
Gurgaon: 9810866624 / 9810866642
Whats the course duration for Aws training?
ReplyDeleteCourse duration of AWS Training is 45-60 week days
DeleteWhat are the mode of training in which i can get training from your Institute.
ReplyDeleteWe are provide training of courses in basically in tow modes online and live classroom.
DeleteVery nice inforrmation about AWS!!
ReplyDeleteNice information
ReplyDelete