Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Amazon Redshift Cookbook

You're reading from   Amazon Redshift Cookbook Recipes for building modern data warehousing solutions

Arrow left icon
Product type Paperback
Published in Apr 2025
Publisher Packt
ISBN-13 9781836206910
Length 468 pages
Edition 2nd Edition
Arrow right icon
Authors (3):
Arrow left icon
Shruti Worlikar Shruti Worlikar
Author Profile Icon Shruti Worlikar
Shruti Worlikar
 Patel Patel
Author Profile Icon Patel
Patel
Anusha Challa Anusha Challa
Author Profile Icon Anusha Challa
Anusha Challa
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Getting Started with Amazon Redshift 2. Data Management FREE CHAPTER 3. Loading and Unloading Data 4. Zero-ETL Ingestions 5. Scalable Data Orchestration for Automation 6. Platform Authorization and Security 7. Data Authorization and Security 8. Performance Optimization 9. Cost Optimization 10. Lakehouse Architecture 11. Data Sharing with Amazon Redshift 12. Generative AI and ML with Amazon Redshift 13. Other Books You May Enjoy
14. Index
Appendix

Creating an Amazon Redshift Serverless data warehouse using the AWS Console

The AWS Management Console allows you to interactively create an Amazon Redshift serverless data warehouse via a browser-based user interface. Once the data warehouse has been created, you can use the Console to monitor its health and diagnose query performance issues from a unified dashboard. In this recipe, you will learn how to use the unified dashboard to deploy a Redshift serverless.

Getting ready

To complete this recipe, you will need:

  • An existing or new AWS Account. If new AWS accounts need to be created, go to https://portal.aws.amazon.com/billing/signup, enter the information, and follow the steps on the site.
  • An IAM user with access to Amazon Redshift.

How to do it…

The following steps will enable you to create a cluster with minimal parameters:

  1. Navigate to the AWS Management Console and select Amazon Redshift, https://console.aws.amazon.com/redshiftv2/.
  2. Choose the AWS Region (eu-west-1) or the corresponding region at the top right of the screen and then click Next.
  3. On the Amazon Redshift console, in the left navigation pane, choose Serverless Dashboard, and then click Create workgroup, as shown in Figure 1.1:
Figure 1.1 – Creating an Amazon Redshift Serverless workgroup

Figure 1.1 – Creating an Amazon Redshift Serverless workgroup

  1. In the Workgroup section, type any meaningful Workgroup Name like my-redshift-wg.
  2. In the Performance and cost controls section, you can choose the compute capacity for the workgroup. You have two options to choose from:
    • Price-performance target (recommended): This option allows Amazon Redshift Serverless to learn your workload patterns by analyzing factors such as query complexity and data volumes. It automatically adjusts compute capacity throughout the day based on your needs. You can set your price-performance target using a slider:
      • Left: Optimizes for cost
      • Middle: Balances cost and performance
      • Right: Optimizes for performance
    Figure 1.2 – Price performance target option

    Figure 1.2 – Price performance target option

    • Base capacity: With this option, you will choose a static base compute capacity for the workgroup. Use this option only if you believe that you understand the workload characteristics well and want control of the compute capacity. Using the drop-down for Base capacity, you can choose a number for Redshift processing units (RPUs) between 8 and 1024, as shown in the following screenshot. RPU is a measure of compute capacity.
Figure 1.3 – Base capacity option

Figure 1.3 – Base capacity option

  1. In the Network and security section, set IP address type to IPv4.
  2. In the Network and security section, select the appropriate Virtual private cloud (VPC), VPC security groups, and Subnet.
  3. If your workload needs network traffic between your serverless database and data repositories routed through a VPC instead of the internet, then enable Turn on enhanced VPC routing by checking the box. For this book, we will leave it unchecked and then click Next.
  4. In the Namespace section, select Create a new Namespace and type any meaningful name for Namespace like my-redshift-ns.
  5. In the Database name and password section, leave the defaults as is, which will create a default database called dev and give the IAM credentials you are using as default admin user credentials.
  6. In the Permissions section, leave all the settings as default.
  7. In the Encryption and security section, leave all the settings at the defaults and then click Next.
  8. In the Review and create section, validate that all the settings are correct and then click Create.

How it works…

The Amazon Redshift serverless data warehouse consists of a namespace, which is a collection of database objects and users, and a workgroup, which is a collection of compute resources. Namespaces and workgroups are scaled and billed independently. Amazon Redshift Serverless automatically provisions and scales the compute capacity based on the usage, when required. You only pay for a workgroup when the queries are run, there is no compute charge for idleness. Similarly, you only pay for the volume of data stored in the namespace.

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Amazon Redshift Cookbook
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon