Creating a cluster using Amazon ECS CLI

I follow the CLI ECS tutorial .

When I run the first command: ecs-cli up --keypair xxxxx.pem --capability-iam --size 2 --instance-type t2.medium

I get the following error:

Erro. Cause of failure reason = "Parameter validation error: transin-ravi-west-1.pem parameter value for the KeyName parameter name does not exist. Rollback requested by user". ResourceType = "AWS :: CloudFormation :: Stack"

ERRO Error executing 'up': Cloud processing error awaiting 'CREATE_COMPLETE'. Status: ROLLBACK_COMPLETE

I made sure that the regions are configured correctly. This still does not work. (as suggested here )

+4
source share
1

ecs-cli --keypair .pem?

+2

Source: https://habr.com/ru/post/1674967/


All Articles