DEV Community

Discussion on: What are the kind of web application you have launched in AWS ECS in production?

Collapse
 
dbanty profile image
Dylan Anthony

Our databases are actually not in containers, we use RDS (MySQL) and Elasticache (Redis).

You can definitely communicate between two containers. I think if the containers are on the same instance server (EC2) you can talk directly between them if you use the right networking setup. You can use the concept of a Daemon service to make sure that each backing server has one of the service container you want to share.

Otherwise, you can use the service discovery feature to link services together.