0

I want to set up a microservices-based application on ECS.

One of these is a mysql which so far has been a container with volumes for persistence;

For several reasons we want to switch to RDS for that purpose from now own so given we are experimenting with ECS as our managed orchestration solution my question is how we define such a service (or task) that just points (i.e. is just a pass-through proxy) to the RDS?

I know that e.g. in k8s this was feasible using a Service declaration similar to the following one:

apiVersion: v1
kind: Service
metadata:
  name: my-service-name
  namespace: my-namespace
spec:
  type: ExternalName
  externalName: staging.cz9494012qen.eu-west-2.rds.amazonaws.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.