Загрузка страницы

How to connect to AWS EC2 instance from local machine | Connect to EC2 instance from local machine

https://www.cidevops.com/2018/02/how-to-connect-to-ec2-instance-from.html

Pre-requisites:

1. Keys(for e.g., yourkey.pem) already downloaded in your local machine, preferably in Downloads folder.
2. EC2 is up and running
3. For windows laptop, you need to install Git by downloading from this URL - https://git-scm.com/downloads. For Apple laptop you need to download iTerm from here.

Mac Laptop instructions

Open iTerm window, type the below command to go to downloads directory.
cd downloads

For few Mac laptops, it may add .txt in the end of pem file. in that case you need to remove .txt in the end

pwd
and then execute below commands to make sure you are not making keys publicly viewable.
chmod 400 *.pem
Paste the url from example highlighted above in step # 4.
ssh -i "mykey.pem" ubuntu@dns_name.compute.amazonaws.com
type yes when it is asking to connect.

Видео How to connect to AWS EC2 instance from local machine | Connect to EC2 instance from local machine канала DevOps Coach
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
3 июня 2021 г. 21:25:15
00:09:48
Другие видео канала
Setup SonarQube on Ubuntu | how to install SonarQube in EC2 instance | Install SonarQube PostgresqlSetup SonarQube on Ubuntu | how to install SonarQube in EC2 instance | Install SonarQube PostgresqlAnsible Automation in Azure | How to setup Ansible on Red Hat Linux VM & Integrate with Azure CloudAnsible Automation in Azure | How to setup Ansible on Red Hat Linux VM & Integrate with Azure CloudHow to create Red Hat Linux EC2 in AWS and Connect to EC2 from local machine | Step by Step TutorialHow to create Red Hat Linux EC2 in AWS and Connect to EC2 from local machine | Step by Step TutorialHow to Setup Jenkins in Azure Cloud | How to Setup Jenkins in Azure Linux Virtual MachineHow to Setup Jenkins in Azure Cloud | How to Setup Jenkins in Azure Linux Virtual MachineHow to setup SonarQube on Azure Cloud | Setup SonarQube in Azure | Install SonarQube with PostgresqlHow to setup SonarQube on Azure Cloud | Setup SonarQube in Azure | Install SonarQube with PostgresqlInstall Puppet 6 on Ubuntu | How to Setup Puppet on Ubuntu | Puppet Tutorials | Puppet Master setupInstall Puppet 6 on Ubuntu | How to Setup Puppet on Ubuntu | Puppet Tutorials | Puppet Master setupAutomate Build & Deployment of Java WebApp using Jenkins Freestyle job | Enable JaCoCo code coverageAutomate Build & Deployment of Java WebApp using Jenkins Freestyle job | Enable JaCoCo code coverageGitHub Actions Tutorials | How to Create CICD pipeline using GitHub Actions for a Java Web AppGitHub Actions Tutorials | How to Create CICD pipeline using GitHub Actions for a Java Web AppHow to Integrate SonarQube with GitHub Actions | Automate Code Scan using SonarQube in GitHub ActionHow to Integrate SonarQube with GitHub Actions | Automate Code Scan using SonarQube in GitHub ActionHow to Automate Infrastructure setup in AWS cloud using Terraform & Azure DevOps Pipelines | IACHow to Automate Infrastructure setup in AWS cloud using Terraform & Azure DevOps Pipelines | IACHow to Monitor AKS Cluster using Azure Log Analytics Workspace and Grafana | Setup monitoring on AKSHow to Monitor AKS Cluster using Azure Log Analytics Workspace and Grafana | Setup monitoring on AKSHow to Install LAMP Stack on Ubuntu EC2 instance using Ansible Playbook | Ansible TutorialsHow to Install LAMP Stack on Ubuntu EC2 instance using Ansible Playbook | Ansible TutorialsHow to Create AKS Cluster in Azure Cloud | Create AKS Cluster using Azure CLI | AKS TutorialHow to Create AKS Cluster in Azure Cloud | Create AKS Cluster using Azure CLI | AKS TutorialHow to Install Helm 3 on Linux | Install Helm 3 on Ubuntu | Setup Helm on Linux | Helm TutorialsHow to Install Helm 3 on Linux | Install Helm 3 on Ubuntu | Setup Helm on Linux | Helm TutorialsHow to integrate Artifactory & Azure DevOps | Integrate Artifactory & Azure DevOps to Upload BinaryHow to integrate Artifactory & Azure DevOps | Integrate Artifactory & Azure DevOps to Upload BinaryHow to Reset SonarQube Admin Password | How to Recover SonarQube Admin PasswordHow to Reset SonarQube Admin Password | How to Recover SonarQube Admin PasswordHow to setup SonarQube on Ubuntu | Install Sonarqube on Ubuntu | Jenkins SonarQube IntegrationHow to setup SonarQube on Ubuntu | Install Sonarqube on Ubuntu | Jenkins SonarQube IntegrationCreate Ubuntu EC2 instance in AWS cloud | How to Create Ubuntu EC2 in AWS Cloud | AWS EC2 tutorialCreate Ubuntu EC2 instance in AWS cloud | How to Create Ubuntu EC2 in AWS Cloud | AWS EC2 tutorialHow to create Red Hat Linux VM in Azure Cloud | Provision Red Hat Enterprise Linux VM in Azure CloudHow to create Red Hat Linux VM in Azure Cloud | Provision Red Hat Enterprise Linux VM in Azure CloudHow to Setup Self-hosted Docker Build agent in Azure DevOps Pipelines | Azure DevOps Docker AgentHow to Setup Self-hosted Docker Build agent in Azure DevOps Pipelines | Azure DevOps Docker AgentHow to Terminate EC2 instance using Terraform | How to perform Terraform destroy |Terraform TutorialHow to Terminate EC2 instance using Terraform | How to perform Terraform destroy |Terraform Tutorial
Яндекс.Метрика