Тёмный
AWS Training by Gaurav Agrawal
AWS Training by Gaurav Agrawal
AWS Training by Gaurav Agrawal
Подписаться
I am software industry veteran with 18 years of experience working as an Architect. Worked with high profile client like Apple Inc (California) and Hewlett Packard. Worked in the USA for 8+ years.

AWS Certified Solution Architect
AWS   EC2   Install web server
9:15
9 месяцев назад
Docker On EC2
18:55
10 месяцев назад
CloudWatch   Centralized Logging and Monitoring
14:03
11 месяцев назад
EC2 Add Storage Capacity
12:36
11 месяцев назад
S3 Lifecycle Rules
6:47
11 месяцев назад
AWS Cloudformation   infrastructure as code
7:19
11 месяцев назад
AWS VPC Peering
13:40
11 месяцев назад
AWS VPC   Bastion Host demo
16:33
Год назад
Create 100 Servers in one minute
13:59
Год назад
AWS Elastic Beanstalk
18:10
Год назад
Комментарии
@Rgroose
@Rgroose 15 дней назад
helpful, thanks
@indranilgoswami1500
@indranilgoswami1500 Месяц назад
Thanks sir..very good explanation.
@upasanapathak462
@upasanapathak462 Месяц назад
Hi Sir, your videos are awsome. Got to learn many stuffs. Request you to share more videos.
@tanmay91patil
@tanmay91patil 2 месяца назад
Thanks . Easy to understand .
@quoctang6408
@quoctang6408 2 месяца назад
sudo dnf install -y postgresql14.x86_64 postgresql14-server i can't download this version
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 2 месяца назад
you can use the following command - sudo dnf install postgresql15.x86_64 postgresql15-server -y
@BipinSinghITSupport
@BipinSinghITSupport 2 месяца назад
this lambda code is not working.. Please help
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 2 месяца назад
What is the error that you are getting ??
@tharushakudagala3321
@tharushakudagala3321 3 месяца назад
Thanks a lot
@JosephSeeley-cb6pv
@JosephSeeley-cb6pv 3 месяца назад
Exactly what I needed Gaurav! Thanks so much for walking through this and providing sample code!!
@premium7720
@premium7720 3 месяца назад
Informative video :)
@AndrewSu180
@AndrewSu180 3 месяца назад
Why not set it up to parse the to and from addresses from the MIME content itself?
@AliAsgar-zy7wp
@AliAsgar-zy7wp 4 месяца назад
I dont know why i am not getting emails
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 4 месяца назад
check spam folder
@meetsavaliya6472
@meetsavaliya6472 4 месяца назад
for connection ip address is public or private
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 4 месяца назад
public
@amitbajpai3431
@amitbajpai3431 4 месяца назад
Nice explanation
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 4 месяца назад
thanks
@hemaldodiya4858
@hemaldodiya4858 5 месяцев назад
it gives me connection timeout error what to do ?
@crazymind5273
@crazymind5273 5 месяцев назад
Sir AWS Glue pe Video banao
@akshaykatkam2340
@akshaykatkam2340 6 месяцев назад
sir do you teach aws ?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 6 месяцев назад
Yes I do
@akshaykatkam2340
@akshaykatkam2340 6 месяцев назад
@@AWSTrainingByGauravAgrawal how can i reach you sir
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 5 месяцев назад
@@akshaykatkam2340 u can WhatsApp me on 9834385881
@GeorgeMartinJose
@GeorgeMartinJose 6 месяцев назад
Very clear & helpful video. thanks
@jagatbandhu2601
@jagatbandhu2601 6 месяцев назад
Can you let me know, how to connect with existing RDS to elastic bean stalk
@techiashish86
@techiashish86 6 месяцев назад
Thanks its worked for me......
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 6 месяцев назад
Great!
@shivakumarpalled5462
@shivakumarpalled5462 6 месяцев назад
great sir, thanks
@pranav7478
@pranav7478 7 месяцев назад
Sir, a very good explanation. Could you please tell me which app you are using for presenting this?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 7 месяцев назад
I used OBS studio for recording the vidoe and powerpoint for the ppt.
@BilalShaikh-gz9ve
@BilalShaikh-gz9ve 7 месяцев назад
Hello Sir I have followed the video exactly but when I try switch user to root. It gives authentication failure as I am passing the password as "postgres". How can I resolve it please help?
@AnsumanSingh1
@AnsumanSingh1 7 месяцев назад
Thank you Sir, This was a wonderful explanation with easy to follow hands-on. Looking forward to learning more from you.
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 6 месяцев назад
Glad it was helpful!
@tanayaraut549
@tanayaraut549 8 месяцев назад
Bucket ka Kam hone ke baad vo delete krni padti hai kya?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
Yes
@tanayaraut549
@tanayaraut549 8 месяцев назад
@@AWSTrainingByGauravAgrawal I got the payment mail do u have any vdo tht how to pay that?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
@@tanayaraut549 no I don’t have a video for that. But the email should have the steps on how to proceed.
@tanayaraut549
@tanayaraut549 8 месяцев назад
Should we also terminate the default vpc??
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
I guess by terminate you mean delete, right ? No please dont delete the default vpc, as the name says. - it is "default" and it is required for creating your EC2 instances. In case you have deleted the default vpc, then go to the "Your VPCs" section on left side, then "Actions" -> "Create default VPC"
@that_epics
@that_epics 8 месяцев назад
I need your one more help can you please help me out: Q. How can I getcustomised email notifications when someone creates an EC2 instance that’s not nano, micro, small or medium? can you please help me out...
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
Please refer to this video - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XGkm2BwNpyI.html For your requireement, the flow will be - EC2 Service -> listen to EC2 create instance events in Eventbridge --> Trigger lambda --> Send email to an group or whoever you want.
@tanayaraut549
@tanayaraut549 8 месяцев назад
I didn't got the email
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
Didn’t u got an email while setting up the email in SES ? Check your spam Folder also
@tanayaraut549
@tanayaraut549 8 месяцев назад
No I don't got I hav also check spam 😕​@@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
Please go through the video again then, mostly all of the associates have received the email.
@tanayaraut549
@tanayaraut549 8 месяцев назад
Yes vry helpful
@tanayaraut549
@tanayaraut549 8 месяцев назад
@@AWSTrainingByGauravAgrawal do u have any vdo of how to create an S3 bucket??
@sudsrmsee
@sudsrmsee 8 месяцев назад
super > keep it up
@01_Keren
@01_Keren 8 месяцев назад
Is it possible to do that directly without using a lambda for shutting down ec2?
@15724388200
@15724388200 8 месяцев назад
No you cannot do it without a compute instance. you need a way to run some code which will trigger the shutdown command to the correct set of instances and thats where lambda's come in. They are on demand and you only pay for the time it is running, so it actually very cost effective.
@that_epics
@that_epics 8 месяцев назад
we can do it with Azure DevOps pipeline completely free
@tapiaomars
@tapiaomars 2 месяца назад
yeah, you can do it without using a lambda... no compute, just use event bridge for EC2 stop (not lambda), obviously you need IAM Role for your Scheduler (trusted policy for scheduler and IAM policy for actions on ec2) .... and you have a EC2 scheduler without lambda now guy :)
@jaygaikwad6830
@jaygaikwad6830 9 месяцев назад
Very good explanation and very helpful. Thanks sir..
@shrig018
@shrig018 9 месяцев назад
great video! helped me out a lot. was using event scheduler as a starting point and the process just seemed so confusing! many thanks
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 9 месяцев назад
Glad it helped!
@shrig018
@shrig018 9 месяцев назад
Any idea how I can see the logs? When I go to cloudwatch logs I get error saying the log group does not exist
@pandupatil149
@pandupatil149 9 месяцев назад
Hi Gaurav, As you mentioned, In Amazon SNS (Simple Notification Service/SES), the confirmation process for email subscriptions typically occurs only in sandbox and not in production environments. So if i deploy my code in producation environement there is no need of email subscription, as we can directly send an email to particular email?. 2. How can i bypass email subscription process while i am implementing in my local?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 9 месяцев назад
You cannot bypass email subscription in local and for production setup, subscription is not required
@pandupatil149
@pandupatil149 9 месяцев назад
@@AWSTrainingByGauravAgrawal Thank you Gaurav
@pandupatil149
@pandupatil149 9 месяцев назад
@@AWSTrainingByGauravAgrawal Hi Gaurav.. Though I am using the aws dev account of my organisation, it is still asking for verification
@navarajpokharel8980
@navarajpokharel8980 9 месяцев назад
Thank you sir❤❤❤
@tanayaraut549
@tanayaraut549 9 месяцев назад
Authentication failure aa rha hai
@tanayaraut549
@tanayaraut549 9 месяцев назад
Sir wht we shoult type in retype password
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 9 месяцев назад
Same password
@shivammishra4177
@shivammishra4177 9 месяцев назад
Sir just got the video that I wanted. Your teaching is great.
@kapilghule751
@kapilghule751 10 месяцев назад
please give me a script for how to start multiple EC2 instances?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
If you know the list of ec2 instance id's then you can run the following aws command - aws ec2 start-instances --instance-ids i-INSTANCE_ID1 i-INSTANCE_ID2 i-INSTANCE_ID3
@that_epics
@that_epics 10 месяцев назад
@@AWSTrainingByGauravAgrawal ​Sure I can use that, however, I would like a script like you mentioned Python script, for example, to shut down the instance and I would use multiple instance IDs to auto-start the instance. Is it possible to get a complete Python script to auto-start the instance? it will be very helpful for me
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
@@that_epics use the below python lambda code import boto3 def lambda_handler(event, context): # Create a Boto3 EC2 client ec2 = boto3.client('ec2') # Describe all instances in your account instances = ec2.describe_instances() # Extract instance IDs from the response instance_ids = [] for reservation in instances['Reservations']: for instance in reservation['Instances']: instance_ids.append(instance['InstanceId']) # Start all instances if instance_ids: ec2.start_instances(InstanceIds=instance_ids) return f'Starting instances: {instance_ids}' else: return 'No instances to start' # Note: Make sure that your Lambda function has the appropriate IAM permissions to describe and start EC2 instances.
@that_epics
@that_epics 10 месяцев назад
​@@AWSTrainingByGauravAgrawalSorry I am bothering you but where is the name of the tag like start=true and where I can mention only two or three examples of the ID is only.
@that_epics
@that_epics 10 месяцев назад
Earlier script you mentioned tags to stop each instance
@velurubharath8929
@velurubharath8929 10 месяцев назад
Great video.
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 8 месяцев назад
Glad you enjoyed it
@atharvajagtap1673
@atharvajagtap1673 10 месяцев назад
sir ...is ECR repo...is paid service or free tear service
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
ECR is in free tier till 500MB for the first year of your AWS account
@cloudcyber7866
@cloudcyber7866 10 месяцев назад
Thank you, please can you use nodejs projects in your demo if possible
@user-hl8cg6lg7e
@user-hl8cg6lg7e 10 месяцев назад
sir what about the ip address of web page not
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
Sorry, I didnt got your quesion
@Vishu28_11
@Vishu28_11 10 месяцев назад
Do u teach AWS solution architect course
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
Yes I do
@piyushraut3715
@piyushraut3715 10 месяцев назад
Sir..can we again come back to previous storage class once it is moved to next class ? If we want
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 10 месяцев назад
Amazon S3 does not provide a built-in feature to automatically move an object back to its previous storage class. However you can manually edit the object and changed the storage class to the desired class. Also the lifecycle transitions happens from higher cost storage class to the lower cost storage class and not vice versa
@crazy_gamers_0079
@crazy_gamers_0079 11 месяцев назад
Sir, if deploy postgresql in AWS ec2 , where will the data be stored? Please let me know this. 🙏🙏🙏🙏🙏
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
The data will be stored on the local EBS volume which is attached to the EC2 instance.
@crazy_gamers_0079
@crazy_gamers_0079 11 месяцев назад
@@AWSTrainingByGauravAgrawal so there will no problem with that . Storing the data on Ebs.Thanku sir for replying
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
No problem with that. The RDS service also stores data on the EFS volume. Volume is the only way to store data. All the other services like EFS, S3 also store their data on EB S volumes.@@crazy_gamers_0079
@sahabsinghlathwal5956
@sahabsinghlathwal5956 11 месяцев назад
Thank you Gaurav, I liked this video, and subscribed your channel, am sure you will upload more informative video for AWS services. I have an query about EventBridge rule, you just created a t2. micro instance and that also got deleted by this rule, but t2.micro is free tier, so I'm little bit confused, I want delete instance those are above t2.large, can you please help for this?
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
Thanks Sahab. I have keep the lambda code simple to reduce the complexity. The lambda code as of now is deleting any instance that got created. We can modify this code to ignore certain instance types. Let me know if you are looking for a modified lambda. I can provide you the same.
@sahabsinghlathwal5956
@sahabsinghlathwal5956 11 месяцев назад
I'm waiting for your response for above queries.
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
@@sahabsinghlathwal5956 - this is the code that you can try (not tested, please test it out) import boto3 def lambda_handler(event, context): # Initialize the EC2 client for the N. Virginia region (us-east-1) ec2_client = boto3.client('ec2', region_name='us-east-1') # Get a list of all EC2 instances in the N. Virginia region instances = ec2_client.describe_instances() # Define a list of instance types that are eligible for the AWS Free Tier in us-east-1 free_tier_instance_types = ["t2.micro", "t3.micro", "t3.nano"] for reservation in instances['Reservations']: for instance in reservation['Instances']: # Check if the instance is in a running state if instance['State']['Name'] == 'running': instance_type = instance['InstanceType'] instance_id = instance['InstanceId'] # Check if the instance type is not in the free tier list if instance_type not in free_tier_instance_types: print(f"Terminating instance: {instance_id} (Instance Type: {instance_type})") ec2_client.terminate_instances(InstanceIds=[instance_id]) else: print(f"Skipping instance in Free Tier: {instance_id} (Instance Type: {instance_type})")
@sahabsinghlathwal5956
@sahabsinghlathwal5956 11 месяцев назад
@@AWSTrainingByGauravAgrawal I tried to execute this code, but getting below error - { "errorMessage": "An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.", "errorType": "ClientError", "requestId": "d3493d54-903d-4852-bd0c-fc1164cc1acc", "stackTrace": [ " File \"/var/task/lambda_function.py\", line 8, in lambda_handler instances = ec2_client.describe_instances() ", " File \"/var/lang/lib/python3.11/site-packages/botocore/client.py\", line 534, in _api_call return self._make_api_call(operation_name, kwargs) ", " File \"/var/lang/lib/python3.11/site-packages/botocore/client.py\", line 976, in _make_api_call raise error_class(parsed_response, operation_name) " ] } Function Logs START RequestId: d3493d54-903d-4852-bd0c-fc1164cc1acc Version: $LATEST [ERROR] ClientError: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation. Traceback (most recent call last): File "/var/task/lambda_function.py", line 8, in lambda_handler instances = ec2_client.describe_instances() File "/var/lang/lib/python3.11/site-packages/botocore/client.py", line 534, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/lang/lib/python3.11/site-packages/botocore/client.py", line 976, in _make_api_call raise error_class(parsed_response, operation_name)END RequestId: d3493d54-903d-4852-bd0c-fc1164cc1acc REPORT RequestId: d3493d54-903d-4852-bd0c-fc1164cc1acc Duration: 449.11 ms Billed Duration: 450 ms Memory Size: 128 MB Max Memory Used: 88 MB Request ID d3493d54-903d-4852-bd0c-fc1164cc1acc
@sahabsinghlathwal5956
@sahabsinghlathwal5956 11 месяцев назад
Can you plz fix this code and help for another which I asked you for tagging and security group?
@Kalyan_Krishan
@Kalyan_Krishan 11 месяцев назад
Very informative video, Can you please guide how to encrypt the devices offline and online.
@nikafiq310
@nikafiq310 11 месяцев назад
Thank you for the detailed hands on video. I've been learning AWS recently and had trouble finding hands on guide on AWS EventBridge. This video have been really helpful to me
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
go thru the other videos also and perform hands on of the same.
@shubhamchaudhari7599
@shubhamchaudhari7599 11 месяцев назад
all information is very helpful
@AWSTrainingByGauravAgrawal
@AWSTrainingByGauravAgrawal 11 месяцев назад
thanks for the feedback 🙂
@shrutiagrawal5012
@shrutiagrawal5012 11 месяцев назад
Very helpful video