Skip to content

AWS bytes

  • Cheat Sheets
  • Concepts
    • Show All
    • S3 Concepts
  • How-To Guides
    • Show all
    • EC2
    • EBS
    • S3
    • Redshift
    • IAM
    • SQS
    • CloudWatch
    • Billing
  • CLI Guides
  • Contact Us
  • Tutorials
  • Interview Questions
  • Postgresql
How-To Guides / Redshift

How to remove a user from a group in Redshift database

Below is the command to remove a user from a group in Redshift database where username is the name of

Continue reading
How-To Guides / Redshift

How to drop a user in Redshift

Below is the syntax to drop a single user from the Redshift database. drop user username; Syntax to drop multiple

Continue reading
How-To Guides / Redshift

How to change password of a user in Redshift database

Use the below command to change user password: alter user username password ‘valueforpassword’; Use the below command to set expiration

Continue reading
How-To Guides / Redshift

How to Rename a user in Redshift database

Below is the command to rename a redshift database user: alter user username rename to new_username;

Continue reading
How-To Guides / Redshift

How to rename column in Redshift database

Use the below command to rename column of a Redshift table. alter table tablename rename column columnname to new_columnname;

Continue reading
How-To Guides / Redshift

How to rename a table in Redshift

Below is the syntax to rename a table in Redshift database: alter table tablename rename to new_tablename;

Continue reading
How-To Guides / Redshift

How to create a table in Redshift database

Below is the syntax to create a new table in Redshift database: CREATE TABLE tablename ( column1 datatype, column2 datatype,

Continue reading
EC2 / How-To Guides

How to change EC2 Instance type from AWS CLI

Step1: Stop the Instance aws ec2 stop-instances –instance-ids INSTANCEID Step2: Change Instance type. I’ve used r5.xlarge in the below example.

Continue reading
EC2 / How-To Guides

How to Stop, Start, Reboot, Terminate EC2 Instances from AWS CLI

Command to stop an EC2 Instance: aws ec2 stop-instances –instance-ids INSTANCEID Command to start an EC2 Instance: aws ec2 start-instances

Continue reading
EC2 / How-To Guides

How to create an AMI of an EC2 Instance from AWS CLI

Use the below command to create AMI of an EC2 Instance. Replace instanceid and name values accordingly. aws ec2 create-image

Continue reading

Posts pagination

«Previous Posts 1 … 25 26 27 28 29 … 33 Next Posts»
  • PostgreSQL Tutorials
  • Redshift Tutorials
WordPress Theme: Maxwell by ThemeZee.