Ansible is an automation tool that is written in python. it is an open-source software used for provisioning, configuration management, and application deployment.

First we requires aws credentials to connect to aws to launch ec2 instance.

Go to IAM service in aws and click add user:

Give the programmatic access…

S3 will trigger the lambda function:

We can set trigger. So that any event happen then our that will trigger our function. For s3 if any action happen in s3 then lambda will run our function.

Follow the following Steps :

  1. Go to s3 and create a bucket in same region where lambda service is running our function.
  2. Go to properties…
  • Lambda is a function as a service (FAAD) provides by Amazon.
  • It is a serverless service.
  • It charges for per ms.
  • It is free for 1milllion request
  • Bydefault lambda service have permission to upload logs in cloud watch.

How to use lambda service:

  1. Click on create function
  2. Select one option for creating function their is…

Anu Chundawat

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store