Day-18 | AWS Cost Optimization | Most Popular Cloud and DevOps project| Event Driven Serverless

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • Support my work
    www.buymeacoff... Hi Everyone, My Name is Abhishek and my channel is focused on delivering Free content on DevOps and Cloud. Follow my channel for practical learning of DevOps and Cloud. Don't miss the FREE DEVOPS COURSE in Playlists.
    In this video, We will learn how to implement the cost optimization project on AWS using lambda functions and event driven serverless architecture.
    Private Telegram Channel For Doubts Clearing
    www.youtube.co...
    Instagram: / abhishekveeramalla_off...
    GitHub Repo for this video
    github.com/iam...
    Book 1:1 with me on TopMate for career guidance
    topmate.io/abh...
    Public Telegram Channel For Notes and Updates
    t.me/abhishekv...
    About me:
    ========
    LinkedIn: / abhishek-veeramalla-77...
    GitHub: github.com/iam...
    Medium: / abhishekveeramalla-av
    #devops #futureofdevops #kubernetes #sre #aws #azure
    DEVOPS FAQ
    DEVOPS
    WHAT IS DEVOPS ?
    WHY DEVOPS ?
    HOW TO LEARN DEVOPS ?
    LEARN DEVOPS IN 60 DAYS ?
    NON IT TO IT BACKGROUND ?
    IS DEVOPS EASY TO LEARN ?
    BEST DEVOPS COURSE
    FREE DEVOPS COURSE
    #AbhishekVeeramalla
    BEST DEVOPS VIDEOS
    DEVOPS INTERVIEW QUESTIONS
    EASY DEVOPS VIDEOS
    BEST WAY TO LEARN DEVOPS
    PYTHON FOR DEVOPS
    PYTHON PROJECTS FOR DEVOPS
    LEARN PYTHON
    PYTHON PROJECTS FOR AWS
    AWS PYTHON PROJECTS
    AWS LAMBDA FUNCTIONS
    WHAT IS GITOPS ?
    WHY GITOPS ?
    LEARN GITOPS ?
    GITOPS FREE COURSE
    What is AWS ?
    LEARN AWS FOR FREE
    AWS COURSE
    AWS COURSE FOR DEVOPS
    AWS CLI Deep Dive .
    .
    Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.

