Copilot-cli: Ability to important docker-compose defintion and convert them as Copilot app and services

Created on 1 Nov 2020  路  3Comments  路  Source: aws/copilot-cli

Docker compose is commonly used for local development and testing. We need an ability for Copilot to import Docker Compose files and convert them as Copilot native app and svc objects, in a guide way. This will be a big boost for developers.

typfeature typrequest

Most helpful comment

Would it make sense to you if we took each service defined in the Compose file and then create a separate Copilot service with copilot svc init? In this scenario there would be no sidecars for any of your Copilot services.

Yes that would be awesome. I don't even really understand what a sidecar is at this point so I don't have an issue with that (yet) lol.

For images such as postgres would you expect it to translated into an Aurora Serverless PostgreSQL database addon or instead get an ECS service with postgres?

I would expect it to just make an ECS service with postgres. The option to turn it into an RDS cluster could be cool, but I'd rather see that effort go towards expanding the 'storage' functionality :P

This team is awesome!

All 3 comments

Pretty please

Hi @mikelhamer and everyone!

Would it make sense to you if we took each service defined in the Compose file and then create a separate Copilot service with copilot svc init? In this scenario there would be no sidecars for any of your Copilot services.

For images such as postgres would you expect it to translated into an Aurora Serverless PostgreSQL database addon or instead get an ECS service with postgres?

Thanks!

Would it make sense to you if we took each service defined in the Compose file and then create a separate Copilot service with copilot svc init? In this scenario there would be no sidecars for any of your Copilot services.

Yes that would be awesome. I don't even really understand what a sidecar is at this point so I don't have an issue with that (yet) lol.

For images such as postgres would you expect it to translated into an Aurora Serverless PostgreSQL database addon or instead get an ECS service with postgres?

I would expect it to just make an ECS service with postgres. The option to turn it into an RDS cluster could be cool, but I'd rather see that effort go towards expanding the 'storage' functionality :P

This team is awesome!

Was this page helpful?
0 / 5 - 0 ratings