You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to allow connecting to an existing RDS server, but I am having a hard time.
I tried to deploy to the existing VPC to help with this, if there's a way to not do this, please let me know.
Security Groups:
application-servers - included this in copilot config
database-servers - allows inbound PostgresSQL port access from application-servers. RDS server has this security group.
name: webtype: Load Balanced Web Servicehttp:
path: '/'healthcheck: '/up'image:
build: Dockerfileport: 3000cpu: 512# Number of CPU units for the task.memory: 1024# Amount of memory in MiB used by the task.platform: linux/x86_64 # See https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/#platformcount: 1# Number of tasks that should be running in your service.exec: true # Enable running commands in your container.network:
vpc:
security_groups:
- 'sg-043aeda513a7f3da8'# application-servers group
In the application I am using the connection endpoint URL appdb.xxx123.eu-west-2.rds.amazonaws.com.
I just can't see why it wouldn't connect. Its timing out every time.
I could setup rds from copilot yes, but I need this db to be separate.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to allow connecting to an existing RDS server, but I am having a hard time.
I tried to deploy to the existing VPC to help with this, if there's a way to not do this, please let me know.
Security Groups:
application-servers
- included this in copilot configdatabase-servers
- allows inbound PostgresSQL port access fromapplication-servers
. RDS server has this security group.copilot/environments/production/manifest.yml
:copilot/web/manifest.yml
:In the application I am using the connection endpoint URL
appdb.xxx123.eu-west-2.rds.amazonaws.com
.I just can't see why it wouldn't connect. Its timing out every time.
I could setup rds from copilot yes, but I need this db to be separate.
Beta Was this translation helpful? Give feedback.
All reactions