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:ย 

connect RabbitMQ hosted on AWS EC2 instance

ajaysh
New Contributor

We are facing an issue. We created a cluster "dev_cluster_catalog_support" . When we are using compute policy "unrestricted" we are able to connect RabbitMQ hosted on AWS EC2 instance, but when we change the compute policy "Shared Compute" getting error "connection refused".

any suggestion or step to resolve above issue.

1 REPLY 1

BigRoux
Databricks Employee
Databricks Employee

RabbitMQ, it brings me back to my IoT days ๐Ÿ™‚

With that said, here is some helpful guidance:

The issue occurs because Shared Compute cluster policies enforce stricter network access controls compared to Unrestricted policies. When using the Unrestricted policy, your cluster has full network access with no restrictions on outbound connections. However, the Shared Compute policy implements network security controls that can block connections to external services like your RabbitMQ instance on AWS EC2.

 

Key Differences Between Policies
 
Unrestricted Policy:
โ€ข No restrictions on cluster configurations or network access
โ€ข Full flexibility for outbound connections to any destination
โ€ข Users can create clusters with any settings and network configurations
 
Shared Compute Policy:
โ€ข Designed for multi-user shared resources with security guardrails
โ€ข Implements network restrictions and access controls
โ€ข May limit outbound connectivity to external services for security purposes
 
Helpful Links to investigate further:
 
Hope this helps.
 
Cheers, Louis.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now