From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Connect to EC2 ECS resources

Connect to EC2 ECS resources

From the course: Docker on AWS

Start my 1-month free trial

Connect to EC2 ECS resources

- [Instructor] While we can't talk directly to the underlying Fargate ECS resources, we can talk to the underlying EC2 resources in our ECS EC2 clusters. Now we have two clusters that we created, one which includes an SSH key associated with it and one which doesn't. Turns out the one which doesn't acts a lot like a Fargate cluster, it's a little different in terms of its performance model, but you can't actually access the resources because we did not associate the key. The resource that we did associate the key with though, we can access, we can scroll down here to our ecs-ec2-ssh cluster, and we can go look at our ECS instances, so we can see what instances exist. Now you see we don't have anything running so we might actually launch a task in just a moment. But first we want to make sure we can get access to the instance itself. So we see our ECS instances, we see we have one instance, which is what we created…

Contents