AWSCLI Tips
@awscli_tips
Showing tips and tricks to get the most out of the AWS CLI. Written by @ArjenSchwarz as part of @ignoreme_site. Not associated with @awscloud
Bạn có thể thích
The JMESPath --query syntax for the CLI is very powerful and lets you combine values from different levels into a single output. It even lets you filter by key values and filter them up. Example code for basic information about your EC2 instances at github.com/ig-nore-me/aws…
Some commands limit what you can filter by. For example, ec2 describe-vpc-peering-connections only lets you filter by either the requester VPC OR the accepter VPC. Using a --query allows you to work around this and search for either in one command. Code at github.com/ig-nore-me/aws…
Did you know that you can now authenticate to your #EKS cluster using only the AWS CLI? You no longer need any extra tools! Read the full announcement here aws.amazon.com/about-aws/what…
Yesterday's vpcbyname can be used in many functions, for example one that gives you an overview of your subnets. Using the built-in JMESPath syntax we can even use the --query operator to sort this by available IPs. Code at github.com/ig-nore-me/aws…
Many cli commands require the ID of your VPC, but that is hard to remember (especially now that they're 17 random characters). Why not use a function to call it based on the Name tag? The code for vpcbyname is at github.com/ig-nore-me/aws…
When you have an API key, but all access is MFA only, you can get an authorised STS token using a combination of aws iam list-mfa-devices and aws sts get-session-token. Code at github.com/ig-nore-me/aws… #awstips
Hello! This account's purpose is to provide useful AWS CLI snippets people can use, which will start showing up over the next days.
United States Xu hướng
- 1. New York 21.8K posts
- 2. New York 21.8K posts
- 3. $TAPIR 1,659 posts
- 4. Virginia 525K posts
- 5. Texas 221K posts
- 6. Prop 50 181K posts
- 7. #DWTS 40.9K posts
- 8. Clippers 9,576 posts
- 9. Cuomo 411K posts
- 10. TURN THE VOLUME UP 19.3K posts
- 11. Harden 9,907 posts
- 12. Ty Lue N/A
- 13. Jay Jones 101K posts
- 14. Van Jones 2,336 posts
- 15. Bulls 36.5K posts
- 16. #Election2025 16.2K posts
- 17. Embiid 6,146 posts
- 18. Sixers 13K posts
- 19. WOKE IS BACK 36.5K posts
- 20. Isaiah Joe N/A
Something went wrong.
Something went wrong.