본문 바로가기
[AWS]/Highly Available, Scalable, AWS Stack

4. Prerequisites: Launch an EC2 instance

by SAMSUNG CLOUD-OKY 2022. 1. 17.
반응형

 

# copy private key from downloads folder to working directory
cp Downloads/your-private-key.pem .

# secure private key
chmod 400 your-private-key.pem

# remove private key from Downloads folder
rm Downloads/your-private-key.pem

# SSH into server
ssh -i your-private-key.pem ubuntu@ec2-public-ip

 

 

 

Connect to your Linux instance from Windows using PuTTY

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

 

Connect to your Linux instance from Windows using PuTTY - Amazon Elastic Compute Cloud

A passphrase on a private key is an extra layer of protection. Even if your private key is discovered, it can't be used without the passphrase. The downside to using a passphrase is that it makes automation harder because human intervention is needed to lo

docs.aws.amazon.com

 

 

반응형

'[AWS] > Highly Available, Scalable, AWS Stack' 카테고리의 다른 글

6. Create AMI  (0) 2022.01.17
5. Deploy app on an EC2 instance  (0) 2022.01.17
3. Intro : Deploy application  (0) 2022.01.17
2. AWS Account, Free Tier and Costs  (0) 2022.01.16
1. Intro: Course  (0) 2022.01.16

댓글