Finally found the video, you mentioned it in aws series lambda video, but forget to provide link in description 😅
Excellent video . The explanation for each and every step was spot on.
This is a great video to start off on Lambda on AWS. However once you follow this video, if you want to take it to next level try this:
- I found that this script will run even if you create gp3 volume. It converts gp3 volume again to gp3 volume which is of no use.
- Add functions to your code to check volume type
- Add function to your code to trigger this only if volume is not gp3
Thanks for this amazing video bro, step-by-step clear explanations...pls do more videos on DevOps projects.
I absolutely love this guy
Thank you for all the knowledge
@@AbhishekVeeramalla Thanks sir for your amazing work. Please could you please give us a single sentence to how to put this on our resume?
Learnt how to overcome general errors occur while writing lambda scripts, thanks for teaching us in such a way
Its always better to learn form others mistakes ... Nice one Abhishek !!
As a newbie to AWS, this project was a good starting point for me and I'm glad that it worked!! 😃 Thank you for the great effort!
Great Video , Learned a lot , can we have a session on boto3??
Thanks for the project demo it was very helpful ..can you do more of these lambda functions demos with more complex production scenarios
Thanks for your inspiring content. But pl;ease could you also make some videos on azure real life project. It seems there are not many projects on azure. Most of the devops projects i see are in aws
Thanks for the wonderful video Abhishek.
Please upload videos on where we can implement python scripts in Aws scenarios and also in Devops area
Sorry .. I did not understood the question.. In this video .. we implemented python scripts using lambda functions
@@AbhishekVeeramalla please upload more videos using python scripts how we can automate day to day activities in aws Cloud and Devops environment ?
Very helpful sir, can u also explain function as well. How u took directly
Very good project Abishek. Thank you for sharing.
Can you also plz do one project on lambda function+step function, where the execution takes more than 15min and we have to add step function to lambda.
Hi Bro thanks for this info, can you please also implement any project in azure function.
Please give us basic understanding of gitlab or high availability architecture of gitlab❤❤
When I am trying, I am unable to get the logs to cloudwatch. I did everything same. If I manually test lamda, I see the logs but when I am creating vol. event is not trigering lambda function. Please help.
When i click on rules in cloud watch it is redirected to Amazon eventBridge what should i do
Not getting the point basically at a organization level we won't have access to create resources as we like...there should be standards untill unless its a sandbox which is also monitored. Also this restriction can be done from terraform also right, if I'm not wrong
i am trying but get error in code in line no 13 'resources' what can I do
Can you posible to create one video to create a Mysql microservice in Kubernetes and access this SQL using SQL workbench in the AWS EKS
I will try .. but cannot garuntee as the panding list of videos is already so much
i wrote the code but not working maybe this is the caching pronlem cna you help?
Please make a Golang for DevOps and cloud engineer and Python for DevOps with boto3 and lambda function series. if it is paid then provide link here.
sir i just watched your vedio, i am getting error for missing resourses in event
Abishek post a video on real time project fully dedicated on AWS services only
This is same what you are asking .. real time project fully dedicated to AWS
Hai bro i got these kind of error. How to solve this.?
[ERROR] NameError: name 'resources' is not defined
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 12, in lambda_handler
volume_arn = event[resources][0]
Hi, i need java devops on aws, can you please help me.
Hi Abhishek, i tried executing this project surprisingly the AWS UI is different from what u shared in the video vs what i have it now, then trying to add the targets in the cloud watch i couldn't get the dropdown for ebs_volume_check. can u help me am stuck.
really appreciate your efforts keep going. best wishes
May be they are deploying a new version in canary model .. so you see a different screen.
But I have not seen that new screen so I am not sure about the change
Bro is there any platform? were u we can have an interactive discussion to resolve such issues.
I can't delete existing volume any one can help
Sir is there any use for diploma students for getting job
Can we use node.js instead of Python?
Hello Abhi
Thanks for the project, I am having a question: with terraform is it not like enter the code and watch the game?
You can create the AWS services mentioned in the video using terraform but you still need to write the python code in the lambda function.
Hey Anhishek I have tried to execute the workflow but it is getting stuck at the this point after writing lamda function.
(Following is the script for lambda function recieved)
[ERROR] KeyError: 'resources'
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 10, in lambda_handler
volume_arn = event['resources'][0]
As I shown in the video, go to the cloud watch log groups .. copy the json in json formatter and change the command according to the json.
There might be change in the json format.
Abhishek i known the aws but i am don't know how to do projects with respect to kubernetes i am some what struck there is 45 days of devops course is enough for kubernetes and aws
@@AbhishekVeeramalla Abhishek I want to discuss something with you on topmate but I don't enough to pay in topmate
You and Shubham bhai are the gem of DevOps for the real industry projects
Thanks Abhishek bhai🎉🎉✨
Would aws charge me when i do this demo in my aws account??
Hi Sir, i am trying to deploy the script as per your session but it's giving error..
Did anyone execute this? I am getting a constant error at volume_arn = event['resources'][0].
Edit: Still It worked. Donno how.
sir i want to discuss something about my career on top platform?How we can reach there?
Sir you are great sir is there any cost for this is it chargeable
Abhishek in one video you showed about sonar qube you were mentioning that it's not for free is it true
Thank you Abhishek is tech support engineer comes under devops currently I have cleared AZ 400 BUT NO PROJECTS TO WORK ON WHAT TO DO IM CLUESS ABHISHEK WHAT TO DO
Hello Abhishek bhaiya. I just want to know as a DevOps student is mca(distance learning) or master degree is worth it for future career.
There is no requirement.. Any degree should be fine but a degree in computers will help
@@AbhishekVeeramalla so bhaiya, graduation(BCA) is enough to getting a High package job in DevOps or in I.T Jobs.
import boto3
def get_volume_id_from_arn(volume_arn):
arn_parts = volume_arn.split(':')
volume_id = arn_parts[-1].split('/')[-1]
return volume_id
def lambda_handler(event, context):
volume_arn = event['resources'][0]
volume_id = get_volume_id_from_arn(volume_arn)
ec2_client = boto3.client('ec2')
response = ec2_client.modify_volume( VolumeId='string',
VolumeType='gp3',)
for above code i'm getting below error
[ERROR] KeyError: 'resources'
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 11, in lambda_handler
volume_arn = event['resources'][0]
May be the json format has changed. Please check the json from log groups as I shown in the video and change the script accordingly :)
It works, thank you so much for the effort you put for explaining clearly