Docker for aws to create RDS and EC2 instance

Hi

We have a distributed application in AWS which contains

  1. RDS(Relational Database Service)
  2. EC2 WINDOWS INSTANCE
  3. LAMBDA FUNCTIONS
  4. S3 BUCKETS

Now we want to automate our deployment process through Docker.
we want to create 4 Docker containers which will create the
total environment mention above from 1 to 4 for us.

Please suggest if its is possible on Docker or Not.
Thanks in advance.

None of those things are Docker containers. You could run software on the EC2 instance(s) that’s packaged using Docker. In principle, you could bundle the awscli tool or a higher-level build automation tool into a Docker container, with host IAM credentials, and use that to provision the stack you decide above. But having that set of AWS resources, and using Docker or not, are totally unrelated questions.

@dev008rhk, just out of curiosity, how did you solve your task?