AWS Training by Gaurav Agrawal
AWS Training by Gaurav Agrawal
  • 26
  • 24 819
AWS Athena Service
In this video, we are going to learn what is a AWS Athena service and how to use the same. A full fledged demo of the service is also part of the video.
Airports Dataset CSV file - github.com/gaurav157243/aws-projects/blob/main/19-athena/airports-data.csv
Переглядів: 90

Відео

AWS EC2 Install web server
Переглядів 33110 місяців тому
In this video, we will learn how to install apache http web server on an EC2 instance. Also we will update the port of the http server from the default 80 to 8080.
Docker On EC2
Переглядів 35811 місяців тому
In this video, learn about what is Docker, how to create a docker image and how to run docker containers on EC2 machines. Also understand the reasoning behing creating the containers and the reference to the shipping industry docker, docker image, container, AWS, docker registry, ECR, docker hub Github link - github.com/gaurav157243/aws-projects/blob/main/17DockerOnEC2/README.md
Eventbridge Scheduler - Automatically shutdown EC2 machines on weekend
Переглядів 483Рік тому
In this video, we will learn about EventBridge Scheduler and how to use the same to shutdown ec2 instances on the start of weekend. The python lambda function code is present at - github.com/gaurav157243/aws-projects/blob/main/16-EventBridge-scheduler/shutdown.py Self exercise is to create a similar scheduler to start ec2 instances on Monday morning.
CloudWatch Centralized Logging and Monitoring
Переглядів 2 тис.Рік тому
In this video, we will discuss about centralized logging and monitoring using Cloudwatch agent and Cloudwatch service. Very useful for any kind of application defect root cause analysis. Github link - github.com/gaurav157243/aws-projects/tree/main/15-EC2-CloudWatch-Logs
EC2 Add Storage Capacity
Переглядів 294Рік тому
In this video, you will learn about how to add more storage capacity to your EC2 instances. Steps are captured here - github.com/gaurav157243/aws-projects/blob/main/mountVolume/README.md
S3 Lifecycle Rules
Переглядів 175Рік тому
In this video, we are going to learn about AWS S3 Lifecycle rules. We will first understand the s3 storage classes, data and data access patterns and then will perform a hands on exercise for the same.
AWS Cloudformation infrastructure as code
Переглядів 419Рік тому
In this video, we are going to learn about cloudformation service. This service is used for deploying your application on the AWS cloud. Cloudformation is widely used in the industry and mostly part of the devops CI / CD pipeline. The cloudformation template can be downloaded from here - copy and save to file - raw.githubusercontent.com/gaurav157243/aws-projects/main/cloudformation/cf-template....
AWS VPC Peering
Переглядів 672Рік тому
In this video, you will learn how to perform peering between two AWS VPCs. We will create two new VPCS, with private and public subnets, then create a peering connecting, create route tables, create ec2 instances and then will ssh from one vpc instance to another vpc instance.
Install Postgresql Database directly on EC2
Переглядів 7 тис.Рік тому
In this video, we are going to install postgres database on an EC2 instance. The complete steps are outlined in the video. The git repo script is present here - github.com/gaurav157243/aws-projects/blob/main/DBOnEC2/README.MD To download DBeaver application, use this link and follow the installation steps - dbeaver.io/download/
AWS VPC Bastion Host demo
Переглядів 607Рік тому
In this video, we are going to discuss about AWS VPC, public and private subnet, internet gateway and routes. We will understand the use of public vs. private subnet and what is a bastion host and a nat gateway. We will do a hands on of creating a vpc with public and private subnet. We will also create a ec2 in public and private subnet and verify that the private ec2 instances are actually not...
AWS S3 Event Notifications with SNS and SQS
Переглядів 3,4 тис.Рік тому
In this video, we are going to learn on how o configure S3 Event Notifications with SNS and SQS. We will upload a file in S3 bucket and a object created notification will be received by the SQS sevice. Access Policy that needs to be configured on SQS. a) replace the SQS ARN b) replace the SNS ARN. { "Statement": [ { "Effect": "Allow", "Principal": { "Service": "sns.amazonaws.com" }, "Action": "...
AWS EventBridge Service - process AWS events
Переглядів 1,5 тис.Рік тому
This video will explain the use of the AWS eventbridge service and how we can use it to control the resources that are created within the AWS account. We will perform a hands on exercise to simulate terminating a costly ec2 instance created by a naive user. Lambda python script to terminate ec2 instances - github.com/gaurav157243/aws-projects/blob/main/eventbridge/terminate-ec2.py Content: AWS ...
Auto Scaling Group - Horizontal scaling using AWS
Переглядів 913Рік тому
In this video, we will understand on how to use the AWS Auto Scaling Groups to dynamically create and terminate the EC2 instances. Actual demo with automatically creating an EC2 depending on the CPU utilization of the machine.
AWS Serverless stack for web application using services like API Gateway, Lambda and dynamodb.
Переглядів 736Рік тому
AWS Serverless stack for web application using services like API Gateway, Lambda and dynamodb.
Create 100 Servers in one minute
Переглядів 202Рік тому
Create 100 Servers in one minute
Send Email using SQS, Lambda and SES
Переглядів 3,1 тис.Рік тому
Send Email using SQS, Lambda and SES
AWS Elastic Beanstalk
Переглядів 539Рік тому
AWS Elastic Beanstalk
AWS Account - Setup zero dollar budget to control cost
Переглядів 444Рік тому
AWS Account - Setup zero dollar budget to control cost
AWS NEW FREE TIER ACCOUNT CREATION STEPS
Переглядів 351Рік тому
AWS NEW FREE TIER ACCOUNT CREATION STEPS
AWS - Project - Part 6 - DB verification and cleanup
Переглядів 96Рік тому
AWS - Project - Part 6 - DB verification and cleanup
AWS - Project - Part 4- Application Load Balancer Setup
Переглядів 157Рік тому
AWS - Project - Part 4- Application Load Balancer Setup
AWS - Project - Part 5 - UI Frontend setup
Переглядів 142Рік тому
AWS - Project - Part 5 - UI Frontend setup
AWS - Project - Part 1- Introduction
Переглядів 324Рік тому
AWS - Project - Part 1- Introduction
AWS - Project - Part 2 - Database Setup
Переглядів 267Рік тому
AWS - Project - Part 2 - Database Setup
AWS - Project - Part 3 - Application Deployment on EC2
Переглядів 198Рік тому
AWS - Project - Part 3 - Application Deployment on EC2

КОМЕНТАРІ

  • @singaravelan163
    @singaravelan163 15 днів тому

    Thank you so much Sir. This is very useful😊.

  • @Rgroose
    @Rgroose Місяць тому

    helpful, thanks

  • @indranilgoswami1500
    @indranilgoswami1500 2 місяці тому

    Thanks sir..very good explanation.

  • @upasanapathak462
    @upasanapathak462 3 місяці тому

    Hi Sir, your videos are awsome. Got to learn many stuffs. Request you to share more videos.

  • @tanmay91patil
    @tanmay91patil 3 місяці тому

    Thanks . Easy to understand .

  • @quoctang6408
    @quoctang6408 3 місяці тому

    sudo dnf install -y postgresql14.x86_64 postgresql14-server i can't download this version

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 3 місяці тому

      you can use the following command - sudo dnf install postgresql15.x86_64 postgresql15-server -y

  • @BipinSinghITSupport
    @BipinSinghITSupport 4 місяці тому

    this lambda code is not working.. Please help

  • @tharushakudagala3321
    @tharushakudagala3321 4 місяці тому

    Thanks a lot

  • @JosephSeeley-cb6pv
    @JosephSeeley-cb6pv 5 місяців тому

    Exactly what I needed Gaurav! Thanks so much for walking through this and providing sample code!!

  • @premium7720
    @premium7720 5 місяців тому

    Informative video :)

  • @AndrewSu180
    @AndrewSu180 5 місяців тому

    Why not set it up to parse the to and from addresses from the MIME content itself?

  • @AliAsgar-zy7wp
    @AliAsgar-zy7wp 5 місяців тому

    I dont know why i am not getting emails

  • @meetsavaliya6472
    @meetsavaliya6472 5 місяців тому

    for connection ip address is public or private

  • @amitbajpai3431
    @amitbajpai3431 6 місяців тому

    Nice explanation

  • @hemaldodiya4858
    @hemaldodiya4858 6 місяців тому

    it gives me connection timeout error what to do ?

  • @crazymind5273
    @crazymind5273 7 місяців тому

    Sir AWS Glue pe Video banao

  • @akshaykatkam2340
    @akshaykatkam2340 7 місяців тому

    sir do you teach aws ?

  • @GeorgeMartinJose
    @GeorgeMartinJose 7 місяців тому

    Very clear & helpful video. thanks

  • @jagatbandhu2601
    @jagatbandhu2601 7 місяців тому

    Can you let me know, how to connect with existing RDS to elastic bean stalk

  • @techiashish86
    @techiashish86 8 місяців тому

    Thanks its worked for me......

  • @shivakumarpalled5462
    @shivakumarpalled5462 8 місяців тому

    great sir, thanks

  • @pranav7478
    @pranav7478 8 місяців тому

    Sir, a very good explanation. Could you please tell me which app you are using for presenting this?

  • @BilalShaikh-gz9ve
    @BilalShaikh-gz9ve 9 місяців тому

    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 9 місяців тому

    Thank you Sir, This was a wonderful explanation with easy to follow hands-on. Looking forward to learning more from you.

  • @tanayaraut549
    @tanayaraut549 9 місяців тому

    Bucket ka Kam hone ke baad vo delete krni padti hai kya?

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 9 місяців тому

      Yes

    • @tanayaraut549
      @tanayaraut549 9 місяців тому

      @@AWSTrainingByGauravAgrawal I got the payment mail do u have any vdo tht how to pay that?

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 9 місяців тому

      @@tanayaraut549 no I don’t have a video for that. But the email should have the steps on how to proceed.

  • @tanayaraut549
    @tanayaraut549 10 місяців тому

    Should we also terminate the default vpc??

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 10 місяців тому

      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 10 місяців тому

    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 10 місяців тому

      Please refer to this video - ua-cam.com/video/XGkm2BwNpyI/v-deo.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 10 місяців тому

    I didn't got the email

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 10 місяців тому

      Didn’t u got an email while setting up the email in SES ? Check your spam Folder also

    • @tanayaraut549
      @tanayaraut549 10 місяців тому

      No I don't got I hav also check spam 😕​@@AWSTrainingByGauravAgrawal

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 10 місяців тому

      Please go through the video again then, mostly all of the associates have received the email.

    • @tanayaraut549
      @tanayaraut549 10 місяців тому

      Yes vry helpful

    • @tanayaraut549
      @tanayaraut549 9 місяців тому

      @@AWSTrainingByGauravAgrawal do u have any vdo of how to create an S3 bucket??

  • @sudsrmsee
    @sudsrmsee 10 місяців тому

    super > keep it up

  • @01_Keren
    @01_Keren 10 місяців тому

    Is it possible to do that directly without using a lambda for shutting down ec2?

    • @15724388200
      @15724388200 10 місяців тому

      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 10 місяців тому

      we can do it with Azure DevOps pipeline completely free

    • @tapiaomars
      @tapiaomars 3 місяці тому

      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 10 місяців тому

    Very good explanation and very helpful. Thanks sir..

  • @shrig018
    @shrig018 10 місяців тому

    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 10 місяців тому

      Glad it helped!

    • @shrig018
      @shrig018 10 місяців тому

      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 10 місяців тому

    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 10 місяців тому

      You cannot bypass email subscription in local and for production setup, subscription is not required

    • @pandupatil149
      @pandupatil149 10 місяців тому

      @@AWSTrainingByGauravAgrawal Thank you Gaurav

    • @pandupatil149
      @pandupatil149 10 місяців тому

      @@AWSTrainingByGauravAgrawal Hi Gaurav.. Though I am using the aws dev account of my organisation, it is still asking for verification

  • @navarajpokharel8980
    @navarajpokharel8980 10 місяців тому

    Thank you sir❤❤❤

  • @tanayaraut549
    @tanayaraut549 11 місяців тому

    Authentication failure aa rha hai

  • @tanayaraut549
    @tanayaraut549 11 місяців тому

    Sir wht we shoult type in retype password

  • @shivammishra4177
    @shivammishra4177 11 місяців тому

    Sir just got the video that I wanted. Your teaching is great.

  • @kapilghule751
    @kapilghule751 11 місяців тому

    please give me a script for how to start multiple EC2 instances?

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal 11 місяців тому

      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 11 місяців тому

      @@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 11 місяців тому

      @@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 11 місяців тому

      ​@@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 11 місяців тому

      Earlier script you mentioned tags to stop each instance

  • @velurubharath8929
    @velurubharath8929 11 місяців тому

    Great video.

  • @atharvajagtap1673
    @atharvajagtap1673 11 місяців тому

    sir ...is ECR repo...is paid service or free tear service

  • @cloudcyber7866
    @cloudcyber7866 Рік тому

    Thank you, please can you use nodejs projects in your demo if possible

  • @kavinsubramaniyan
    @kavinsubramaniyan Рік тому

    sir what about the ip address of web page not

  • @Vishu28_11
    @Vishu28_11 Рік тому

    Do u teach AWS solution architect course

  • @piyushraut3715
    @piyushraut3715 Рік тому

    Sir..can we again come back to previous storage class once it is moved to next class ? If we want

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal Рік тому

      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 Рік тому

    Sir, if deploy postgresql in AWS ec2 , where will the data be stored? Please let me know this. 🙏🙏🙏🙏🙏

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal Рік тому

      The data will be stored on the local EBS volume which is attached to the EC2 instance.

    • @crazy_gamers_0079
      @crazy_gamers_0079 Рік тому

      @@AWSTrainingByGauravAgrawal so there will no problem with that . Storing the data on Ebs.Thanku sir for replying

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal Рік тому

      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 Рік тому

    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 Рік тому

      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 Рік тому

      I'm waiting for your response for above queries.

    • @AWSTrainingByGauravAgrawal
      @AWSTrainingByGauravAgrawal Рік тому

      @@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 Рік тому

      @@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 Рік тому

      Can you plz fix this code and help for another which I asked you for tagging and security group?

  • @Kalyan_Krishan
    @Kalyan_Krishan Рік тому

    Very informative video, Can you please guide how to encrypt the devices offline and online.

  • @nikafiq310
    @nikafiq310 Рік тому

    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

  • @shubhamchaudhari7599
    @shubhamchaudhari7599 Рік тому

    all information is very helpful