Get the url of the queue using below command where queuename is the name of the queue. aws sqs get-queue-url
Continue readingCategory: How-To Guides
How to send a message to an SQS queue
Login to the AWS Management Console and search for SQS service. Select the queue that you would like to send
Continue readingHow to create an S3 bucket from AWS CLI
Using high level s3 commands: aws s3 mb s3://bucketname Using S3 api commands: aws s3api create-bucket –bucket bucketname –region regionname
Continue readingHow to purge an SQS queue from AWS CLI
To delete all the messages in an SQS queue without deleting the queue itself, use the purge option as below:
Continue readingHow to purge messages from an SQS queue from AWS Management Console
Login to the AWS Management Console and navigate to ‘Simple Queue Service’ SQS. on the SQS dashboard, select the queue
Continue readingHow to delete unused EBS volumes from AWS CLI to save on cost
Use the below command to generate a list of volume id’s of all detached EBS volumes. aws ec2 describe-volumes –filter
Continue readingHow to configure a dead-letter queue for an existing SQS queue
Create a new queue to receive the undeliverable messages using the steps outlined here from the console or here using
Continue readingHow to find the size of a Redshift database
To determine the size of a database in Redshift cluster, use the below query. SELECT database, SUM(size) as “size in
Continue readingHow to find the size of a schema in Redshift
Use the below query to determine the size of all schemas in Redshift database. SELECT schema, SUM(size) as “size in
Continue readingHow to find the size of a table in Redshift
SVV_TABLE_INFO view shows information of all user-defined tables.Use the below query to determine the size of a table in Redshift
Continue reading