Suroj Bera
Suroj Bera
  • Видео 32
  • Просмотров 76 479
AWS - 28 - Provide Cross Account S3 Bucket Access to EC2 Instance without using STS Assume Role
In this video, we have shown how to provide cross-account S3 bucket access to an EC2 instance. The process of defining the bucket policy has been discussed in this video. Creating an IAM role for the EC2 instance and attaching the same with the instance has been shown in this video. Besides, the process to upload objects to the S3 bucket and download objects from the bucket from within the EC2 instance has also been shown.
Your feedback and suggestions are always appreciated.
If you really like this video kindly subscribe to this channel and press the bell icon to be the one to get all updates from this channel.
Playlist link - www.youtube.com/@surojbera/playlists
LinkedIn - www.linkedin.com/...
Просмотров: 2 126

Видео

AWS - 27 - Provide Cross Account Access to IAM User
Просмотров 1,7 тыс.Год назад
In this video, we have shown how to provide cross-account access to an IAM user. We have also shown the process to switch roles to access the cross-account console. Shown the process to configure a new IAM profile to access cross-accounts using AWS CLI. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe to this channel and press the bell icon to...
AWS - 26 - Access S3 Objects From Any Servers Without Credentials
Просмотров 2,2 тыс.Год назад
In this video, we have shown how to access S3 objects from an ec2 instance in the same account, a different account, and from a local computer without providing any credentials at the server end. We have defined an S3 bucket policy to restrict access to specific servers only. no-sign-request flag has been used to skip the credentials check part while accessing S3 objects. Your feedback and sugg...
AWS - 25 - Access S3 Bucket from an EC2 Instance Over a Private Network
Просмотров 3,6 тыс.Год назад
In this video, we have shown how to access S3 buckets from an ec2 instance over a private network using Gateway Endpoint. We have created one bastion host (public ec2) in the public subnet and a private ec2 instance in the private subnet. Created a Gateway Endpoint in the VPC and associated it with the private route table. Used the Gateway Endpoint to access S3 bucket from the private ec2 insta...
AWS - 24 - Send Message from an EC2 Instance to SQS over a Private Network Using Interface Endpoint
Просмотров 1,7 тыс.Год назад
In this video, we have shown how to send a message from an ec2 instance to an SQS queue over a private network using an interface endpoint. We have created one bastion host (public ec2) in the public subnet and a private ec2 instance in the private subnet. Created an interface endpoint in the same private subnet. Used the interface endpoint to send a message from the private ec2 instance to the...
Terraform - 04 - Terraform Variable and Output Block
Просмотров 119Год назад
In this video, variable and output blocks in terraform configuration files have been explained. We have created an ec2 instance using terraform variable and resource block. We also have shown the public IP of the ec2 instance using the output block. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe to this channel and press the bell icon to be ...
Terraform - 03 - Basic Structure of Terraform Configuration File
Просмотров 425Год назад
In this video, the basic structure of a terraform configuration file has been explained. We have discussed terraform block, provider block, and resource block. Besides, .terraform sub-directory, .terraform.lock.hcl file, terraform.tfstate file and terraform.tfstate.backup files have been described in detail. Use of terraform init -upgrade command has also been shown in this video. Your feedback...
AWS - 23 - Concept of VPC Endpoints
Просмотров 935Год назад
In this video, VPC Endpoints are explained. The working of VPC Endpoints has also been discussed. Besides, different types of VPC Endpoints like Interface Endpoints and Gateway Endpoints have been covered. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe to this channel and press the bell icon to be the one to get all updates from this channel...
Terraform - 02 - Terraform Workflow
Просмотров 163Год назад
In this video, Terraform workflow has been explained. We have discussed all the steps including Initialize, Plan, and Apply to spin up cloud infrastructure. The working of Terraform has also been discussed in this video. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe to this channel and press the bell icon to be the one to get all updates fr...
Terraform - 01 - Introduction to Terraform
Просмотров 262Год назад
In this video, we have been introduced to Terraform. We have discussed different editions of Terraform and use cases of Terraform. We also have downloaded and installed Terraform binary file in the windows system. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe to this channel and press the bell icon to be the one to get all updates from this...
AWS - 22 - Access S3 Objects of One Account from EC2 Instance in Another Account
Просмотров 6 тыс.Год назад
This video will explain how to access S3 buckets and objects in one AWS account from an EC2 instance in another account. Create an EC2 role with sts assume role and attach the same to the EC2 instance. The sts assume role should be created with s3 access in the other account. Create a temporary sts token to get access to the S3 buckets and objects in another account. Your feedback and suggestio...
AWS - 21 - Start and Stop EC2 using Lambda Function
Просмотров 6562 года назад
This video will explain how to create and define a lambda function that will start Stopped EC2 instances and will stop Running EC2 instances using AWS-SDK. The lambda can change the state of multiple EC2 instances at a time. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe and press the bell icon to be the one to get any updates from this chan...
AWS - 20 - Establish Connection Between Two Different VPCs Using VPC Peering
Просмотров 6 тыс.2 года назад
In this video, we have explained how to establish a connection between two different VPCs. Explained and showed a demo on VPC Peering. Besides, we have created two EC2 instances in two public subnets in different VPCs to demonstrate how VPC Peering works. Created and updated Security Groups and Route Table routes to make you understand the VPC Peering concept during the video. Your feedback and...
AWS - 19 - Connect Private Instance to the Internet using NAT Gateway
Просмотров 8862 года назад
In this video, we have explained how to create a VPC and its components. We have configured a NAT Gateway with an EC2 instance present in the private subnet so that the instance can connect to the internet through the NAT Gateway present in the public subnet. Besides, we have created an EC2 instance in the public subnet through which we are trying to reach the instance in the private subnet. He...
AWS - 18 - Get Email Notification on EC2 Instance State Change
Просмотров 3,3 тыс.2 года назад
In this video, we have explained the steps to send an email notification whenever any EC2 instance changes its state. For email notification, the SNS topic has been used here, and to check the EC2 instance's state Amazon EventBridge has been used here. Your feedback and suggestions are always appreciated. If you really like this video kindly subscribe and press the bell icon to be the one to ge...
AWS - 17 - Trigger Lambda Function with S3 Event to Create and Send a message to SQS Queue
Просмотров 3,2 тыс.2 года назад
AWS - 17 - Trigger Lambda Function with S3 Event to Create and Send a message to SQS Queue
AWS - 16 - Introduction to Lambda and its features
Просмотров 5032 года назад
AWS - 16 - Introduction to Lambda and its features
AWS - 15 - Mount EFS to EC2 Instances using NFS Client
Просмотров 8 тыс.2 года назад
AWS - 15 - Mount EFS to EC2 Instances using NFS Client
AWS - 14 - IAM Permissions Boundary
Просмотров 1,1 тыс.2 года назад
AWS - 14 - IAM Permissions Boundary
AWS - 13 - Access S3 Objects from EC2 Instance
Просмотров 18 тыс.2 года назад
AWS - 13 - Access S3 Objects from EC2 Instance
AWS - 12 - Static Website Hosting Using Amazon S3
Просмотров 2642 года назад
AWS - 12 - Static Website Hosting Using Amazon S3
AWS - 11 - Update ASG Desired Capacity with CloudWatch Alarm
Просмотров 6722 года назад
AWS - 11 - Update ASG Desired Capacity with CloudWatch Alarm
AWS - 10 - Connect to EC2 instance after losing the Private Key
Просмотров 3702 года назад
AWS - 10 - Connect to EC2 instance after losing the Private Key
AWS - 09 - Attach a new EBS volume to EC2 instance
Просмотров 2852 года назад
AWS - 09 - Attach a new EBS volume to EC2 instance
AWS - 08 - Instance Store vs EBS Volume
Просмотров 7402 года назад
AWS - 08 - Instance Store vs EBS Volume
AWS - 07 - Launch Configuration vs Launch Template
Просмотров 2,7 тыс.2 года назад
AWS - 07 - Launch Configuration vs Launch Template
AWS - 06 - Set up Application Load Balancer with Auto Scaling Group
Просмотров 6 тыс.2 года назад
AWS - 06 - Set up Application Load Balancer with Auto Scaling Group
AWS - 05 - Implement ALB on the top of EC2 instances
Просмотров 3942 года назад
AWS - 05 - Implement ALB on the top of EC2 instances
AWS - 04 - Implementation of Classic Load Balancer with EC2 instances
Просмотров 1,8 тыс.2 года назад
AWS - 04 - Implementation of Classic Load Balancer with EC2 instances
AWS - 03 - Install and run Apache web server in an EC2 instance
Просмотров 5572 года назад
AWS - 03 - Install and run Apache web server in an EC2 instance

