8000 GitHub - kimt22/NSO_Project1: Network and Service Operations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kimt22/NSO_Project1

 
 

Repository files navigation

Automated Service Deployment and Management in OpenStack

This project is an automated solution for deploying, operating, and managing scalable and resilient cloud-based service infrastructure within an OpenStack environment.

Key Features

  1. Automated Deployment: Utilizes Ansible playbook and bash/shell scripts to set up a cloud environment in OpenStack automatically, including creating networks, routers, subnets, security groups, servers/nodes.
  2. High Availability and Load Balancing: Implements load balancing with HAProxy and high availability with Keepalived across dual proxy nodes to eliminate a single point of failure.
  3. Secure Access: Configures a BASTION host for secure SSH access to instances and centralized monitoring using Prometheus and Grafana.
  4. Resource Cleanup: Includes script to clean up and release all resources allocated during the deployment phase, ensuring no residual resources are left behind.

Project Components 'install' Script: Automates the deployment of the entire environment, including network setup, instance creation, and service configuration. 'operate' Script: Manages the ongoing operations, including dynamic scaling and monitoring of service nodes. 'cleanup' Script: Removes all resources and cleans up the environment after use. Monitoring Configuration: Integrates Prometheus and Grafana for monitoring the deployed services and infrastructure. Load Balancing Configuration: Configures HAProxy and Keepalived for load balancing.

Working

  1. Deployment: Run the 'install' script with OpenStack credentials(open-rc file), which sets up the environment and deploys the necessary services.
  2. Operation: The 'operate' script monitors the system, and adjusts the number of service nodes as mentioned in the 'server.conf' file.
  3. Cleanup: The 'cleanup' script releases all resources, returning the cloud environment to its original state.

Usage Instructions

  1. Provide permissions to install, operate, and cleanup script files.
chmod +x install operate cleanup
  1. Generate ssh keys, the ssh keys are to be present in the working directory
ssh-keygen -t rsa 
  1. open-rc file to be present in the working directory
source <name of open-rc file>
  1. To run install script
./install <name of open-rc file> <tag> <generated key>
  1. To run operate script
./operate <name of open-rc file> <tag> <generated key>
  1. To run cleanup script
./cleanup <name of open-rc file> <tag> <generated key>

Requirements

sudo apt update
sudo apt install python3-openstackclient -y
sudo apt install jq -y 
sudo apt install ansible -y

About

Network and Service Operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 82.0%
  • Jinja 15.5%
  • Python 2.5%
0