Be a command line expert with aws cli - TOP 30 commands

preview_player
Показать описание
Please like my video and subscribe for more

Website for more updates

Commands
aws s3 mb s3://bucket-name
aws s3 rb s3://bucket-name
aws s3 ls
aws ec2 create-key-pair --key-name mykeypair
aws ec2 terminate-instances --instance-ids i-5203422c
aws ec2 create-security-group --group-name my-sg --description "My security group
aws ec2 describe-security-groups --group-names my-sg
aws ec2 create-security-group --group-name my-sg --description "My security group" --vpc-id vpc-1a2b3c4d
aws ec2 authorize-security-group-ingress --group-name my-sg --protocol tcp --port 3389 --cidr 203.0.113.0/24
aws ec2 delete-security-group --group-name my-sg
aws ec2 delete-security-group --group-id sg-903004f8
aws ec2 describe-instance-status
aws ec2 create-snapshot --volume-id vol-656f37bf --description "This is my root volume snapshot."
aws ec2 describe-volumes
aws ec2 describe-snapshots -snapshot-id snap-6ed73e7f
aws ec2 create-image --instance-id i-873f1723 --name "My server" --description "An AMI for my server" --no-reboot
aws elb create-load-balancer --load-balancer-name my-load-balancer --listeners "Protocol=HTTP,LoadBalancerPort=80,InstanceProtocol=HTTP,InstancePort=80" --subnets subnet-15aaab61 --security-groups sg-a61988c3
aws elb create-load-balancer --load-balancer-name my-load-balancer --listeners --scheme internal "Protocol=HTTP,LoadBalancerPort=80,InstanceProtocol=HTTP,InstancePort=80" --subnets subnet-15aaab61 --security-groups sg-a61988c3
aws elb register-instances-with-load-balancer --load-balancer-name my-load-balancer --instances i-d6f6fae3
aws ec2 allocate-address
aws ec2 associate-address --instance-id i-873f1723 --public-ip 52.77.88.244
aws ec2 stop-instances --instance-ids i-1a2b3c4d
aws ec2 start-instances --instance-ids i-1a2b3c4d
aws ec2 terminate-instances --instance-ids i-1a2b3c4d
aws ec2 attach-volume --volume-id vol-1234abcd --instance-id i-abcd1234 --device /dev/sdf
aws ec2 detach-volume --volume-id vol-1234abcd
Рекомендации по теме
Комментарии
Автор

Thanks for the video it helped me immensely!

charliebravo
Автор

thanks for the info. I want to copy file from one ec2 instance to another. can you please help me with specific AWS cli command and other prerequisites. thanks!!!

anupamsingh
Автор

Hello sir how can we delete cli and aws configuration in local and server please let me know sir

vijjisanthi
Автор

thank you for this session.. it was really helpful.... thank you

gayikrish
Автор

Could you please let me know what is the exact we need to use to get the list of EBS Volumes with all the parameters like "Size, IOPS Used, InstanceID and etc, also I need to export it in CSV format.

Though I used the following command's but i"m not getting the results, could you please help me to fine tune this query


aws ec2 describe-volumes --filters Name=size, Values=* --output table > EBS.csv

amarnathrk
Автор

Hello, , its really a nice and clear video to learn awscli. I have a doubt, , when launching new instance you did not mention the keyname in command .how??

mohammedasif
Автор

Do you know if you can compute a sha1 on some data you already have stored in a s3 bucket

skywu
Автор

I want to create & manage Workspace through powershell, could u pls help me with the same?

omprakashverma
Автор

You are kidding me with the pounding keyboard and the tv in the background. Dude these are great commands ...remake the vid. Move your mic. Shut off the tv. But very good info! :-)

alcap
Автор

I would like to know how to get the linux kernal version of all ec2 instances using aws cli and also apply security patch to all those ec2 instances using aws cli. Could anyone please help on this.

balan
Автор

When checking my work in the command line, I type aws s3 ls but get this error: "An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied" -- can you please advise?

s.anderson
Автор

I want to copy from my s3 to RDS and secondly from sftp to RDS.

Ali-shkh
Автор

aws ec2 describe-instances --filters "Name=instance-type, Values=t2.micro"
how to filter particular instance and only specific details for that filtered instance
like i only need instance id and image id only

hellgates
Автор

i want to run multiple instances in ec2, plz help me

vikraz
Автор

There is nothing to like in your video! At least replace your keyboard it costs just Rs. 100/=

gaethatuk
welcome to shbcf.ru