Комментарии • 200

  • @softwareasafun
    @softwareasafun Год назад +24

    Thanks!

  • @Suresh-yp5fb
    @Suresh-yp5fb 2 месяца назад +6

    00:07 Cloud cost optimization
    05:46 Stale resources on AWS can lead to higher cloud costs
    11:35 Create a Lambda function to delete unused EBS volume snapshots
    17:38 A Lambda function is used to delete snapshots that are not associated with any volume.
    23:21 Increase default invocation time for Lambda to 10 seconds
    28:59 Learn how to manage cloud cost optimization in AWS accounts
    34:47 Demonstration of creating and deleting snapshots
    40:01 Lambda functions can be scheduled to run automatically using CloudWatch events.

  • @Shrey319
    @Shrey319 Год назад +14

    Wonderful person
    Wonderful attitude
    Wonderful teaching
    The world needs more people like you
    I'm not exaggerating
    God bless you 🙏

  • @ismailriyaz9855
    @ismailriyaz9855 Год назад +4

    Thank You Sir.
    Requesting you not to delete any course of yours as they are going to be helpful to recall everything watching your videos in future.
    Huge respect to you Sir.

  • @VaibhavSupe
    @VaibhavSupe Год назад +4

    Thank you so much Abhishek for AWS Cost Optimaization demo......I was working on AWS Cost Optimaization from 1-1.5 years but this approach is very efficient / time saver / chances of making mistakes are very less and able to save AWS resources cost drastically.
    Thanks again🙏 and waiting for another such content🤩🤩🤩

  • @chandangowda6935
    @chandangowda6935 11 месяцев назад +1

    Each and every word in the python script understood how it is going to fetch the running instances , after fetching it will check for snapshot. If that snapshot doesn't belong to any running instances or EBS, directly delete it. After deleting, again using try block once again checks the volume of snapshot if it is present or not. Really impressed with the code Abhi Bro

  • @pandumaheswaram7522
    @pandumaheswaram7522 Год назад +4

    Ur explanation and execution is on point, very simple and engaging. Thanks for contributing your knowledge to the Devops community and the fellow Learners.

  • @sai-zk3bz
    @sai-zk3bz Год назад +2

    I just came across your shot video on zero to hero aws,wanted to watch all the previous videos and want to practice too
    Subscribed to your channel,Thanks

  • @veerasundar8420
    @veerasundar8420 5 месяцев назад +1

    This is the concept which i was asked in the multiple interviews and i just said i haven't worked on it and we look for instance utilizes alone something like that
    Thanks for the explanations 😮😊

  • @ashwinichivate3905
    @ashwinichivate3905 Год назад +1

    Excellent explanation in simple way from beginner point of view with detail step by step information. Waiting for such type of real time projects which can be added to resume for fresher & experienced one. Completed hands on from day 1 to day 18. Thanks a lot.

  • @unkownindian11
    @unkownindian11 3 месяца назад +1

    bro your content is really good many paid courses fail to deliver this type of content

  • @faisalraj6654
    @faisalraj6654 10 месяцев назад +2

    Hi Abhishek, Well-explained in a friendly manner that is easily to grasp the logic, you showed here. Thankyou so much.

  • @anilsree06
    @anilsree06 10 месяцев назад +1

    Implemented the cost optimization demo Abhishek it was good getting errors and rectifying those and setting up the policies with ec2 and snapshots and creating ec2 from volume creating snapshot with the help of your code I was able to implement removing stale snapshot which is not associated to the volume " This is the final response Deleted EBS snapshot snap-0c443b848464 as its associated volume was not found." Thanks a bunch Abhishek.

  • @Vishwask22
    @Vishwask22 7 месяцев назад +3

    Awesome project brother, I did it and gained insights about CloudWatch and Lambda Function!

  • @supriyochatterjee4095
    @supriyochatterjee4095 Год назад +2

    Excellent information, Sir kindly make more videos explaining the concepts and applications of Terraform in AWS in details and how to configure AWS NETWORKING Networking with details steps explained

  • @ashwanigupta9991
    @ashwanigupta9991 2 месяца назад

    best youtube channel for devops. i am developer and enjoy your teaching keep it up bro

  • @AmirSylviesh
    @AmirSylviesh 9 месяцев назад

    For some reason I didn’t find the describe volume permission before and when tried to run the lambda test it didn’t give any errors about it - but when I finally found it and added it it worked like magic thank you very much !

  • @pascaleobiorah5407
    @pascaleobiorah5407 3 месяца назад +1

    Absolutely detailed and crystal clear! Thanks, Abhishek! You're a maestro!!!!!

  • @minhajkhan504
    @minhajkhan504 2 месяца назад +1

    This is super useful! Thank you Abhishek :)

  • @AshishGupta-oj3qe
    @AshishGupta-oj3qe 3 месяца назад +1

    Words are less to express my gratitude 🥰

  • @1rv04ee065
    @1rv04ee065 9 месяцев назад +1

    Very helpful video . Thank you Abhishek for sharing the knowledge with clear explanations of the concepts along with a neat demo . Well done and keep up such good work !

  • @vamsikrishnanakka838
    @vamsikrishnanakka838 Год назад +4

    Thank you for bringing a such cool Projects.❤

  • @sl4ught3r94
    @sl4ught3r94 6 месяцев назад +3

    It is a wonderful project. Thank you very much.

  • @uzairbagwan4117
    @uzairbagwan4117 Год назад +1

    Demo performed and executed as you have done and got the exact .. output..Thanks sir for the wonderful explanation and teaching and demos as well❤

  • @rajenderprasad1193
    @rajenderprasad1193 Год назад +1

    Thanks anna.. Performed the demo.. everything worked and learned all good stuff. Thank you

  • @vikramnoel1239
    @vikramnoel1239 Год назад +2

    Hi Abhishek, hope you are doing well. You are closer to the completion of AWS course. I would like to request you to please announce the Azure 30 day course ASAP. Thank you 🙏

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i 2 месяца назад

    successfully implemented the project and also integrated with sns
    done
    Amazing Video🔥

  • @PavanKumar-fc9xu
    @PavanKumar-fc9xu 9 месяцев назад +1

    Just one word Awesome!!!! Felt very happy after understanding the concept and able to successfully execute it without looking into the code....Kudos Abhishek

  • @user-bw5di3ei3j
    @user-bw5di3ei3j Год назад +1

    I appreciate all your helpful information. I would like you to please make a video explaining how to set up a production grade eks cluster with the help of other services...it must have high security. We know how to set up eks clusters, but do not know the best practices.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

      I made video couple of days back about kubernetes security and same applies for eks as well

  • @devashreejavalkar8994
    @devashreejavalkar8994 8 месяцев назад +1

    So simple language , easy to understand . Thank u so much 😊

  • @amitbadyal7631
    @amitbadyal7631 7 месяцев назад

    Thanks Abhishek for the best explanation on cost optimisation and lambda functions...i have no words to thank you.....and thanks for this good work as you are providing this top notch content for free ....thanks a lot bro❤

  • @darshanks5604
    @darshanks5604 4 месяца назад

    Thanks Abhishek Sir. Keep teaching like this but you deserve more subscribers.

  • @mohanmurali7975
    @mohanmurali7975 2 месяца назад

    Thanks abhishek successfully executed and understood everything crystal clear👍🙂

  • @tanayabanerjee2380
    @tanayabanerjee2380 Год назад +1

    Thanks for this tutorial 👍....One Request After this aws series If its possible for you then please start a Open-shift tutorial and mainly Python tutorial with practical implementations for devops ...

  • @KRISHNAKUMAR-yj3dx
    @KRISHNAKUMAR-yj3dx 7 месяцев назад +1

    Awesome explanation for cost optimization
    Thanks a lot

  • @user-bw5di3ei3j
    @user-bw5di3ei3j Год назад +1

    thanks bro.....and please make a vido on how to create multi master eks production cluster with high security

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

      Please watch videos that I posted a couple of days back of kubernetes security.. it applies for eks as well

  • @NagaSailaja-eq5ke
    @NagaSailaja-eq5ke Год назад +1

    thanks lot for helping in learning aws lambda function topics

  • @jitendrashimpi9964
    @jitendrashimpi9964 Год назад

    Thank you Abhishek sir for such content nice and briefly explain the lambda function and project thank you again

  • @premium7720
    @premium7720 4 месяца назад +1

    Gained lot of knowledge by this video thank you sir :)

  • @minalyawale2
    @minalyawale2 Год назад +1

    Hi Abhishek, Thanks for such wonderful videos and series. Your teaching skills are awesome. Can you please make video on AWS CDK also?

  • @singhbrozz1996
    @singhbrozz1996 7 месяцев назад +1

    thanks for giving wonderfull session for cost optimization.

  • @ashishpandey8766
    @ashishpandey8766 5 месяцев назад +2

    Thanks, Abhi

  • @user-yi3ry3cq5q
    @user-yi3ry3cq5q 7 месяцев назад +1

    thank u so much abhishek sir for sharing the knowledge

  • @sudhansagar
    @sudhansagar Год назад +1

    Thank you for providing such an informative session and creating these helpful videos. Do you plan to cover topics related to determining the overall cost of resources before building anything on AWS?

  • @himms_sharma
    @himms_sharma 7 месяцев назад +1

    Wonderful project 👏

  • @princejaiswal823
    @princejaiswal823 Год назад +2

    You will soon touch 100K Subscribers. Advanced Congratulations Abhishek Sir

  • @ameyambekar2221
    @ameyambekar2221 10 месяцев назад +7

    abhishek I get the concept but what I am worried about is the code, like how will i be able to write the code of other kinds of scenarios. What can be the solution here?

  • @user-fw8mf3yt1p
    @user-fw8mf3yt1p 3 месяца назад

    Brother best explanation. We stopped at event bridge scheduler, how we will explain this step in Interview. I want to know it looks critical since aws is event driven function. Please continue on aws lambda in some other project.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  3 месяца назад

      Hey, its very simple, just select the required API action (for example when EBS is created) and Cloud watch will trigger the lambda function you provided whenever the EBS is created. That's it.

  • @538sureshs7
    @538sureshs7 Месяц назад

    Thanks for the video anna i will add this into resume

  • @karthiksundaram544
    @karthiksundaram544 Год назад +1

    Superb teaching

  • @Cloudnp9458
    @Cloudnp9458 4 месяца назад

    Cost optimization
    People move to cloud because
    1. Overhead of infrastructure
    2. Cost of infrastructure management
    Cloud cost is down only if you use it efficiently.
    Taking snapshot of volume means taking backup of volume.
    Even after deleting ec2, and volume aws will keep charging for snapshot of volume.
    The resources you have forgotten and are being charged are called stale resources.
    Cloud cost will go high.
    So we as devops engineer have to look for stale resources. Eg, Snapshot that are not attached to ec2 or any volume, send notification or delete the snapshot

  • @hemantrathod9868
    @hemantrathod9868 4 месяца назад +1

    Great!!

  • @saurabhbisht9280
    @saurabhbisht9280 Год назад

    please make a complete video on prometheus architecture including jobs, exporter ,all metric type and one project on that only .It will be very helpful as i can't see any complete video on that in youtube also

  • @RahulRaj-vt6sk
    @RahulRaj-vt6sk Год назад +1

    Sir after completion of AWS, we need Azure masterclass because company is demanding knowledge of Microsoft Azure nowadays.

  • @partho-lia
    @partho-lia 7 месяцев назад +1

    Well explained

  • @jayasuriyap8748
    @jayasuriyap8748 Год назад +1

    Please make an video for AWS KMS

  • @alexevariste7615
    @alexevariste7615 9 месяцев назад +2

    It took me 3 daays to realize that you have to create the policies in the policies tab on the left-side of the iam dashboard in order to attach the policy to the role lol

  • @rohitdeore5928
    @rohitdeore5928 6 месяцев назад

    Successfully completed the demo.

  • @senthilkumar5129
    @senthilkumar5129 Год назад +1

    Thank you

  • @curious-codmobile1283
    @curious-codmobile1283 10 месяцев назад +1

    Love you Abhi...my best bro !!!

  • @karthikd5292
    @karthikd5292 8 месяцев назад +1

    To good explanation sir

  • @saideekshith1349
    @saideekshith1349 Год назад

    Thanks man. such a fantastic help. God bless you.

  • @Cloudnp9458
    @Cloudnp9458 4 месяца назад

    Project is filtering and deleting the stale resources.
    We will use lambda function to write python code. By using module boto3.
    Boto3 will talk to aws API and give information about stale ebs snapshots.
    Since lambda function is event written you can trigger it using cloud watch.

  • @aditya8sharmaDevOps
    @aditya8sharmaDevOps 6 месяцев назад +1

    Thanks for the video! ✨

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  6 месяцев назад

      You're so welcome!

    • @aditya8sharmaDevOps
      @aditya8sharmaDevOps 6 месяцев назад

      @@AbhishekVeeramalla Also, please make a video on AWS Solutions Architect Certification. And how to prepare for it!

  • @harshnegi200
    @harshnegi200 7 дней назад

    completed..!

  • @vasanthamurugesanenglish5882
    @vasanthamurugesanenglish5882 Год назад

    Videos are great! Could you kindly make same zero. To hero series for sre role

  • @saverhub1458
    @saverhub1458 Год назад +1

    Bundle of thanks for such content. Can we schedule the script to run only once a month?

  • @pawangahlot428
    @pawangahlot428 Год назад +1

    I wait today video ❤

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

      Thanks 🙏

    • @kodjoviamedimele3066
      @kodjoviamedimele3066 Год назад

      @@AbhishekVeeramalla Please sir I have been on the ultimate cicd implementation with argo cd but the pipeline always failed at the stage of building the docker image. it is giving me "docker command not found " although I have docker up and running and also I have created the credentials to let jenkins connect to my dockerhub registry. Please could you guide me?

  • @manishapatnaik6826
    @manishapatnaik6826 7 месяцев назад

    Hi can you please make vdo on AWS console-to-code ( New feature )

  • @prashlovessamosa
    @prashlovessamosa Год назад +1

    Thank you.

  • @SwatiUniyal01
    @SwatiUniyal01 3 месяца назад

    Abhishek in industry we take snapshots either manually or by some script for backup, how can we incorporate the same in this project where it will delete or note only the snapshots which has been taken manually only..

  • @kousikdittakavi3264
    @kousikdittakavi3264 Год назад +1

    Hi @abhishek how we perform health check in ec2 instances can you share info here

  • @pujangampa5297
    @pujangampa5297 8 месяцев назад +1

    Once we will add the Cloudwatch schedule. We will be notified or something like that?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  8 месяцев назад

      U need to add sns

    • @pujangampa5297
      @pujangampa5297 6 месяцев назад

      Anna, please SNS integrate chesi chupinchandi asalki ardham avvateldh nenu chala sarlu try chesa

  • @adityaxyz007
    @adityaxyz007 Год назад +1

    Thank You !

  • @reneshmlal2809
    @reneshmlal2809 Месяц назад

    Thank You ❤

  • @SS-rc3bs
    @SS-rc3bs 6 месяцев назад

    what the architecture role in cost optimization ? can you give me some insight of how the architecture involved

  • @Kushbukushbu770
    @Kushbukushbu770 8 месяцев назад +1

    Thank you 😍

  • @shakeebanwar4403
    @shakeebanwar4403 Год назад

    very well explain

  • @Cloud-DevOps_Aspirant
    @Cloud-DevOps_Aspirant 11 месяцев назад +1

    hi abhishek, can i put this COST OPTIMIZATION project in my resume, even if i don't know python as a language.????
    😶😶

  • @RanjanKumar-co9zm
    @RanjanKumar-co9zm 12 дней назад

    sir am a aws and devOps engineer who does't know the phython, any video i can learn phython easily.
    is it neccessary for aws and devOps engineer to learn the python ??

  • @gpapitha7378
    @gpapitha7378 9 месяцев назад

    Sir can you make BillOps poc and put video

  • @nadimkaddis7135
    @nadimkaddis7135 11 месяцев назад +1

    thank you

  • @raviparhad9665
    @raviparhad9665 11 месяцев назад

    But sir when organization has minimum snapshot
    In this case they can delete it manually.
    .....

  • @manthinireshmasri5837
    @manthinireshmasri5837 15 дней назад

    Abhishek can do this project using root user

  • @yvlokeshreddy6349
    @yvlokeshreddy6349 10 месяцев назад

    Super Content...So useful.....Thanks Dude..
    Dude, How much python learn need for Devops????

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  10 месяцев назад

      Watch day 1 in python playlist .. I explained in detail

  • @mmouaz9961
    @mmouaz9961 9 месяцев назад +1

    Love From Pakistan

  • @saswatpriyabrat
    @saswatpriyabrat Год назад +1

    1st Like❤

  • @mundrukrishnaprasad4430
    @mundrukrishnaprasad4430 3 месяца назад

    Tq

  • @pavankumarchinthapalli9298
    @pavankumarchinthapalli9298 23 дня назад

    snapshot life time with in 30 days?

  • @BharathKumarReddy2103
    @BharathKumarReddy2103 Год назад +1

    ❤❤❤

  • @DevOps_by_Rajashekar
    @DevOps_by_Rajashekar Год назад +2

    Bro any fresher recruitment for AWS devops PLEASE SHARE

  • @mohamedzuhair5052
    @mohamedzuhair5052 10 месяцев назад

    @abhishek Could you please send me the python code am not able to find in above github repo

  • @shrishailpatil8619
    @shrishailpatil8619 Год назад

    Thank you🙏

  • @sportworld66
    @sportworld66 8 месяцев назад

    thankyu helpfl

  • @rahulsingh-iq4gd
    @rahulsingh-iq4gd 3 месяца назад

    Hi Abhishek quick question why have you created role which has ec2 as principal and given snapshot read write access to it , I thought you keeping lambda as principle and given it snapshot read delete policy to it will work

    • @rj27thug78
      @rj27thug78 11 дней назад

      because snapshot is a feature of ec2 not lambda

  • @gouravchhabra6142
    @gouravchhabra6142 Год назад

    Hi Abhishek, Suppose there are so many resources which we want to remove which is going to take more than 15 min (max execution time for lambda) then will lambda will scale out for more container to finish that job in max time or it will just fail as timeout , pls clarify

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад +1

      You can split your code and invoke other lambda function from this one
      But better to keep your execution time short by writing effective code .. if its not an option your split the code and invoke another lambda

  • @dhanushgowda7593
    @dhanushgowda7593 Год назад +1

    Sir followed as you did, but The Snapshot was not deleted, when i run the test there is no error, it just shows staty id, request id. No message of snap shot deleted. What might be the issue.

    • @dilligpay4
      @dilligpay4 Год назад

      did you check the volume from which you take snapshot is attached to any instance?

    • @dhanushgowda7593
      @dhanushgowda7593 Год назад

      @@dilligpay4 yes

    • @Tech-xj8kx
      @Tech-xj8kx 9 месяцев назад

      @dhanushgowda7593 You probably have missed adding DescribeVolumes or DeleteSnapshots permission to the role and you cannot see the error due to the usage of try/except in the script. You can see the exact error by removing those two lines (29 and 34) and then executing the function.

  • @karthikams3480
    @karthikams3480 6 месяцев назад

    Does devops engineer need to write coding in python

  • @sparker1170
    @sparker1170 Год назад

    thanks bro. I tried with this hands-on but shapshit isnt getting deleted.wht can be the problem

  • @jsrinu6346
    @jsrinu6346 Год назад +1

    Want know benifits of taking membership

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

      there is a telegram group where you can ask questions but it is more of a support to the channel.

    • @jsrinu6346
      @jsrinu6346 Год назад

      I joined u r telegram group

    • @jsrinu6346
      @jsrinu6346 Год назад +1

      But in that no access to chat