Thank you Yogesh !! You were just awesome . CLI was a grey-area for me and I just started getting my hands dirty, this tutorial of yours was very helpful . If you cud add 40 most used and powerful CLI commands , That would be great too .Thanks again
good to hear your lecture Mr. Yogesh, but we have small doubt on Aws cli, compared to Aws dashboard cli isn't friendly collaborated. one more doubt I have for creating instance how to get AMI, SECURITY GROUPS, AND INSTANCE TYPE how to fix all those parameters with see in Dashboard, how can we make??
Hello, your video is very impressive, can u please make a video for spinning up EC-2 instance automatically by using Jenkins with out manual interruption from AWS-CLI. Here Jenkins has to kick cloud formation template to spin up instance. If u can share your knowledge regarding this that would be great.
Hi Yogesh, i am using command line (CMD prompt) to launch ec2 instance ...everything is working fine except user-data part. Please help in this regards.
in the above example, you need to get rid of "< >".. example --image-id ami-cdbdd7 instead of --image-id .. please watch the complete video, it have details
hi, How to modify user data after launching an instance..?? am using this script as user data: #cloud-boothook #!/bin/sh echo "my.new.host" > /etc/hostname hostname "my.new.host" and my cli command is : aws ec2 modify-instance-attribute --instance-id i-******* --user-data file://script.sh am getting this error : Error parsing parameter '--user-data': Expected: '=', received: '!' for input: #!/bin/sh ^
@sahana .. the user data gets executed for the 1st time when the EC2 instances gets launched . So typically there wont be a use case for the user data to run after the instance is launched.
('Connection aborted.', error(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')) when i am stoping instances from aws cli than i am getting this error if u help me for this. thanks
Hi Arzoo, seems you are using CLI on powershell,windows machine.. You can refer below link , it will help . calvintrobinson.com/resolving-error-10060-when-using-aws-cli-tools-on-your-windows-server/
I saw all video. Very easy to understand. very very very Good job.
Ramesh G. , thanks mate
Thank you Yogesh !! You were just awesome . CLI was a grey-area for me and I just started getting my hands dirty, this tutorial of yours was very helpful .
If you cud add 40 most used and powerful CLI commands , That would be great too .Thanks again
Thank's For Sharing By Mehta. This incredible helpfull video.
Very well done. Keep up the good work!
thanks for feedback
how to get the subnet ID and security ID to the instances I am about to launch?
your doing great work....
Thanks Mate.
good to hear your lecture Mr. Yogesh, but we have small doubt on Aws cli, compared to Aws dashboard cli isn't friendly collaborated. one more doubt I have for creating instance how to get AMI, SECURITY GROUPS, AND INSTANCE TYPE how to fix all those parameters with see in Dashboard, how can we make??
Many thanks for sharing you messaging service
thanks for feedback
Yogesh Mehta thanks 🙏 for your great videos that will motivate most of us learn more everyday many thanks
Thanks for the feedback. Happy learning
Great work
how to find specific instance details from all the listed instances.
+GAURAV KUMAR you can filter the attributes
Hello,
your video is very impressive, can u please make a video for spinning up EC-2 instance automatically by using Jenkins with out manual interruption from AWS-CLI. Here Jenkins has to kick cloud formation template to spin up instance. If u can share your knowledge regarding this that would be great.
Hi Yogesh, i am using command line (CMD prompt) to launch ec2 instance ...everything is working fine except user-data part.
Please help in this regards.
what's error you are getting ? and what's complete command you are trying ?
Command Example :
aws ec2 run-instances --image-id --count 1 --instance-type t2.micro --key-name ansible --subnet-id --security-group-ids
in the above example, you need to get rid of "< >".. example
--image-id ami-cdbdd7 instead of --image-id .. please watch the complete video, it have details
i just wrote it to keep it was watching on Phone you are awesome and your videos are really helpful to get the sufficient knowledge
Thanks
hi,
How to modify user data after launching an instance..??
am using this script as user data:
#cloud-boothook
#!/bin/sh
echo "my.new.host" > /etc/hostname
hostname "my.new.host"
and my cli command is :
aws ec2 modify-instance-attribute --instance-id i-******* --user-data file://script.sh
am getting this error :
Error parsing parameter '--user-data': Expected: '=', received: '!' for input:
#!/bin/sh
^
@sahana .. the user data gets executed for the 1st time when the EC2 instances gets launched . So typically there wont be a use case for the user data to run after the instance is launched.
cat >/tmp/o ....does not do anything...even after some minutes it does not show anything on screen
('Connection aborted.', error(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')) when i am stoping instances from aws cli than i am getting this error if u help me for this. thanks
Hi Arzoo, seems you are using CLI on powershell,windows machine.. You can refer below link , it will help .
calvintrobinson.com/resolving-error-10060-when-using-aws-cli-tools-on-your-windows-server/
sorry sir this link not helping me.
Hi yogesh I sent email can you please check and feedback to my email
thanks for the feedback :) I have responded to your email.. :)