How to Connect to Amazon EC2 Instance from Local Machine | Transfer file from local to EC2 using SCP

Опубликовано: 22 Март 2026
на канале: kodEdge
847
15

In this video you will learn How to connect Amazon ec2 instance using SSH and transfer file from ec2 instance to local machine and vice-versa.

Commands:
To connect ec2 instance
ssh -i /path/key-pair-name.pem instance-user-name@instance-public-dns-name

Transfer file to ec2 instance using SCP client:
scp -i /path/key-pair-name.pem /path/my-file.txt ec2-user@instance-public-dns-name:path/

Transfer file from ec2 instance using SCP client:
scp -i /path/key-pair-name.pem ec2-user@instance-public-dns-name:path/my-file.txt path/




Other Videos :
Deploy SpringBoot app with MySQL on Amazon EKS:    • Deploy SpringBoot app with MySQL on Amazon...  

Deploy SpringBoot app to AWS Elastic Beanstalk:    • Deploy SpringBoot app on AWS Elastic Beans...  

To know more about Kubernetes services watch this video :    • Deploy Spring Boot App on Kubernetes clust...  

Monitor Springboot microservice:    • Monitoring Kubernetes and Spring Boot serv...  

AWS CodePipeline :    • AWS CodePipeline with ECS | Deploy Springb...  

AWS Lambda Hand-On Playlist :    • AWS Lambda  

AWS CloudFormation :    • AWS CloudFormation  

Subscribe on :    / @kodedge  

If you like the video please subscribe and comment.

----------------------------------
Disclaimer/Policy:
Video is intended for educational purposes only and explanations about technical topics.
We make every effort to ensure the accuracy of the information presented, but we cannot guarantee that all information is current or entirely free from errors.
Viewers are encouraged to exercise their own judgment and consider their unique circumstances when applying the information from this video.
Mention of specific products, services, or brands in this video does not constitute an endorsement unless otherwise specified.
By accessing and using the information presented in this video, viewers agree to do so at their own risk, and we shall not be liable for any damages or losses.
All logos and images used in this video are the property of their respective copyright holders. Any copyrighted material is used here for educational purposes only.
Our use of logos and images is not intended to challenge or infringe upon the rights of the copyright holders, and we acknowledge their ownership
The inclusion of logos and images is for non-commercial, educational purposes only.

#awstutorial #awsec2 #kodedge