Комментарии

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

    Man, this dude creates the tutorial with robust and complete information without any additional stories. straight to the heart. Love you ma friend

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

    Hello Suraj sir,I got this video Today and its fantastic,As you select Amazon Linux for ec2 instance,Can you please help me to connect private ec2 taking (windows instead of linux) to S3 bucket,as I am not good in Linux command,Can can you please give a video link.I will appreciate for your help Thank you

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

      All the steps will be the same for the Windows system. Once the windows system is ready, open the command prompt and execute those AWS cli commands from the windows system. AWS CLI commands are the same across different OS.

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

    Greate learning, I want instance name instead of id can we do anything for that???

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

      I believe we can get the instance name by using the instance tag. I am not exactly sure about the solution at this moment. I need to dig into it.

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

    Thanks

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

    thank you so much!

  • @RahulGupta-jm8bv
    @RahulGupta-jm8bv 3 месяца назад

    Pls also discuss about command uses

  • @vicky-xv1xs
    @vicky-xv1xs 4 месяца назад

    Don't we need to allow any permission in S3 bucket policy ?

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

      No. Not required in this case.

  • @ahmedsalahel-din1311
    @ahmedsalahel-din1311 5 месяцев назад

    Do you have to allow ingress port 2049 for efs-sg @ 04:55 ?

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

      Yes Ahmed. In the inbound rule of the EFS security group, port 2049 needs to be opened from the EC2 security group.

  • @JohnsonThomas-g5u
    @JohnsonThomas-g5u 6 месяцев назад

    can we use this method in daily backup process to s3 from ec2?

  • @मर्दनहींमैंशायरहु

    useful video thanks

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

      Happy to help 😊

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

    Thanks for the video. Any advice on how I can get this to alert if an |EC2 is created in ALL of the regions available in my account? It only alerts if I create an EC2 in the default region. Much appreciated!

  • @vendhanp-zr4nd
    @vendhanp-zr4nd 7 месяцев назад

    clear explanation

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

      Glad to hear that

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

    hey, bro what Object Ownership are you using in this example? and encryption?

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

      Default ownership and default encryption.

  • @MEHARAFROZ-ub1hr
    @MEHARAFROZ-ub1hr 8 месяцев назад

    Awesome video.. Thankyou

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

      My pleasure 😊

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

    Actually there is a possibility not to copy your private key on an ec2 instance. I don't know how it will be on windows, but on linux I can just type: ssh-add mykey.pem # now the private key is in the ssh agent(running on your machine) ssh -A username@hostname And after this you can simply use ssh without key inside your EC2 instance to connect to other ec2 instances. But this works only if you have an instance with public ip and with open ssh access to you.

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

    Pretty good video. Thanks.

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

      Glad you liked it!

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

    Thank you Suroj, your video was very thorough and easy to follow. I was able to recreate the steps in my own environment.

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

      Glad it helped. 😊

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

    🔥🔥

  • @digambarpatil-b6f
    @digambarpatil-b6f 9 месяцев назад

    Very informational video... Can we send the logs from the AWS SQS Queue to S3 bucket? Please let me know

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

      Yes. You should be able to send the logs to the S3 bucket.

  • @SapnaGupta-w4y
    @SapnaGupta-w4y 9 месяцев назад

    very nice tutorial 👌👌👌

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

      Thank you for valuable feedback 😊

  • @techwithtats-sl3zi
    @techwithtats-sl3zi 9 месяцев назад

    Thanks so much for this video. It has helped me alot

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

      Thank you. Keep learning 😊

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

    Can we change the ip address of ec2 instance manually?

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

      Directly you can't change the ip address of an ec2 instance. But you can assign an elastic ip to the instance.

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

    May i know why the event bridge needed orcehat is the role of event bridge when sns is used

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

    super class and also presentation

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

      Thank you for your valuable feedback 😊

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

    Thank u bro clear explanation and effort.

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

      Glad you liked it. Keep learning. 😊

  • @ClaudeAlexandreRochatProfile

    Great thanks, I was lokking to find a explanation on this. Good job appreciate it

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

      Thank you for your valuable feedback. 😊

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

    Very good information brother. how to access objects in s3 bucket without cred's using programatically ?

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

      I will check and get back to you brother.

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

    Great support Dear 🎉.

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

      Thank you Shaik for your valuable feedback 😊

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

    Your content is good, Moreover the simple way you explain is awesome. Keep it up and thanks for sharing this wonderful knowledge.

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

      Thank you Shailesh for your valuable feedback. Keep supporting. 😊

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

    Thank you so much for the wonderful video. Nice explanation. Its much much much helpful to do my task

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

      Glad it was helpful! Keep learning ✌️

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

    nice video sir i am learning lots of knowledge

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

      Glad to hear that. Keep learning. 😊

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

    Nice video sir ,

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

      Thank you for your valuable feedback. Keep learning. ✌️

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

    You deserve more subscribers man.Keep up the good work

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

      Thank you for your valuable feedback. Keep learning. ✌️

  • @PUJAPAL-br8cc
    @PUJAPAL-br8cc Год назад

    good

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

    bro are you a devops engineer?

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

      Yes bro.

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

      ​@@surojbera BRO CAN I HAD A 1:1 DISCUSSION WITH YOU ACTUALLY I NEED SOME CARRIER GUIDANCE IF YOU FELL FREE THEN

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

      @@MrHary0309 Please ping me in LinkedIn

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

      @@surojbera bro your linkdin id

  • @AbhishekSharma-gg8zz
    @AbhishekSharma-gg8zz Год назад

    Great 👍

  • @santanuhajra-v6r
    @santanuhajra-v6r Год назад

    Excellent video man ... lot to learn !!!

  • @Pradeepkumar-fb9zp
    @Pradeepkumar-fb9zp Год назад

    Welcome back brother.🎉

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

    Good bro

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

    Thank you very much for this vídeo! This helped me so much!!

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

      You are always welcome. 😊 Keep learning.

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

    Thank you brother for uploading valuable video.

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

    muito bom! salvou minha comunicação aqui! obrigado

  • @mohankumarsharma-c2v
    @mohankumarsharma-c2v Год назад

    Since service token is valid for limited period ,how we can make it permanent to access bucket of diff account through IAM Role? also please help me in how we can access it by IAM user also.

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

      Thanks, Mohan for bringing new questions. I shall create videos on those scenarios.

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

    👍

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

    Valuable content

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

    Please upload more videos

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

    Thank you

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

      Happy to help you 😊

  • @The-SmilinG-kukO
    @The-SmilinG-kukO Год назад

    This is what I was exactly looking for, Appreciate your work and effort. Amazing thing is this video popped up when it was needed the most. +1 like +1 Subscribe

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

      Thanks Dev Patel for your valuable feedback. Keep learning and help others to learn. 😊

  • @abhishekdubey-p9n
    @abhishekdubey-p9n Год назад

    I have to do same connection i want to Access my S3 bucket in Putty but without IAM role and Aws Configure the same thing you r doing pls help me out is there any documentation or any BLOG ??

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

      I am not sure at this moment. But I believe we can achieve this with S3 bucket policy. Let me check and get back to you.

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

      Just to clarify one point. If you are using putty to login to an EC2 instance and want to access the S3 bucket in a different account, the EC2 instance should have a role attached to it or we need to configure credentials using the aws configure command.

    • @abhishekdubey-p9n
      @abhishekdubey-p9n Год назад

      @@surojbera see we use this command to list S3(aws s3 ls) but it shows to do aws configure if i attach iam role to my instance it doesn't ask for this my use case is to do not attach IAM role and do no configure AWS but want to list my S3 bucket. So u r telling i can achieve this with bucket policy pls help me out ..

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

      @@abhishekdubey-p9n You just create one EC2 instance and one s3 bucket in the same AWS account. In the bucket policy of the S3 bucket write the below policy. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "s3:*", "Resource": [ "arn:aws:s3:::<bucket-name>", "arn:aws:s3:::<bucket-name>/*" ], "Condition": { "IpAddress": { "aws:SourceIp": "<public-ip-of-ec2>" } } } ] } Now login to your ec2 instance and write the below command to list all the objects inside your bucket. aws s3 ls <bucket-name> --no-sign-request It will list all the objects inside your bucket. Using the above policy you can do different operations with the S3 bucket objects. I am not sure at this moment how to list all the buckets in the AWS account without credentials. I shall create a video with cross-account access without credential setup.

    • @abhishekdubey-p9n
      @abhishekdubey-p9n Год назад

      @@surojbera Better u make the video on this it will very helpfull if any other get same use case pls

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

    Please Sir make video on aws interview preparation, day to day activity, real time projects,