Openstack using Ansible Flashcards
What is OpenStack?
OpenStack is an open-source cloud computing platform that provides Infrastructure-as-a-Service (IaaS) by controlling and managing compute, storage, and networking resources in a data center.
What are the main components of OpenStack?
The main components of OpenStack include Nova (compute), Neutron (networking), Cinder (block storage), Swift (object storage), Keystone (identity), Glance (image), and Horizon (dashboard).
What is the purpose of the Nova component in OpenStack?
Nova is the compute service in OpenStack, responsible for managing the lifecycle of virtual machines (instances) and their associated resources, such as CPU, memory, and disk.
What is the purpose of the Neutron component in OpenStack?
Neutron is the networking service in OpenStack, providing virtual networking infrastructure for other OpenStack services. It manages network creation, IP address allocation, and firewall rules.
What is the purpose of the Cinder component in OpenStack?
Cinder is the block storage service in OpenStack, providing persistent block-level storage devices for use with OpenStack compute instances.
What is the purpose of the Swift component in OpenStack?
Swift is the object storage service in OpenStack, providing a distributed, API-accessible storage platform that can store and retrieve unstructured data objects.
What is the purpose of the Keystone component in OpenStack?
Keystone is the identity service in OpenStack, responsible for authentication, authorization, and service discovery. It manages users, projects, roles, and access tokens.
What is the purpose of the Glance component in OpenStack?
Glance is the image service in OpenStack, used to discover, register, and retrieve virtual machine images. It supports multiple image formats and can store images in various locations, such as Swift or Cinder.
What is the purpose of the Horizon component in OpenStack?
Horizon is the web-based user interface for OpenStack, allowing users to manage OpenStack resources and services through a graphical dashboard.
What is Ansible?
Ansible is an open-source IT automation tool that enables infrastructure as code, configuration management, and application deployment. It uses a simple, human-readable language (YAML) to describe automation tasks.
What are the main components of Ansible?
The main components of Ansible include inventories (list of managed nodes), modules (units of code executed on remote nodes), tasks (units of action in a playbook), and playbooks (YAML files describing a set of tasks to be executed on remote nodes).
What is an Ansible inventory?
An Ansible inventory is a file or script that defines the hosts and groups of hosts that Ansible can manage, along with variables specific to those hosts or groups.
What is an Ansible module?
An Ansible module is a reusable unit of code that can be executed on remote nodes to perform specific tasks, such as managing files, packages, services, or users.
What is an Ansible task?
An Ansible task is a unit of action that is executed on remote nodes, typically calling an Ansible module with specific arguments. Tasks are defined in playbooks.
What is an Ansible playbook?
An Ansible playbook is a YAML file that defines a set of tasks to be executed on remote nodes, along with any necessary variables, conditions, or loops. Playbooks are the core component of Ansible’s infrastructure-as-code approach.