# Source: https://gist.github.com/f3af9ec35dbccb8de20a9a6fc70fa1fd | |
############################################################################ | |
# Copilot # | |
# What AWS ECS and Fargate Container Management Should Have Been All Along # | |
# https://youtu.be/YCCFK2RRm7U # | |
############################################################################ | |
# Google Cloud Run (GCR) vs Azure Container Instances (ACI) vs AWS ECS with Fargate: https://youtu.be/Jq8MY1ZGjno | |
# Requirements: | |
# - AWS account (https://aws.amazon.com/) | |
# - `aws` (https://aws.amazon.com/cli/) and `copilot` CLI (https://github.com/aws/copilot-cli) | |
# - AWS config or env. vars with access keys and the default region | |
# - Docker | |
# ... or ... | |
# - Gitpod with the Chrome extension (https://youtu.be/QV1fYt-7SLU) | |
# - Environment variables *AWS_ACCESS_KEY_ID*, *AWS_SECRET_ACCESS_KEY*, and *AWS_DEFAULT_REGION* (https://gitpod.io/settings/) | |
# - Gitpod *Feature Preview* enabled | |
# Open https://github.com/vfarcic/copilot-demo | |
# Fork it | |
# Press the *Gitpod* button | |
cat Dockerfile | |
copilot init \ | |
--app devops-catalog \ | |
--name devops-toolkit \ | |
--dockerfile Dockerfile \ | |
--deploy \ | |
--port 80 \ | |
--type 'Load Balanced Web Service' | |
copilot svc package | |
copilot svc logs | |
copilot env init --name production | |
copilot env ls | |
copilot env show --name production | |
copilot svc deploy \ | |
--name devops-toolkit \ | |
--env production | |
copilot app delete --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment