From ef09830c810f96b40e8b737d1506d60137b0f344 Mon Sep 17 00:00:00 2001 From: Matthew Kassawara Date: Thu, 24 Mar 2016 17:11:09 -0600 Subject: [PATCH] [install] Add optional m1.nano flavor Add optional m1.nano flavor that only requires 64 MB memory per instance for environments with limited resources. Change-Id: I7338a5d7e6dd5268462b062581cfa20c646ef398 Implements: bp installguide-mitaka --- .../source/launch-instance-provider.rst | 3 ++- .../source/launch-instance-selfservice.rst | 3 ++- doc/install-guide/source/launch-instance.rst | 27 +++++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/doc/install-guide/source/launch-instance-provider.rst b/doc/install-guide/source/launch-instance-provider.rst index 077e2305ea..854b66fecc 100644 --- a/doc/install-guide/source/launch-instance-provider.rst +++ b/doc/install-guide/source/launch-instance-provider.rst @@ -34,7 +34,8 @@ name, network, security group, key, and instance name. | 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True | +----+-----------+-------+------+-----------+-------+-----------+ - This instance uses the ``m1.tiny`` flavor. + This instance uses the ``m1.tiny`` flavor. If you created the optional + ``m1.nano`` flavor, use it instead of the ``m1.tiny`` flavor. .. note:: diff --git a/doc/install-guide/source/launch-instance-selfservice.rst b/doc/install-guide/source/launch-instance-selfservice.rst index fb2bb19df4..874269ef45 100644 --- a/doc/install-guide/source/launch-instance-selfservice.rst +++ b/doc/install-guide/source/launch-instance-selfservice.rst @@ -34,7 +34,8 @@ name, network, security group, key, and instance name. | 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True | +----+-----------+-------+------+-----------+-------+-----------+ - This instance uses the ``m1.tiny`` flavor. + This instance uses the ``m1.tiny`` flavor. If you created the optional + ``m1.nano`` flavor, use it instead of the ``m1.tiny`` flavor. .. note:: diff --git a/doc/install-guide/source/launch-instance.rst b/doc/install-guide/source/launch-instance.rst index 49748ac027..95510cff9f 100644 --- a/doc/install-guide/source/launch-instance.rst +++ b/doc/install-guide/source/launch-instance.rst @@ -36,6 +36,33 @@ networks. After creating the appropriate networks for your environment, you can continue preparing the environment to launch an instance. +Create m1.nano flavor +--------------------- + +The smallest default flavor consumes 512 MB memory per instance. For +environments with compute nodes containing less than 4 GB memory, we +recommend creating the ``m1.nano`` flavor that only requires 64 MB per +instance. Only use this flavor with the CirrOS image for testing +purposes. + +.. code-block:: console + + $ openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano + +----------------------------+---------+ + | Field | Value | + +----------------------------+---------+ + | OS-FLV-DISABLED:disabled | False | + | OS-FLV-EXT-DATA:ephemeral | 0 | + | disk | 1 | + | id | 0 | + | name | m1.nano | + | os-flavor-access:is_public | True | + | ram | 64 | + | rxtx_factor | 1.0 | + | swap | | + | vcpus | 1 | + +----------------------------+---------+ + Generate a key pair -------------------