Open JohnTigue opened 1 year ago
Efe, a coder on copilot, is the most knowledgeable speaker on the topic of copilot:
Seems copilot does NOT come preinstalled in the Amazon Linux distros. Installing copilot is though a one liner:
curl -Lo copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux && chmod +x copilot && sudo mv copilot /usr/local/bin/copilot && copilot --help
Copilot just takes care of SO MUCH rigmarole. It's worth the adoption cost.
Key Skills Python DevOps Projects with Copilot 3 hours of best practicing with copilot. He's good.
Basically following these instructions from AWS: Deploy a clustered application to Amazon ECS by using AWS Copilot.
A different, non-copolit method, but same result: Docker Compose: From Local to Amazon ECS. Compared to copilot, that is less AWS dependent but that's not a goal here.
This means copilot enables hybrid serverless and cluster services. Outstanding:
Package addon CloudFormation templates before deployments: Copilot will now package addon templates on copilot svc deploy. This means Copilot can now deploy AWS Lambda functions alongside your containerized services!
Drat, going by Amazon ECS-optimized AMI it looks like I need to migrate from my current Ubuntu AMIs to Amazon Linux 2, because there are no Ubuntu AMIs on the list:
Amazon Linux 2 (GPU), Amazon ECS GPU-optimized AMI: Based on Amazon Linux 2, this AMI is recommended for use when launching your Amazon EC2 GPU-based instances for your Amazon ECS workloads. It comes pre-configured with NVIDIA kernel drivers and a Docker GPU runtime which makes running workloads that take advantage of GPUs on Amazon ECS. For more information, see Working with GPUs on Amazon ECS.
Sounds like
copilot
is the bee's knees for deploying on ECS. Let's give it a spin.