Difference between revisions of "Aws ecs"
From Wasya Wiki
(Created page with " * From: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_AWSCLI_Fargate.html * From: https://stackoverflow.com/questions/52310447/is-it-possible-to-ssh-into-fa...") |
(No difference)
|
Revision as of 17:47, 28 March 2024
- From: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_AWSCLI_Fargate.html
- From: https://stackoverflow.com/questions/52310447/is-it-possible-to-ssh-into-fargate-managed-container-instances
aws ecs create-cluster --cluster-name fragile-cluster
aws ecs register-task-definition --cli-input-json file:////Users/piousbox/projects/ruby/wco_models/app/views/wco_hosting/ecs_task_definitions/hw1.json --profile ecs_driver_1
aws ecs register-task-definition --cli-input-json file:////Users/piousbox/projects/ruby/wco_models/app/views/wco_hosting/ecs_task_definitions/example1.json --profile ecs_driver_1
aws ecs list-task-definitions --profile ecs_driver_1
// trust relationships
{ "Version": "2008-10-17", "Statement": [ { "Sid": "a", "Effect": "Allow", "Principal": { "Service": [ "ecs.amazonaws.com", "ecs-tasks.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }