LogoLogo
  • Welcome to e6data
  • Introduction to e6data
    • Concepts
    • Architecture
      • e6data in VPC Deployment Model
      • Connect to e6data serverless compute
  • Get Started
  • Sign Up
  • Setup
    • AWS Setup
      • In VPC Deployment (AWS)
        • Prerequisite Infrastructure
        • Infrastructure & Permissions for e6data
        • Setup Kubernetes Components
        • Setup using Terraform in AWS
          • Update a AWS Terraform for your Workspace
        • AWS PrivateLink and e6data
        • VPC Peering | e6data on AWS
      • Connect to e6data serverless compute (AWS)
        • Workspace Creation
        • Catalog Creation
          • Glue Metastore
          • Hive Metastore
          • Unity Catalog
        • Cluster Creation
    • GCP Setup
      • In VPC Deployment (GCP)
        • Prerequisite Infrastructure
        • Infrastructure & Permissions for e6data
        • Setup Kubernetes Components
        • Setup using Terraform in GCP
        • Update a GCP Terraform for your Workspace
      • Connect to e6data serverless compute (GCP)
    • Azure Setup
      • Prerequisite Infrastructure
      • Infrastructure & Permissions for e6data
      • Setup Kubernetes Components
      • Setup using Terraform in AZURE
        • Update a AZURE Terraform for your Workspace
  • Workspaces
    • Create Workspaces
    • Enable/Disable Workspaces
    • Update a Workspace
    • Delete a Workspace
  • Catalogs
    • Create Catalogs
      • Hive Metastore
        • Connect to a Hive Metastore
        • Edit a Hive Metastore Connection
        • Delete a Hive Metastore Connection
      • Glue Metastore
        • Connect to a Glue Metastore
        • Edit a Glue Metastore Connection
        • Delete a Glue Metastore Connection
      • Unity Catalog
        • Connect to Unity Catalog
        • Edit Unity Catalog
        • Delete Unity Catalog
      • Cross-account Catalog Access
        • Configure Cross-account Catalog to Access AWS Hive Metastore
        • Configure Cross-account Catalog to Access Unity Catalog
        • Configure Cross-account Catalog to Access AWS Glue
        • Configure Cross-account Catalog to Access GCP Hive Metastore
    • Manage Catalogs
    • Privileges
      • Access Control
      • Column Masking
      • Row Filter
  • Clusters
    • Edit & Delete Clusters
    • Suspend & Resume Clusters
    • Cluster Size
    • Load Based Sizing
    • Auto Suspension
    • Query Timeout
    • Monitoring
    • Connection Info
  • Pools
    • Delete Pools
  • Query Editor
    • Editor Pane
    • Results Pane
    • Schema Explorer
    • Data Preview
  • Notebook
    • Editor Pane
    • Results Pane
    • Schema Explorer
    • Data Preview
  • Query History
    • Query Count API
  • Connectivity
    • IP Sets
    • Endpoints
    • Cloud Resources
    • Network Firewall
  • Access Control
    • Users
    • Groups
    • Roles
      • Permissions
      • Policies
    • Single Sign-On (SSO)
      • AWS SSO
      • Okta
      • Microsoft My Apps-SSO
      • Icons for IdP
    • Service Accounts
    • Multi-Factor Authentication (Beta)
  • Usage and Cost Management
  • Audit Log
  • User Settings
    • Profile
    • Personal Access Tokens (PAT)
  • Advanced Features
    • Cross-Catalog & Cross-Schema Querying
  • Supported Data Types
  • SQL Command Reference
    • Query Syntax
      • General functions
    • Aggregate Functions
    • Mathematical Functions & Operators
      • Arithematic Operators
      • Rounding and Truncation Functions
      • Exponential and Root Functions
      • Trigonometric Functions
      • Logarithmic Functions
    • String Functions
    • Date-Time Functions
      • Constant Functions
      • Conversion Functions
      • Date Truncate Function
      • Addition and Subtraction Functions
      • Extraction Functions
      • Format Functions
      • Timezone Functions
    • Conditional Expressions
    • Conversion Functions
    • Window Functions
    • Comparison Operators & Functions
    • Logical Operators
    • Statistical Functions
    • Bitwise Functions
    • Array Functions
    • Regular Expression Functions
    • Generate Functions
    • Cardinality Estimation Functions
    • JSON Functions
    • Checksum Functions
    • Unload Function (Copy into)
    • Struct Functions
  • Equivalent Functions & Operators
  • Connectors & Drivers
    • DBeaver
    • DbVisualiser
    • Apache Superset
    • Jupyter Notebook
    • Tableau Cloud
    • Tableau Desktop
    • Power BI
    • Metabase
    • Zeppelin
    • Python Connector
      • Code Samples
    • JDBC Driver
      • Code Samples
      • API Support
    • Configure Cluster Ingress
      • ALB Ingress in Kubernetes
      • GCE Ingress in Kubernetes
      • Ingress-Nginx in Kubernetes
  • Security & Trust
    • Best Practices
      • AWS Best Practices
    • Features & Responsibilities Matrix
    • Data Protection Addendum(DPA)
  • Tutorials and Best Practices
    • How to configure HIVE metastore if you don't have one?
    • How-To Videos
  • Known Limitations
    • SQL Limitations
    • Other Limitations
    • Restart Triggers
    • Cloud Provider Limitations
  • Error Codes
    • General Errors
    • User Account Errors
    • Workspace Errors
    • Catalog Errors
    • Cluster Errors
    • Data Governance Errors
    • Query History Errors
    • Query Editor Errors
    • Pool Errors
    • Connectivity Errors
  • Terms & Condition
  • Privacy Policy
    • Cookie Policy
  • FAQs
    • Workspace Setup
    • Security
    • Catalog Privileges
  • Services Utilised for e6data Deployment
    • AWS supported regions
    • GCP supported regions
    • AZURE supported regions
  • Release Notes & Updates
    • 6th Sept 2024
    • 6th June 2024
    • 18th April 2024
    • 9th April 2024
    • 30th March 2024
    • 16th March 2024
    • 14th March 2024
    • 12th March 2024
    • 2nd March 2024
    • 10th February 2024
    • 3rd February 2024
    • 17th January 2024
    • 9th January 2024
    • 3rd January 2024
    • 18th December 2023
    • 12th December 2023
    • 9th December 2023
    • 4th December 2023
    • 27th November 2023
    • 8th September 2023
    • 4th September 2023
    • 26th August 2023
    • 21st August 2023
    • 19th July 2023
    • 23rd May 2023
    • 5th May 2023
    • 28th April 2023
    • 19th April 2023
    • 15th April 2023
    • 10th April 2023
    • 30th March 2023
