cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

One workspace can connects to the multiple AWS accounts/regions

omsurapu
New Contributor II

HI,

I'd like to know if one workspace can be used to connect to the multiple accounts (account A and account B) / regions. I knew that multiple accounts/regions can't be selected during the setup. is it possible?

10 REPLIES 10

jennie258fitz
New Contributor III

@omsurapu Spotify Pie wrote:

HI,

I'd like to know if one workspace can be used to connect to the multiple accounts (account A and account B) / regions. I knew that multiple accounts/regions can't be selected during the setup. is it possible?


Yes, it is possible to connect a single workspace to multiple accounts and regions, but it typically requires some additional configuration.

In many platforms, while you canโ€™t select multiple accounts or regions during the initial setup, you can often add connections or integrations later on. This can involve using different credentials or specifying the region/account details within your workspace settings or through configuration files.

To clarify, here are some steps you might consider:

  1. Check Documentation: Refer to the specific documentation of the platform youโ€™re using. Many services provide detailed instructions for connecting multiple accounts.

  2. Create Multiple Connections: If the platform allows it, you may be able to create multiple connection profiles within the same workspace for different accounts or regions.

  3. Use Environment Variables: Some setups allow you to define different environments using variables, which can help manage different accounts or regions.

  4. Workspaces/Projects: If the platform supports it, you might also create separate workspaces or projects for different accounts or regions within the same interface.

omsurapu
New Contributor II

ok, thanks! 
there is no DB official documentation available for this requirement. I assume it can be done with the cross account IAM roles, but never tested. any leads?

Marykayintouch
New Contributor II

@omsurapu Marykayintouch wrote:

Hi,

Yes, a single workspace can connect to multiple AWS accounts and regions, but it requires some additional configuration.

In AWS, you can set up multiple profiles or use cross-account roles to access resources across different accounts. You would configure your workspace to support these different accounts and regions by specifying the necessary credentials and region settings for each one.

Here are some ways to manage multiple AWS accounts and regions from a single workspace:

  1. AWS CLI Profiles: You can configure multiple AWS CLI profiles, each linked to a different account. Then, you can use these profiles within your workspace to switch between accounts as needed.

  2. Cross-Account IAM Roles: By setting up cross-account roles, you can grant your workspace access to resources in other AWS accounts without needing to use separate credentials for each one.

  3. Region Configuration: AWS allows you to specify the region for your resources. In your workspace, you can set the region dynamically based on the account or the specific resource you are accessing.

  4. AWS SDKs & APIs: When using AWS SDKs or APIs within your workspace, you can specify different credentials and regions programmatically, allowing the workspace to interact with resources in multiple accounts and regions.

By following these steps, you can seamlessly manage and interact with resources across multiple AWS accounts and regions from within a single workspace.

Walmartone
New Contributor II

Walmartone

hi

Yes, a single AWS Workspace can be configured to connect to multiple AWS accounts and regions using AWS Resource Access Manager (RAM) or AWS Transit Gateway. This setup allows for seamless resource sharing and network connectivity across different accounts and regions.

 
 
 
 

DMVnow
New Contributor II

DMVnow

Hi

A single AWS Workspace can connect to multiple AWS accounts and regions through services like AWS Direct Connect, AWS Transit Gateway, or AWS VPN. These solutions enable secure communication between resources in different AWS accounts and regions, facilitating centralized management and streamlined access across various environments. By leveraging cross-account roles and network routing configurations, organizations can extend their workloads across multiple regions while maintaining perfor

 
 

myEHtrip
New Contributor II

myEHtrip

Hi

Additionally, AWS Workspaces can be integrated with services like AWS Identity and Access Management (IAM) to manage access permissions across multiple accounts and regions. This allows users to authenticate and access resources in different AWS environments without the need for separate login credentials. AWS Resource Access Manager (RAM) can also be used to share resources such as Amazon VPCs, subnets, and security groups between multiple accounts, enabling centralized network management

 

Targetpayandben
New Contributor II

 

Target pay and benfits

Hi

In addition to the previously mentioned services, AWS Cloud Map can be used to manage service discovery across multiple AWS accounts and regions. This enables you to create a unified view of your resources, making it easier to discover and connect services in a multi-account, multi-region setup. Cloud Map simplifies the discovery process, improving service reliability and connectivity.

Mygratelakes
New Contributor II

Mygratelakes

 

For network connectivity, AWS PrivateLink provides secure, private connectivity between AWS services and VPCs across multiple accounts and regions. It eliminates the need to traverse the public internet, ensuring a higher level of security and performance when accessing AWS services across environments.

Mygroundbiz
New Contributor II

Mygroundbiz

Furthermore, Amazon Route 53 can be utilized for DNS-based routing between different AWS regions, ensuring traffic is directed to the appropriate resources based on geographic location or health of the resources. Combined with AWS Global Accelerator, this enables intelligent routing for low-latency access to applications, regardless of where users or services are located.

 

KrowdDarden
New Contributor II

Krowd Darden

Lastly, AWS Transit Gateway Network Manager can provide visibility into the network topology and performance between AWS accounts and regions, offering a centralized management view of network connectivity. This makes troubleshooting and monitoring more efficient, ensuring that your multi-account, multi-region architecture runs smoothly and reliably.