13 lines
62 KiB
HTML
13 lines
62 KiB
HTML
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Documentation for 3Engines services and products"><meta name=author content=3Engines><link rel=canonical href=https://docs.3Engines.com/cloud/How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.html><link rel=prev href=How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.html><link rel=next href=DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.html><link rel=icon href=../assets/favicon.ico><meta name=generator content="mkdocs-1.6.1, mkdocs-material-9.6.14"><title>How to create a Linux VM and access it from Linux command line on 3Engines Cloud - 3Engines Documentation</title><link rel=stylesheet href=../assets/stylesheets/main.342714a4.min.css><link rel=stylesheet href=../assets/stylesheets/palette.06af60db.min.css><script src=https://unpkg.com/iframe-worker/shim></script><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><link rel=stylesheet href=../stylesheets/extra.css><script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script> <link href="../assets/stylesheets/glightbox.min.css" rel="stylesheet"/><style>
|
||
html.glightbox-open { overflow: initial; height: 100%; }
|
||
.gslide-title { margin-top: 0px; user-select: text; }
|
||
.gslide-desc { color: #666; user-select: text; }
|
||
.gslide-image img { background: white; }
|
||
.gscrollbar-fixer { padding-right: 15px; }
|
||
.gdesc-inner { font-size: 0.75rem; }
|
||
body[data-md-color-scheme="slate"] .gdesc-inner { background: var(--md-default-bg-color);}
|
||
body[data-md-color-scheme="slate"] .gslide-title { color: var(--md-default-fg-color);}
|
||
body[data-md-color-scheme="slate"] .gslide-desc { color: var(--md-default-fg-color);}</style> <script src="../assets/javascripts/glightbox.min.js"></script></head> <body dir=ltr data-md-color-scheme=default data-md-color-primary=blue-grey data-md-color-accent=indigo> <input class=md-toggle data-md-toggle=drawer type=checkbox id=__drawer autocomplete=off> <input class=md-toggle data-md-toggle=search type=checkbox id=__search autocomplete=off> <label class=md-overlay for=__drawer></label> <div data-md-component=skip> <a href=#how-to-create-a-linux-vm-and-access-it-from-linux-command-line-on-3engines-cloud class=md-skip> Skip to content </a> </div> <div data-md-component=announce> </div> <header class=md-header data-md-component=header> <nav class="md-header__inner md-grid" aria-label=Header> <a href=../index.html title="3Engines Documentation" class="md-header__button md-logo" aria-label="3Engines Documentation" data-md-component=logo> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg> </label> <div class=md-header__title data-md-component=header-title> <div class=md-header__ellipsis> <div class=md-header__topic> <span class=md-ellipsis> 3Engines Documentation </span> </div> <div class=md-header__topic data-md-component=header-topic> <span class=md-ellipsis> How to create a Linux VM and access it from Linux command line on 3Engines Cloud </span> </div> </div> </div> <form class=md-header__option data-md-component=palette> <input class=md-option data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme=default data-md-color-primary=blue-grey data-md-color-accent=indigo aria-label="Switch to dark mode" type=radio name=__palette id=__palette_0> <label class="md-header__button md-icon" title="Switch to dark mode" for=__palette_1 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> <input class=md-option data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme=slate data-md-color-primary=indigo data-md-color-accent=indigo aria-label="Switch to light mode" type=radio name=__palette id=__palette_1> <label class="md-header__button md-icon" title="Switch to light mode" for=__palette_0 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> </form> <script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script> <label class="md-header__button md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg> </label> <div class=md-search data-md-component=search role=dialog> <label class=md-search__overlay for=__search></label> <div class=md-search__inner role=search> <form class=md-search__form name=search> <input type=text class=md-search__input name=query aria-label=Search placeholder=Search autocapitalize=off autocorrect=off autocomplete=off spellcheck=false data-md-component=search-query required> <label class="md-search__icon md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg> </label> <nav class=md-search__options aria-label=Search> <a href=javascript:void(0) class="md-search__icon md-icon" title=Share aria-label=Share data-clipboard data-clipboard-text data-md-component=search-share tabindex=-1> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91s2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08"/></svg> </a> <button type=reset class="md-search__icon md-icon" title=Clear aria-label=Clear tabindex=-1> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg> </button> </nav> <div class=md-search__suggest data-md-component=search-suggest></div> </form> <div class=md-search__output> <div class=md-search__scrollwrap tabindex=0 data-md-scrollfix> <div class=md-search-result data-md-component=search-result> <div class=md-search-result__meta> Initializing search </div> <ol class=md-search-result__list role=presentation></ol> </div> </div> </div> </div> </div> </nav> </header> <div class=md-container data-md-component=container> <nav class=md-tabs aria-label=Tabs data-md-component=tabs> <div class=md-grid> <ul class=md-tabs__list> <li class=md-tabs__item> <a href=../index.html class=md-tabs__link> Home </a> </li> <li class="md-tabs__item md-tabs__item--active"> <a href=cloud.html.html class=md-tabs__link> Cloud </a> </li> <li class=md-tabs__item> <a href=../datavolume/datavolume.html.html class=md-tabs__link> Data Volume </a> </li> <li class=md-tabs__item> <a href=../networking/networking.html.html class=md-tabs__link> Networking </a> </li> <li class=md-tabs__item> <a href=../s3/s3.html.html class=md-tabs__link> S3 </a> </li> <li class=md-tabs__item> <a href=../windows/windows.html.html class=md-tabs__link> Windows </a> </li> </ul> </div> </nav> <main class=md-main data-md-component=main> <div class="md-main__inner md-grid"> <div class="md-sidebar md-sidebar--primary" data-md-component=sidebar data-md-type=navigation> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--primary md-nav--lifted" aria-label=Navigation data-md-level=0> <label class=md-nav__title for=__drawer> <a href=../index.html title="3Engines Documentation" class="md-nav__button md-logo" aria-label="3Engines Documentation" data-md-component=logo> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg> </a> 3Engines Documentation </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../index.html class=md-nav__link> <span class=md-ellipsis> Home </span> </a> </li> <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_2 checked> <label class=md-nav__link for=__nav_2 id=__nav_2_label tabindex> <span class=md-ellipsis> Cloud </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_2_label aria-expanded=true> <label class=md-nav__title for=__nav_2> <span class="md-nav__icon md-icon"></span> Cloud </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=cloud.html.html class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Dashboard Overview – Project Quotas And Flavors Limits on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to access the VM from OpenStack console on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-clone-existing-and-configured-VMs-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to clone existing and configured VMs on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-fix-unresponsive-console-issue-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to fix unresponsive console issue on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-generate-ec2-credentials-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to generate and manage EC2 credentials on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to generate or use Application Credentials via CLI on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-use-GUI-in-Linux-VM-on-3Engines-Cloud-and-access-it-from-local-Linux-computer.html.html class=md-nav__link> <span class=md-ellipsis> How to Use GUI in Linux VM on 3Engines Cloud and access it From Local Linux Computer </span> </a> </li> <li class=md-nav__item> <a href=How-To-Create-a-New-Linux-VM-With-NVIDIA-Virtual-GPU-in-the-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How To Create a New Linux VM With NVIDIA Virtual GPU in the OpenStack Dashboard Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-use-Docker-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to install and use Docker on Ubuntu 24.04 </span> </a> </li> <li class=md-nav__item> <a href=How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to use Security Groups in Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create key pair in OpenStack Dashboard on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-start-a-VM-from-a-snapshot-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to start a VM from a snapshot on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=Status-Power-State-and-dependences-in-billing-of-instances-VMs-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Status Power State and dependencies in billing of instance VMs on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to upload your custom image using OpenStack CLI on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> VM created with option Create New Volume No on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> VM created with option Create New Volume Yes on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=What-is-an-OpenStack-domain-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> What is an OpenStack domain on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=What-is-an-OpenStack-project-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> What is an OpenStack project on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create a Linux VM and access it from Windows desktop on 3Engines Cloud </span> </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-nav__toggle md-toggle" type=checkbox id=__toc> <label class="md-nav__link md-nav__link--active" for=__toc> <span class=md-ellipsis> How to create a Linux VM and access it from Linux command line on 3Engines Cloud </span> <span class="md-nav__icon md-icon"></span> </label> <a href=How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.html class="md-nav__link md-nav__link--active"> <span class=md-ellipsis> How to create a Linux VM and access it from Linux command line on 3Engines Cloud </span> </a> <nav class="md-nav md-nav--secondary" aria-label="On this page"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> On this page </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#what-we-are-going-to-cover class=md-nav__link> <span class=md-ellipsis> What We Are Going To Cover🔗 </span> </a> </li> <li class=md-nav__item> <a href=#prerequisites class=md-nav__link> <span class=md-ellipsis> Prerequisites🔗 </span> </a> </li> <li class=md-nav__item> <a href=#options-for-creation-of-a-virtual-machine-vm class=md-nav__link> <span class=md-ellipsis> Options for creation of a Virtual Machine (VM)🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-1-start-the-launch-instance-window-and-name-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 1 Start the Launch Instance window and name the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-2-define-the-source-of-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 2 Define the source of the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-3-define-the-flavor-of-the-instance class=md-nav__link> <span class=md-ellipsis> Step 3 Define the flavor of the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-4-define-networks-for-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 4 Define networks for the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-5-define-security-groups-for-vm class=md-nav__link> <span class=md-ellipsis> Step 5 Define security groups for VM🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-6-create-a-key-pair-for-ssh-access class=md-nav__link> <span class=md-ellipsis> Step 6 Create a key pair for SSH access🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-7-create-the-instance class=md-nav__link> <span class=md-ellipsis> Step 7 Create the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-8-attach-a-floating-ip-to-the-instance class=md-nav__link> <span class=md-ellipsis> Step 8 Attach a Floating IP to the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-9-connecting-to-your-virtual-machine-using-ssh class=md-nav__link> <span class=md-ellipsis> Step 9 Connecting to your virtual machine using SSH🔗 </span> </a> </li> <li class=md-nav__item> <a href=#what-to-do-next class=md-nav__link> <span class=md-ellipsis> What To Do Next🔗 </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.html class=md-nav__link> <span class=md-ellipsis> DNS as a Service on 3Engines Cloud Hosting </span> </a> </li> <li class=md-nav__item> <a href=What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> What Image Formats are Available in OpenStack 3Engines Cloud cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-upload-custom-image-to-3Engines-Cloud-cloud-using-OpenStack-Horizon-dashboard.html.html class=md-nav__link> <span class=md-ellipsis> How to upload custom image to 3Engines Cloud cloud using OpenStack Horizon dashboard </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-Windows-VM-on-OpenStack-Horizon-and-access-it-via-web-console-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create Windows VM on OpenStack Horizon and access it via web console on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-transfer-volumes-between-domains-and-projects-using-Horizon-dashboard-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=Spot-instances-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Spot instances on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-instance-snapshot-using-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create instance snapshot using Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-start-a-VM-from-instance-snapshot-using-Horizon-dashboard-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to start a VM from instance snapshot using Horizon dashboard on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=How-to-create-a-VM-using-the-OpenStack-CLI-client-on-3Engines-Cloud-cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud </span> </a> </li> <li class=md-nav__item> <a href=OpenStack-user-roles-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> OpenStack User Roles on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=Resizing-a-virtual-machine-using-OpenStack-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Resizing a virtual machine using OpenStack Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=Block-storage-and-object-storage-performance-limits-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Block storage and object storage performance limits on 3Engines Cloud </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_3> <label class=md-nav__link for=__nav_3 id=__nav_3_label tabindex=0> <span class=md-ellipsis> Data Volume </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_3_label aria-expanded=false> <label class=md-nav__title for=__nav_3> <span class="md-nav__icon md-icon"></span> Data Volume </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../datavolume/datavolume.html.html class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-attach-a-volume-to-VM-less-than-2TB-on-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to attach a volume to VM less than 2TB on Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-attach-a-volume-to-VM-more-than-2TB-on-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to attach a volume to VM more than 2TB on Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/Ephemeral-vs-Persistent-storage-option-Create-New-Volume-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Ephemeral vs Persistent storage option Create New Volume on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-export-a-volume-over-NFS-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to export a volume over NFS on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-export-a-volume-over-NFS-outside-of-a-project-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to export a volume over NFS outside of a project on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-extend-the-volume-in-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to extend the volume in Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-mount-object-storage-in-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to mount object storage in Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-move-data-volume-between-two-VMs-using-OpenStack-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-many-objects-can-I-put-into-Object-Storage-container-bucket-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How many objects can I put into Object Storage container bucket on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-create-volume-Snapshot-and-attach-as-Volume-on-Linux-or-Windows-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create volume Snapshot and attach as Volume on Linux or Windows on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/Volume-snapshot-inheritance-and-its-consequences-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Volume snapshot inheritance and its consequences on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-To-Create-Backup-Of-Your-Volume-From-Windows-Machine-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Create Backup of Your Volume From Windows Machine on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-To-Attach-Volume-To-Windows-VM-On-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How To Attach Volume To Windows VM On 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-create-or-delete-volume-snapshot-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create or delete volume snapshot on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/How-to-restore-volume-from-snapshot-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to restore volume from snapshot on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../datavolume/Bootable-versus-non-bootable-volumes-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Bootable versus non-bootable volumes on 3Engines Cloud </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_4> <label class=md-nav__link for=__nav_4 id=__nav_4_label tabindex=0> <span class=md-ellipsis> Networking </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_4_label aria-expanded=false> <label class=md-nav__title for=__nav_4> <span class="md-nav__icon md-icon"></span> Networking </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../networking/networking.html.html class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-can-I-access-my-VMs-using-names-instead-of-IP-addresses-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How can I access my VMs using names instead of IP addresses on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Add or Remove Floating IP’s to your VM on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/Cannot-access-VM-with-SSH-or-PING-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Cannot access VM with SSH or PING on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/Cannot-ping-VM-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Cannot ping VM on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-connect-to-your-virtual-machine-via-SSH-in-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to connect to your virtual machine via SSH in Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-create-a-network-with-router-in-Horizon-Dashboard-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to create a network with router in Horizon Dashboard on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-can-I-open-new-ports-port-80-for-http-for-my-service-or-instance-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How can I open new ports for http for my service or instance on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/Generating-a-SSH-keypair-in-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Generating an SSH keypair in Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to add SSH key from Horizon web console on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-is-my-VM-visible-in-the-internet-with-no-Floating-IP-attached-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How is my VM visible in the internet with no Floating IP attached on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-run-and-configure-Firewall-as-a-service-and-VPN-as-a-service-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to run and configure Firewall as a service and VPN as a service on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../networking/How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to import SSH public key to OpenStack Horizon on 3Engines Cloud </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_5> <label class=md-nav__link for=__nav_5 id=__nav_5_label tabindex=0> <span class=md-ellipsis> S3 </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_5_label aria-expanded=false> <label class=md-nav__title for=__nav_5> <span class="md-nav__icon md-icon"></span> S3 </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../s3/s3.html.html class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-delete-large-S3-bucket-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Delete Large S3 Bucket on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-mount-object-storage-container-as-a-file-system-in-Linux-using-s3fs-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Mount Object Storage Container as a File System in Linux Using s3fs on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/Bucket-sharing-using-s3-bucket-policy-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Bucket sharing using s3 bucket policy on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-use-Object-Storage-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to use Object Storage on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-access-private-object-storage-using-S3cmd-or-boto3-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to access private object storage using S3cmd or boto3 on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-To-Install-boto3-In-Windows-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Install Boto3 in Windows on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/Server-Side-Encryption-with-Customer-Managed-Keys-SSE-C-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Server-Side Encryption with Customer-Managed Keys (SSE-C) on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-mount-object-storage-container-from-3Engines-Cloud-as-file-system-on-local-Windows-computer.html.html class=md-nav__link> <span class=md-ellipsis> How to mount object storage container from 3Engines Cloud as file system on local Windows computer </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-install-s3cmd-on-Linux-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to install s3cmd on Linux on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-access-object-storage-from-3Engines-Cloud-using-boto3.html.html class=md-nav__link> <span class=md-ellipsis> How to access object storage from 3Engines Cloud using boto3 </span> </a> </li> <li class=md-nav__item> <a href=../s3/How-to-access-object-storage-from-3Engines-Cloud-using-s3cmd.html.html class=md-nav__link> <span class=md-ellipsis> How to access object storage from 3Engines Cloud using s3cmd </span> </a> </li> <li class=md-nav__item> <a href=../s3/Configuration-files-for-s3cmd-command-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Configuration files for s3cmd command on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../s3/S3-bucket-object-versioning-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> S3 bucket object versioning on 3Engines Cloud </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_6> <label class=md-nav__link for=__nav_6 id=__nav_6_label tabindex=0> <span class=md-ellipsis> Windows </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_6_label aria-expanded=false> <label class=md-nav__title for=__nav_6> <span class="md-nav__icon md-icon"></span> Windows </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../windows/windows.html.html class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=../windows/How-to-access-a-VM-from-Windows-PuTTY-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to access a VM from Windows PuTTY on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../windows/How-to-connect-to-a-virtual-machine-via-SSH-from-Windows-10-Command-Prompt-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to connect to a virtual machine via SSH from Windows 10 Command Prompt on 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../windows/How-To-Create-SSH-Key-Pair-In-Windows-On-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Create SSH Key Pair in Windows 10 On 3Engines Cloud </span> </a> </li> <li class=md-nav__item> <a href=../windows/Can-I-change-my-password-through-RDP-on-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> Can I change my password through RDP on 3Engines Cloud? </span> </a> </li> <li class=md-nav__item> <a href=../windows/How-To-Create-SSH-Key-Pair-In-Windows-11-On-3Engines-Cloud.html.html class=md-nav__link> <span class=md-ellipsis> How to Create SSH Key Pair in Windows 11 On 3Engines Cloud </span> </a> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component=sidebar data-md-type=toc> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--secondary" aria-label="On this page"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> On this page </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#what-we-are-going-to-cover class=md-nav__link> <span class=md-ellipsis> What We Are Going To Cover🔗 </span> </a> </li> <li class=md-nav__item> <a href=#prerequisites class=md-nav__link> <span class=md-ellipsis> Prerequisites🔗 </span> </a> </li> <li class=md-nav__item> <a href=#options-for-creation-of-a-virtual-machine-vm class=md-nav__link> <span class=md-ellipsis> Options for creation of a Virtual Machine (VM)🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-1-start-the-launch-instance-window-and-name-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 1 Start the Launch Instance window and name the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-2-define-the-source-of-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 2 Define the source of the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-3-define-the-flavor-of-the-instance class=md-nav__link> <span class=md-ellipsis> Step 3 Define the flavor of the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-4-define-networks-for-the-virtual-machine class=md-nav__link> <span class=md-ellipsis> Step 4 Define networks for the virtual machine🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-5-define-security-groups-for-vm class=md-nav__link> <span class=md-ellipsis> Step 5 Define security groups for VM🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-6-create-a-key-pair-for-ssh-access class=md-nav__link> <span class=md-ellipsis> Step 6 Create a key pair for SSH access🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-7-create-the-instance class=md-nav__link> <span class=md-ellipsis> Step 7 Create the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-8-attach-a-floating-ip-to-the-instance class=md-nav__link> <span class=md-ellipsis> Step 8 Attach a Floating IP to the instance🔗 </span> </a> </li> <li class=md-nav__item> <a href=#step-9-connecting-to-your-virtual-machine-using-ssh class=md-nav__link> <span class=md-ellipsis> Step 9 Connecting to your virtual machine using SSH🔗 </span> </a> </li> <li class=md-nav__item> <a href=#what-to-do-next class=md-nav__link> <span class=md-ellipsis> What To Do Next🔗 </span> </a> </li> </ul> </nav> </div> </div> </div> <div class=md-content data-md-component=content> <article class="md-content__inner md-typeset"> <h1 id=how-to-create-a-linux-vm-and-access-it-from-linux-command-line-on-3engines-cloud>How to create a Linux VM and access it from Linux command line on 3Engines Cloud<a href=#how-to-create-a-linux-vm-and-access-it-from-linux-command-line-on-brand-name title="Permalink to this headline">🔗</a><a class=headerlink href=#how-to-create-a-linux-vm-and-access-it-from-linux-command-line-on-3engines-cloud title="Permanent link">¶</a></h1> <p>Creating a virtual machine in a 3Engines Cloud cloud allows you to perform computations without having to engage your own infrastructure. In this article you shall create a Linux based virtual machine and access it remotely from a Linux command line on a desktop or laptop.</p> <p>If you want to access Linux VM from a Windows based command line, follow this article instead: <a href=How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.html>How to create a Linux VM and access it from Windows desktop on 3Engines Cloud</a>.</p> <p>Note</p> <p>This article only covers the basics of creating a VM - it does not cover topics such as use of NVIDIA hardware or creating a volume during the creation of a VM.</p> <h2 id=what-we-are-going-to-cover>What We Are Going To Cover<a href=#what-we-are-going-to-cover title="Permalink to this headline">🔗</a><a class=headerlink href=#what-we-are-going-to-cover title="Permanent link">¶</a></h2> <blockquote> <ul> <li>Creating a Linux virtual machine in 3Engines Cloud cloud using command <strong>Launch Instance</strong> from Horizon Dashboard</li> </ul> </blockquote> <p>You will enter the following required data into that window:</p> <blockquote> <ul> <li>Instance name</li> <li>Instance source (from an operating system image)</li> <li>Instance flavor (the combination of CPU, memory and storage capacity)</li> <li>Networks that the newly created VM will use</li> </ul> </blockquote> <p>Then create elements later needed for SSH connection:</p> <blockquote> <ul> <li>Security groups to control access to the machine and</li> <li>A key pair for SSH access to the Linux based VM in the cloud</li> </ul> </blockquote> <p>For external access</p> <blockquote> <ul> <li>Attach a floating IP to the instance so that it can be found on the Internet and, finally,</li> <li>Use SSH to connect to that virtual machine from another Linux based system</li> </ul> </blockquote> <h2 id=prerequisites>Prerequisites<a href=#prerequisites title="Permalink to this headline">🔗</a><a class=headerlink href=#prerequisites title="Permanent link">¶</a></h2> <p>No. 1 <strong>Hosting</strong></p> <p>You need a 3Engines Cloud hosting account with Horizon interface <a href=https://horizon.3Engines.com>https://horizon.3Engines.com</a>.</p> <p>No. 2 <strong>Basic knowledge of Linux terminal</strong></p> <p>You should have some experience with Linux command line interface.</p> <p>No. 3 <strong>Linux installed on your local computer</strong></p> <p>A Linux distribution running on your computer. This article was written for Ubuntu 20.04 LTS so please adjust the commands to your version of Linux.</p> <p>No. 4 <strong>SSH client installed and configured on your local Linux computer</strong></p> <p>The SSH client must be installed and configured on your local Linux computer. Please see <a href=../networking/Generating-a-SSH-keypair-in-Linux-on-3Engines-Cloud.html.html>Generating an SSH keypair in Linux on 3Engines Cloud</a>.</p> <p>If you already have an SSH key pair and an SSH client configured, you should import your public key to the Horizon dashboard. The following article contains information how to do it: <a href=../networking/How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.html>How to import SSH public key to OpenStack Horizon on 3Engines Cloud</a>.</p> <p>Alternatively, you can also create a key pair directly in the Horizon:</p> <p><a href=How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.html>How to create key pair in OpenStack Dashboard on 3Engines Cloud</a>.</p> <h2 id=options-for-creation-of-a-virtual-machine-vm>Options for creation of a Virtual Machine (VM)<a href=#options-for-creation-of-a-virtual-machine-vm title="Permalink to this headline">🔗</a><a class=headerlink href=#options-for-creation-of-a-virtual-machine-vm title="Permanent link">¶</a></h2> <p>Creation of a virtual machine is divided into 11 sections, four of which are mandatory (denoted by an asterisk in the end of the name of the option). In addition to those four (<strong>Details</strong>, <strong>Source</strong>, <strong>Flavor</strong>, and <strong>Networks</strong>), we shall define <strong>Security Groups</strong> and <strong>Key Pairs</strong>. The rest of the options to launch an instance is out of scope of this article.</p> <p>Note</p> <p>In OpenStack terminology, a <em>virtual machine</em> is also an <em>instance</em>. <em>Instance</em> is a broader term as not all instances need be virtual machines, it is also possible to use real hardware as an instance.</p> <p>The window to create a virtual machine is called <strong>Launch Instance</strong>. You will enter all the data about an instance into that window and its options.</p> <h2 id=step-1-start-the-launch-instance-window-and-name-the-virtual-machine>Step 1 Start the Launch Instance window and name the virtual machine<a href=#step-1-start-the-launch-instance-window-and-name-the-virtual-machine title="Permalink to this headline">🔗</a><a class=headerlink href=#step-1-start-the-launch-instance-window-and-name-the-virtual-machine title="Permanent link">¶</a></h2> <p>In the Horizon dashboard go to <strong>Compute</strong> -> <strong>Instances</strong> and click <strong>Launch Instance</strong>. You should get the following window:</p> <p><a class=glightbox href=../_images/create-linux-linux-04_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-04_creodias.png src=../_images/create-linux-linux-04_creodias.png></a></p> <p>Type the name for your virtual machine in the <strong>Instance Name</strong> text field.</p> <p>Click <strong>Next</strong> or the <strong>Source</strong> option on the left side menu.</p> <h2 id=step-2-define-the-source-of-the-virtual-machine>Step 2 Define the source of the virtual machine<a href=#step-2-define-the-source-of-the-virtual-machine title="Permalink to this headline">🔗</a><a class=headerlink href=#step-2-define-the-source-of-the-virtual-machine title="Permanent link">¶</a></h2> <p>The <strong>Source</strong> window appears:</p> <p><a class=glightbox href=../_images/create-linux-linux-05_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-05_creodias.png src=../_images/create-linux-linux-05_creodias.png></a></p> <p>Make sure that from the drop-down menu <strong>Select Boot Source</strong> option <strong>Image</strong> is selected.</p> <p><a class=glightbox href=../_images/boot_source.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=boot_source.png src=../_images/boot_source.png></a></p> <p>From the <strong>Available</strong> list choose Linux distribution that suits you best and click <strong>↑</strong> next to it. It should now be visible in the <strong>Allocated</strong> section:</p> <p><a class=glightbox href=../_images/create-linux-linux-06_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-06_creodias.png src=../_images/create-linux-linux-06_creodias.png></a></p> <p>This image shows that a Ubuntu 20.04 LTS was selected; if you, however, chose CentOS 7, that is what would show here instead of Ubuntu 20.04 LTS.</p> <p>If you change your mind, click <strong>↓</strong> to unselect a source and then choose a different one.</p> <p>Images which have <strong>NVIDIA</strong> in their name contain NVIDIA hardware. This article does not cover their use. Therefore, make sure that you choose the image without it.</p> <p>Also, make sure that in the section <strong>Create New Volume</strong> option <strong>No</strong> is selected.</p> <p>Click <strong>Next</strong> or click on button <strong>Flavor</strong> to define the flavor of the instance.</p> <h2 id=step-3-define-the-flavor-of-the-instance>Step 3 Define the flavor of the instance<a href=#step-3-define-the-flavor-of-the-instance title="Permalink to this headline">🔗</a><a class=headerlink href=#step-3-define-the-flavor-of-the-instance title="Permanent link">¶</a></h2> <p>You should now see the following form:</p> <p><a class=glightbox href=../_images/create-linux-linux-07_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-07_creodias.png src=../_images/create-linux-linux-07_creodias.png></a></p> <p>The standard definition of OpenStack <em>flavor</em> is the amount of resources available to the instance - like VCPU, memory and storage capacity.</p> <p>Choose the one which suits you best and click <strong>↑</strong> next to it.</p> <p>Make sure that you do <strong>not</strong> select one of the below flavors - they contain NVIDIA hardware and this article does not cover their use.</p> <blockquote> <ul> <li><strong>vm.a6000.1</strong></li> <li><strong>vm.a6000.2</strong></li> <li><strong>vm.a6000.4</strong></li> <li><strong>vm.a6000.8</strong></li> </ul> </blockquote> <p>Sometimes, a flavor might be insufficient for source you chose in the previous step. If this is the case, you will see a yellow warning sign next to at least one of the values in the row for that flavor:</p> <p><a class=glightbox href=../_images/yellow_triangles.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=yellow_triangles.png src=../_images/yellow_triangles.png></a></p> <p>To solve this issue, choose a flavor that supports your chosen source instead. In the image above, <em>vm.a6000.4</em> is not available but, say, <em>hm.large</em> is.</p> <p>Another possible explanation might be that your quota is too low for creating a VM with your chosen flavor. You can see your quota in the <strong>Compute -> Overview</strong> section of your Horizon dashboard. If that is the case, you can either:</p> <ul> <li>choose a different flavor or</li> <li>contact the 3Engines Cloud Support to request quota increase - <a href=../accountmanagement/Help-Desk-And-Support.html.html>Helpdesk and Support</a>.</li> </ul> <p>Click <strong>Next</strong> or click <strong>Networks</strong> to define networks.</p> <h2 id=step-4-define-networks-for-the-virtual-machine>Step 4 Define networks for the virtual machine<a href=#step-4-define-networks-for-the-virtual-machine title="Permalink to this headline">🔗</a><a class=headerlink href=#step-4-define-networks-for-the-virtual-machine title="Permanent link">¶</a></h2> <p>You should now see the following window:</p> <p><a class=glightbox href=../_images/create-linux-linux-08_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-08_creodias.png src=../_images/create-linux-linux-08_creodias.png></a></p> <p>Here you can select networks that will be attached to your virtual machine. They control the way your machine is connected to the Internet, to the other machines and to other resources as well.</p> <p>By default, you should have access to the network whose name starts with <strong>cloud_</strong>, which allows you to connect your machines together. It also has access to the <strong>external</strong> network which gives the instance access to the Internet.</p> <p>Choose that network and also choose any other network that you want to access through the newly created VM.</p> <p>These were the obligatory options. Since you want to access the instance through an SSH connection, you will need to define <strong>Security Groups</strong> and <strong>Key Pair</strong>.</p> <h2 id=step-5-define-security-groups-for-vm>Step 5 Define security groups for VM<a href=#step-5-define-security-groups-for-vm title="Permalink to this headline">🔗</a><a class=headerlink href=#step-5-define-security-groups-for-vm title="Permanent link">¶</a></h2> <p>Security groups control network traffic to and from your virtual machine.</p> <p>Click <strong>Security Groups</strong>. You should see the following form:</p> <p><a class=glightbox href=../_images/create-linux-linux-09_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-09_creodias.png src=../_images/create-linux-linux-09_creodias.png></a></p> <p>By default, you have access to two groups:</p> <blockquote> <ul> <li><strong>default</strong> which blocks all incoming traffic and allows all outgoing traffic</li> <li><strong>allow_ping_ssh_icmp_rdp</strong> which allows incoming Ping, SSH, ICMP and RDP connections</li> </ul> </blockquote> <p>Enable both of these rules. One of the open ports in <strong>allow_ping_ssh_icmp_rdp</strong> is 22, which is a prerequisite for SSH access.</p> <h2 id=step-6-create-a-key-pair-for-ssh-access>Step 6 Create a key pair for SSH access<a href=#step-6-create-a-key-pair-for-ssh-access title="Permalink to this headline">🔗</a><a class=headerlink href=#step-6-create-a-key-pair-for-ssh-access title="Permanent link">¶</a></h2> <p>To use SSH to connect your local Linux computer to the cloud Linux “computer”, you will need to provide one public and one secret key. (Keys are random strings, usually hundreds of characters long.)</p> <p>Click <strong>Key Pair</strong>. You should now see the following window:</p> <p><a class=glightbox href=../_images/create-linux-linux-10_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-10_creodias.png src=../_images/create-linux-linux-10_creodias.png></a></p> <p>In the image above, the key is called <strong>test-key</strong>. There are three ways to enter the keys into this window:</p> <blockquote> <ul> <li>using option <strong>Create Key Pair</strong> – create it on the spot,</li> <li>using option <strong>Import Key Pair</strong> – take the keys you already have and upload them to the cloud,</li> <li>using one of the key pairs that were already existing within OpenStack cloud.</li> </ul> </blockquote> <p>If you haven’t created your key pair yet, please follow Prerequisite No. 4.</p> <p>Anyways, make sure that your uploaded key is in the <strong>Allocated</strong> section.</p> <h2 id=step-7-create-the-instance>Step 7 Create the instance<a href=#step-7-create-the-instance title="Permalink to this headline">🔗</a><a class=headerlink href=#step-7-create-the-instance title="Permanent link">¶</a></h2> <p>Once you have set everything up, click <strong>Launch Instance</strong>.</p> <p>Your instance should now be in the <strong>Instances</strong> list. Initially, the instance will be in a state of “Spawning” as in this image:</p> <p><a class=glightbox href=../_images/create-linux-linux-12_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-12_creodias.png src=../_images/create-linux-linux-12_creodias.png></a></p> <p>Spawning is the process of preparing the instance.</p> <p>Wait up to a few minutes until your instance has finished spawning. The next state is <strong>Running</strong> label in the <strong>Power State</strong> column:</p> <p><a class=glightbox href=../_images/create-linux-linux-13_creodias.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=create-linux-linux-13_creodias.png src=../_images/create-linux-linux-13_creodias.png></a></p> <p>It means that the instance is ready to use.</p> <p>In Step 4 you have attached a network with the name that starts with <strong>cloud_</strong>. It allows the instance to send and receive data from other instances in the cloud and the Internet but does not automatically provide a static IP address. Such address is important if you want to host a website or access the instance via the SSH protocol.</p> <p>Just like on the above screenshot, under header <strong>IP Address</strong>, you will see network addresses which both start with <strong>10.</strong>. It means that they are local network addresses. If you want to access your instance remotely, it must have a static IP address. The way to add it is to attach a so-called <em>floating IP</em> address to the instance.</p> <h2 id=step-8-attach-a-floating-ip-to-the-instance>Step 8 Attach a Floating IP to the instance<a href=#step-8-attach-a-floating-ip-to-the-instance title="Permalink to this headline">🔗</a><a class=headerlink href=#step-8-attach-a-floating-ip-to-the-instance title="Permanent link">¶</a></h2> <p>Here is how to create and attach a floating IP to your instance: <a href=../networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-3Engines-Cloud.html.html>How to Add or Remove Floating IP’s to your VM on 3Engines Cloud</a>.</p> <p>Once you have added the floating IP, you will see it in the Horizon dashboard under header <strong>IP Address</strong> - just like in the last image from that article:</p> <p><a class=glightbox href=../_images/ip_address_from_article.png data-type=image data-width=100% data-height=auto data-desc-position=bottom><img alt=ip_address_from_article.png src=../_images/ip_address_from_article.png></a></p> <p>The floating IP address in that article is <strong>64.225.132.0</strong>. Your address will vary.</p> <h2 id=step-9-connecting-to-your-virtual-machine-using-ssh>Step 9 Connecting to your virtual machine using SSH<a href=#step-9-connecting-to-your-virtual-machine-using-ssh title="Permalink to this headline">🔗</a><a class=headerlink href=#step-9-connecting-to-your-virtual-machine-using-ssh title="Permanent link">¶</a></h2> <p>The following article has information about connecting to a virtual machine using SSH: <a href=../networking/How-to-connect-to-your-virtual-machine-via-SSH-in-Linux-on-3Engines-Cloud.html.html>How to connect to your virtual machine via SSH in Linux on 3Engines Cloud</a>.</p> <p>The last command in that article was:</p> <div class=highlight><pre><span></span><code><span id=__span-0-1><a id=__codelineno-0-1 name=__codelineno-0-1 href=#__codelineno-0-1></a>ssh [email protected]
|
||
</span></code></pre></div> <p>The IP address in that article is <strong>64.225.132.99</strong> and is different from the address from the previous article. Instead of IP addresses used in these articles (<strong>64.225.132.99</strong> and <strong>64.225.132.0</strong>), enter the IP address of your instance which you saw after doing Step 8.</p> <h2 id=what-to-do-next>What To Do Next<a href=#what-to-do-next title="Permalink to this headline">🔗</a><a class=headerlink href=#what-to-do-next title="Permanent link">¶</a></h2> <p>3Engines Cloud cloud can be used for general hosting needs, such as</p> <blockquote> <ul> <li>installing LAMP servers,</li> <li>installing and using WordPress servers,</li> <li>email servers,</li> <li>Kubernetes and SLURM clusters and so on.</li> </ul> </blockquote> <p>To create a <em>cluster</em> of instances, see the series of articles on Kubernetes:</p> <p><a href=../kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.html>How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum</a>.</p> <p>If you find yourself unable to connect to your virtual machine using SSH, you can use the web console for troubleshooting and other purposes. Here’s how to do it:</p> <p><a href=How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.html>How to access the VM from OpenStack console on 3Engines Cloud</a></p> <p>If you don’t want the storage of your instance to be deleted while the VM is removed, you can choose to use a volume during instance creation. Please see the following articles:</p> <p><a href=VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.html>VM created with option Create New Volume No on 3Engines Cloud</a></p> <p><a href=VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.html>VM created with option Create New Volume Yes on 3Engines Cloud</a>.</p> <p>You can’t apply the SSH keys uploaded to the Horizon dashboard directly to a VM after its creation. The following article presents a walkaround to this problem:</p> <p><a href=../networking/How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.html>How to add SSH key from Horizon web console on 3Engines Cloud</a>.</p> <p>If you find that the storage of your VM is insufficient for your needs, you can attach the volume to it after its creation. The following articles contain appropriate instructions: <a href=../datavolume/How-to-attach-a-volume-to-VM-less-than-2TB-on-Linux-on-3Engines-Cloud.html.html>How to attach a volume to VM less than 2TB on Linux on 3Engines Cloud</a> and <a href=../datavolume/How-to-attach-a-volume-to-VM-more-than-2TB-on-Linux-on-3Engines-Cloud.html.html>How to attach a volume to VM more than 2TB on Linux on 3Engines Cloud</a>.</p> </article> </div> <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script> </div> <button type=button class="md-top md-icon" data-md-component=top hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg> Back to top </button> </main> <footer class=md-footer> <nav class="md-footer__inner md-grid" aria-label=Footer> <a href=How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.html class="md-footer__link md-footer__link--prev" aria-label="Previous: How to create a Linux VM and access it from Windows desktop on 3Engines Cloud"> <div class="md-footer__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg> </div> <div class=md-footer__title> <span class=md-footer__direction> Previous </span> <div class=md-ellipsis> How to create a Linux VM and access it from Windows desktop on 3Engines Cloud </div> </div> </a> <a href=DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.html class="md-footer__link md-footer__link--next" aria-label="Next: DNS as a Service on 3Engines Cloud Hosting"> <div class=md-footer__title> <span class=md-footer__direction> Next </span> <div class=md-ellipsis> DNS as a Service on 3Engines Cloud Hosting </div> </div> <div class="md-footer__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11z"/></svg> </div> </a> </nav> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-copyright> Made with <a href=https://squidfunk.github.io/mkdocs-material/ target=_blank rel=noopener> Material for MkDocs </a> </div> </div> </div> </footer> </div> <div class=md-dialog data-md-component=dialog> <div class="md-dialog__inner md-typeset"></div> </div> <script id=__config type=application/json>{"base": "..", "features": ["content.code.annotate", "content.code.copy", "content.tooltips", "navigation.tabs", "navigation.sections", "navigation.footer", "navigation.indexes", "navigation.sections", "navigation.top", "navigation.tracking", "search.highlight", "search.share", "search.suggest", "toc.follow"], "search": "../assets/javascripts/workers/search.d50fe291.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script> <script src=../assets/javascripts/bundle.13a4f30d.min.js></script> <script id="init-glightbox">const lightbox = GLightbox({"touchNavigation": false, "loop": false, "zoomable": true, "draggable": true, "openEffect": "zoom", "closeEffect": "zoom", "slideEffect": "slide"});
|
||
document$.subscribe(() => { lightbox.reload() });
|
||
</script></body> </html> |