Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanay03trivedi/costoptimization-using-lambda


https://github.com/tanay03trivedi/costoptimization-using-lambda

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# Cost Optimization using Lambdaa Function

### EC2 Creaction

![Screenshot 2024-03-19 214346](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/480bfcb4-f4a9-4623-9371-c6818a6ce1e8)

### Create a snapshot of the Instance volume

![Screenshot 2024-03-19 214637](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/546d69b0-f7cc-43b7-b58e-25f1537d4417)

![Screenshot 2024-03-19 214714](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/471d3915-2afd-4c66-bcb5-92abc0f28968)

### Create a Lambda function

![Screenshot 2024-03-19 215319](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/a4733572-7c22-492c-b62c-0146649e7366)

### Deploy code in lambda function (This code is made from AWS SDK for Python 'Boto3')

![Screenshot 2024-03-19 225519](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/c2ecd59f-75a1-4143-bf69-7d0853f4a411)

### Increase timeout by 5 sec in General Configuration

![Screenshot 2024-03-19 225636](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/839eae1d-1173-47c2-8d4e-9f44949b81af)

### Give role for Decribeinstance, Describevolume, Describesnapshots and deletesnapshots

![Screenshot 2024-03-19 225932](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/e3b54b88-f027-4402-8902-034e4e99a72f)

### Delete Instence

![Screenshot 2024-03-19 230119](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/0274c77d-abae-4aea-9bae-7386dfa3048c)

![Screenshot 2024-03-19 230157](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/2da23636-9b25-4b27-b944-c2c55ad36fee)

![Screenshot 2024-03-19 230147](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/d8b9984a-6b44-4ad5-b749-d0e4ac552c0f)

### Invoke code amd see the snapshots is deleted or not

![Screenshot 2024-03-19 230253](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/39ff153a-860e-489e-98a3-371c00f1a345)

![Screenshot 2024-03-19 230327](https://github.com/Tanay03Trivedi/costoptimization-using-lambda/assets/160705084/01148721-6331-4f8a-90d5-84d0cf957d92)