Files
charm-guide/doc/source/getting-started/verify.rst
Peter Matulis 173f24482b Rewrite getting started
Rewrite the getting started pages by turning it
into an actual tutorial. This will be the main
Charmed OpenStack tutorial (golden path) for
people to follow.

It is hoped that once bundles in the Charmhub are
properly staged the need to download the bundle
repository will no longer be necessary.

Change-Id: I099a58874fc963688ae18d7353aa8d086de98da4
2022-03-29 17:47:12 -04:00

952 B

Verify the cloud

We'll now verify that the cloud is working by creating a test instance and connecting to it over SSH.

Create an instance

Create a Focal amd64 instance called 'focal-1':

openstack server create \
   --image focal-amd64 --flavor m1.micro --key-name mykey --network int_net \
    focal-1

Assign a floating IP address

Request and assign a floating IP address to the new instance:

FLOATING_IP=$(openstack floating ip create -f value -c floating_ip_address ext_net)

openstack server add floating ip focal-1 $FLOATING_IP

Log in to the instance

Log in to the new instance:

ssh -i ~/tutorial/id_mykey ubuntu@$FLOATING_IP

Congratulations, you have a working OpenStack cloud!

Advance to the final step: Access the dashboard <dashboard>.