- Create key pair in AWS Console and download it
- Suggested saved location
C:\TradeMe\Identities\carl-key-pair.pem
- Suggested saved location
- Load
.pem
key, usingPuTTYgen
- Save private key, suggested location
C:\TradeMe\Identities\carl-key-pair.ppk
- Save private key, suggested location
- Run
Pageant
- From the system tray Add key and select the
ppk
file - You should now be able to SSH using
PuTTY
- From the system tray Add key and select the
- In AWS Console enable inbound traffic in security group
1 | SSH TCP 22 0.0.0.0/0 |
- Connect
1 | ec2-user@ec2-xx-xxx-xxx-xxx.ap-southeast-2.compute.amazonaws.com |
- Running commands on the instance
1 | sudo yum install -y ecs-init |
References
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html#connection-prereqs-get-info-about-instance
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html
- https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance-connect.html
- https://www.lynda.com/Docker-tutorials/Explore-ECS-cluster/606069/643362-4.html
- https://aws.amazon.com/premiumsupport/knowledge-center/ecs-agent-disconnected/