Powered by GitBook
On this page
  1. Setup
  2. AWS Setup
  3. Connect to e6data serverless compute (AWS)

Workspace Creation

This page outlines the porcess of creating a workspace for connecting to e6data serverless compute

PreviousConnect to e6data serverless compute (AWS)NextCatalog Creation

Last updated 2 months ago

Workspace Creation

  1. Log in to the e6data Console.

  2. Navigate to Workspaces from the left navigation bar.

  3. Click Create Workspace.

  4. Select Serverless as the workspace type.

  5. Select the Version from the available options.

  6. Choose the preferred region.

  7. Click Create.

The workspace creation process takes approximately 10 minutes. Once the status changes to Active, proceed to the next step.

Configuring Cloud Resources for Workspace

  1. Within the created workspace, navigate to the Connectivity panel.

  2. Click on Cloud Resource and then Create.

  3. Enter the following details:

    1. External ID: Auto-generated ID for cross-account role validation.

    2. Cloud Resource Name: Name for the CloudFormation template.

    3. Version: Select the latest version.

    4. Cross Account Role ARN: To be obtained from CloudFormation stack outputs.

  4. Click on the provided link to run the CloudFormation script, this action redirects you to the AWS CloudFormation page in the AWS console

  5. In the AWS console, validate the Stack Name with the Cloud Resource Name provided earlier.

  6. Provide the following parameters:

    1. BucketNames: List of S3 buckets containing data to be queried.

    2. e6dataAccountId: The E6Data AWS account ID for cross-account access.

    3. ExternalId: External ID for additional validation.

    4. VPCEndpointId: ID of the VPC Endpoint for secure data access.

  7. Acknowledge that AWS CloudFormation might create IAM resources with custom names.

  8. Click Create Stack. The process completes in 2-3 minutes.

  9. Once the status is CREATE_COMPLETE, navigate to the Outputs section and copy the RoleArn.

  10. Return to the e6data console, paste the Cross Account Role ARN, and click Create.

IAM Policies for Serverless Mode Attach this policy to the role associated with the cloud resources created using the CloudFormation template.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:GetObject",
                "s3:GetObjectTagging",
                "s3:GetObjectVersion",
                "s3:GetBucketLocation"
            ],
            "Resource": "arn:aws:s3:::/"
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Action": [
                "glue:GetDatabase*",
                "glue:GetTable*",
                "glue:GetPartitions",
                "glue:CreateTable",
                "glue:UpdateTable",
                "glue:DeleteTable"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "cloudformation:CreateChangeSet",
                "cloudformation:DescribeChangeSet",
                "cloudformation:DescribeStacks"
            ],
            "Resource": "<CLOUDFORMATION_STACK_ARN>",
            "Effect": "Allow"
        }
    ]
}

This policy grants the necessary permissions for the e6data engine role to:

  • List the contents of the S3 bucket (s3:ListBucket).

The following permissions enable users to interact with objects within the S3 bucket

  • s3:PutObject – Upload new objects to the bucket.

  • s3:GetObject – Retrieve stored objects for processing.

  • s3:GetObjectTagging – View metadata tags associated with an object.

  • s3:GetObjectVersion – Access previous versions of objects if versioning is enabled.

  • s3:PutObjectTagging – Assign metadata tags to objects for categorization and searchability

Accessing and Managing Glue Data Catalog

With the provided Glue permissions, users can interact with the AWS Glue Data Catalog, which is essential for organizing and querying structured datasets:

  • glue:GetDatabase* – Retrieve details of available databases within AWS Glue.

  • glue:GetTable* – Access metadata about tables in the Glue Data Catalog.

  • glue:GetPartitions – Fetch partition information to optimize query performance.

  • glue:CreateTable – Enables the creation of views generated by E6Data.

  • glue:UpdateTable – Enables updates to views generated by E6Data.

  • glue:DeleteTable – Enables the deletion of views generated by E6Data.