Openstack using Ansible Flashcards

1
Q

What is OpenStack?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main components of OpenStack?

A

The main components of OpenStack include Nova (compute), Neutron (networking), Cinder (block storage), Swift (object storage), Keystone (identity), Glance (image), and Horizon (dashboard).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the Nova component in OpenStack?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the Neutron component in OpenStack?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the Cinder component in OpenStack?

A

Cinder is the block storage service in OpenStack, providing persistent block-level storage devices for use with OpenStack compute instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the Swift component in OpenStack?

A

Swift is the object storage service in OpenStack, providing a distributed, API-accessible storage platform that can store and retrieve unstructured data objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the Keystone component in OpenStack?

A

Keystone is the identity service in OpenStack, responsible for authentication, authorization, and service discovery. It manages users, projects, roles, and access tokens.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the Glance component in OpenStack?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the Horizon component in OpenStack?

A

Horizon is the web-based user interface for OpenStack, allowing users to manage OpenStack resources and services through a graphical dashboard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Ansible?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the main components of Ansible?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an Ansible inventory?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an Ansible module?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an Ansible task?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an Ansible playbook?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can Ansible be used to automate OpenStack deployments?

A

Ansible can be used to automate the deployment, configuration, and management of OpenStack components by defining playbooks that describe the desired state of the OpenStack environment. Ansible modules for OpenStack (such as os_server, os_volume, and os_network) can be used to interact with the OpenStack API.

17
Q

What is the purpose of the os_server module in Ansible?

A

The os_server module is used to manage OpenStack compute instances (servers), allowing you to create, modify, or delete instances, as well as manage their state (e.g., start, stop, or reboot).

18
Q

What is the purpose of the os_volume module in Ansible?

A

The os_volume module is used to manage OpenStack block storage volumes, allowing you to create, modify, or delete volumes, as well as attach or detach them from compute instances.

19
Q

What is the purpose of the os_network module in Ansible?

A

The os_network module is used to manage OpenStack networks, allowing you to create, modify, or delete networks, subnets, and ports.

20
Q

How can Ansible be used to manage OpenStack users and projects?

A

Ansible can be used to manage OpenStack users and projects using modules like os_user and os_project, which allow you to create, modify, or delete users and projects, as well as manage their roles and quotas.