The strategy of redeploy by using dock

I’m working in a web team and using EC2 instance of AWS. Previously, we don’t use docker to build our App, our CI/CD strategy about redeploy is format the EC2 instance, and install all infrastructure with script automatically.
Now, we want to use Docker to build our project, I’m doubting that whether we still need to reinstall our EC2 instance when redeploying our App? Or only we should reload the Docker image? What’s the common solution?

Hello @jonyzz,

You can use Elastic beanstalk Multi container environment, http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html

It uses ECS to maintain container. It works well.

Regards,
Chintan Patel