Download the ECS Service Deployment CloudFormation template. You can right-click the link and save the file or Open a PowerShell command prompt and execute the following command.
curl https://aws-labs.net/resources/asp_ecs_service_deploy.yaml -outfile $HOME\Downloads\ecs.yaml
Make sure that Docker has been updated on the EC2 instance you are using.
To do so, right-click the Docker Desktop system tray icon and select “Update and Restart”
This will kickoff the update process. The Docker Desktop installation screen will look like the following:
If you see the below dialog, click OK
Ensure that the Docker Desktop system tray icon has containers as depicted below. If it does, Congratulations, you are ready to get started!
If the Docker Desktop system tray icon does have containers, then you will need to restart it.
To do so, right-click the system tray icon and select “Restart Docker…”
Click Restart on the confirmation dialog, if it is displayed.
Once the restart process completes, you are ready to get started.