- Видео 32
- Просмотров 76 479
Suroj Bera
Индия
Добавлен 15 янв 2015
Hey friends!!
I try to make educational videos on different IT topics. My main motive is to make technologies simple for everyone.
I would always love to hear back from you so that I can improve the content quality going forward.
I try to make educational videos on different IT topics. My main motive is to make technologies simple for everyone.
I would always love to hear back from you so that I can improve the content quality going forward.
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/...
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
Man, this dude creates the tutorial with robust and complete information without any additional stories. straight to the heart. Love you ma friend
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
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.
Greate learning, I want instance name instead of id can we do anything for that???
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.
Thanks
thank you so much!
Pls also discuss about command uses
Don't we need to allow any permission in S3 bucket policy ?
No. Not required in this case.
Do you have to allow ingress port 2049 for efs-sg @ 04:55 ?
Yes Ahmed. In the inbound rule of the EFS security group, port 2049 needs to be opened from the EC2 security group.
can we use this method in daily backup process to s3 from ec2?
useful video thanks
Happy to help 😊
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!
clear explanation
Glad to hear that
hey, bro what Object Ownership are you using in this example? and encryption?
Default ownership and default encryption.
Awesome video.. Thankyou
My pleasure 😊
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.
Pretty good video. Thanks.
Glad you liked it!
Thank you Suroj, your video was very thorough and easy to follow. I was able to recreate the steps in my own environment.
Glad it helped. 😊
🔥🔥
Very informational video... Can we send the logs from the AWS SQS Queue to S3 bucket? Please let me know
Yes. You should be able to send the logs to the S3 bucket.
very nice tutorial 👌👌👌
Thank you for valuable feedback 😊
Thanks so much for this video. It has helped me alot
Thank you. Keep learning 😊
Can we change the ip address of ec2 instance manually?
Directly you can't change the ip address of an ec2 instance. But you can assign an elastic ip to the instance.
May i know why the event bridge needed orcehat is the role of event bridge when sns is used
super class and also presentation
Thank you for your valuable feedback 😊
Thank u bro clear explanation and effort.
Glad you liked it. Keep learning. 😊
Great thanks, I was lokking to find a explanation on this. Good job appreciate it
Thank you for your valuable feedback. 😊
Very good information brother. how to access objects in s3 bucket without cred's using programatically ?
I will check and get back to you brother.
Great support Dear 🎉.
Thank you Shaik for your valuable feedback 😊
Your content is good, Moreover the simple way you explain is awesome. Keep it up and thanks for sharing this wonderful knowledge.
Thank you Shailesh for your valuable feedback. Keep supporting. 😊
Thank you so much for the wonderful video. Nice explanation. Its much much much helpful to do my task
Glad it was helpful! Keep learning ✌️
nice video sir i am learning lots of knowledge
Glad to hear that. Keep learning. 😊
Nice video sir ,
Thank you for your valuable feedback. Keep learning. ✌️
You deserve more subscribers man.Keep up the good work
Thank you for your valuable feedback. Keep learning. ✌️
good
bro are you a devops engineer?
Yes bro.
@@surojbera BRO CAN I HAD A 1:1 DISCUSSION WITH YOU ACTUALLY I NEED SOME CARRIER GUIDANCE IF YOU FELL FREE THEN
@@MrHary0309 Please ping me in LinkedIn
@@surojbera bro your linkdin id
Great 👍
Excellent video man ... lot to learn !!!
Welcome back brother.🎉
Good bro
Thank you very much for this vídeo! This helped me so much!!
You are always welcome. 😊 Keep learning.
Thank you brother for uploading valuable video.
muito bom! salvou minha comunicação aqui! obrigado
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.
Thanks, Mohan for bringing new questions. I shall create videos on those scenarios.
👍
Valuable content
Please upload more videos
Will upload the next video very soon. Stay tuned.
@@surojbera thank you
Thank you
Happy to help you 😊
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
Thanks Dev Patel for your valuable feedback. Keep learning and help others to learn. 😊
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 ??
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.
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.
@@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 ..
@@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.
@@surojbera Better u make the video on this it will very helpfull if any other get same use case pls
Please Sir make video on aws interview preparation, day to day activity, real time projects,