How to launch one instance in OpenStack from CLI

0 votes

Hi Guys,

I am new to OpenStack. I want to launch one instance in OpenStack from CLI. How can I do that?

Jul 5, 2020 in OpenStack by akhtar
• 38,180 points
150 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to login to your OpenStack cloud from CLI using the source command. After that, you can use the nova boot command to launch an instance.

$ source keystone_demo
$ nova boot --nic net-name=private --flavor m1.small --image fedora os_name

I hope this will help you.

answered Jul 5, 2020 by MD
• 95,140 points

Related Questions In OpenStack

0 votes
1 answer

How to create an image in OpenStack from CLI?

Hi@akhtar, You have to first download one preinstalled ...READ MORE

answered Jul 6, 2020 in OpenStack by MD
• 95,140 points
257 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17, 2020 in OpenStack by anonymous
• 95,140 points
519 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,140 points
1,625 views
0 votes
1 answer

How To Migrate Running Instances From One Openstack Compute Server To Another Openstack Compute Server ?

Hi@akhtar, You can migrate your instance in OpenStack ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,140 points
307 views
0 votes
1 answer

fatal:unable to connect to git.openstack.org: git.openstack.org errno=Network is unreachable

Hi@akhtar, You need to change the GIT_BASE installation ...READ MORE

answered Sep 23, 2020 in OpenStack by MD
• 95,140 points
83 views
0 votes
1 answer

How do I install OpenStack in RHEL 7/CentOS 7?

Hi@akhtar, Follow the below steps to install OpenStack. IP ...READ MORE

answered Mar 13, 2020 in OpenStack by MD
• 95,140 points
1,077 views
0 votes
1 answer

How to login with demo account in OpenStack from CLI?

Hi@akhtar, Packstack program will generate to file when ...READ MORE

answered Jul 3, 2020 in OpenStack by MD
• 95,140 points
168 views
0 votes
1 answer

How to launch an instance in OpenStack using Terraform?

Hi@akhtar, You need to use openstack_compute_instance_v2 resource to launch ...READ MORE

answered Jul 5, 2020 in OpenStack by MD
• 95,140 points
336 views