How to manage multiple AWS keys on localhost

Overview To manage multiple AWS keys on localhost, configure multiple profiles in the AWS CLI using the ~/.aws/config and ~/.aws/credentials files. Step-by-step instructions Obtain Access Keys:Navigate to the AWS Management…

How to use curl to make DNS queries and resolve domains

1. Use –resolve Option The –resolve option allows you to manually specify the IP address for a domain, effectively overriding DNS resolution. Steps: Use the following syntax: curl –resolve <hostname>:<port>:<IP_address> <URL> Key…

How to force DNS lookup domains

$ nslookup dmscambs.co.uk 8.8.8.8$ nslookup dmscambs.co.uk$ curl -i www.dmscambs.co.uk$ curl -vvv www.biomodels.co.uk

AWS CLI Cheat Sheet

Common commands General Configuration Configure AWS CLI with credentials: aws configure –> Enter Access Key, Secret Key, Region, and Output Format. Create a profile: aws configure –profile <profile-name> Use a specific profile: Add –profile <profile-name> to your…