_ _ _ _ _ _ _
| | (_) __ _| |__ | |_| |__ (_) |_ ___
| | | |/ _` | '_ \| __| '_ \| | __/ __|
| |___| | (_| | | | | |_| |_) | | |_\__ \
|_____|_|\__, |_| |_|\__|_.__/|_|\__|___/
___ |___/ _ _ _
|_ _|_ __ ___| |_ __ _| | | ___ _ __
| || _ \/ __| __/ _` | | |/ _ \ __|
| || | | \__ \ || (_| | | | __/ |
|___|_| |_|___/\__\__,_|_|_|\___|_|
==+**
######*== ====+*****
#########+=== =====+*******
##########====== ======*********
###########+====== ======####*******
#############===---- ======*######*****
#*###********+------- ------*########****
============--------- ------*########*****
========--------::: -----##########*****
=== ===-------:::::: :::::--------=====+**
#*======= ----::::: ::::-------=======
***========== ::: :::-------=====
*****=========---- :::------=
********+====-----:::
******#######+==-:::: ::::----=======++
******################ ::::----======*##*
******###############+.. ::::----==+*######
******##############-::..::: ::---#############
******##############:::::::: -----*############
******############*-:::::: ---==+###########
*******##########+------- =====+##########
*******#########+------- =====+#########
********######*======= =====*#######
************#*======= =====#######
***********====== =====####
*********+===== ====###
*******+===
**=
A script to automate the 'manual' configuration and deployment of Lightbits in the cloud.
NOTE: This script must be run from the following OS: Rocky 8/9, Alma 8/9, RHEL 8/9, Ubuntu 20.04/22.04.
This script will configure the ansible files for a given EL 8 or 9 VM. It works for AWS, Azure and baremetal on-prem.
- Ensure that git has been installed on the installer:
sudo yum install -y git
/sudo apt-get install -y git
- Download file onto installer:
git clone https://github.com/felixm-lb/lb-cloud-deployment-automation.git
- Run:
- With user/password authentication:
sudo bash lb-cloud-deployment-automation/install_lightbits.sh -m configure -n l16s_v3 -i "10.0.0.1,10.0.0.2,10.0.0.3" -u azureuser -p 'password' -t QWCEWVDASADSSsSD -v lightos-3-7-1-rhl-8 -c test-cluster
- With key authentication:
sudo bash lb-cloud-deployment-automation/install_lightbits.sh -m configure -n i3en.6xlarge -i "10.0.0.1,10.0.0.2,10.0.0.3" -u ec2-user -k /home/ec2-user/key.pem -t QWCEWVDASADSSsSD -v lightos-3-7-1-rhl-8 -c test-cluster
- For on-prem:
sudo bash lb-cloud-deployment-automation/install_lightbits.sh -m configure -n generic -i "10.0.0.1,10.0.0.2,10.0.0.3" -u root -p 'password' -t QWCEWVDASADSSsSD -v lightos-3-7-1-rhl-8 -c test-cluster -d "192.168.100.1,192.168.100.2,192.168.100.3"
- With user/password authentication:
NOTE: This script must be run AFTER the install_lightbits.sh -m configure has been run. Essentially, Ansible needs to be good to go and the targets configured.
This script will run the ansible playbooks to install Lightbits via a docker container.
- Run:
sudo bash lb-cloud-deployment-automation/install_lightbits.sh -m install -c test-cluster -v lightos-3-7-1-rhl-8
NOTE: This script will clean up an ENTIRE cluster, not a single server, so be careful.
This script will run the ansible playbooks to cleaup Lightbits via a docker container.
- Run:
sudo bash lb-cloud-deployment-automation/install_lightbits.sh -m cleanup -c test-cluster -v lightos-3-7-1-rhl-8
These tools are provided for convenience and maintaned outside of the Lightbits DevOps process and therefore are not maintained as a part of the Lightbits codebase.
If you received these tools from Lightbits Labs, you are covered under the terms of your license and support agreement provided by Lightbits. Contact info (at) lightbitslabs.com for any questions or support. In all other cases, the following disclaimer applies:
THIS REPOSITORY IS PROVIDED BY LIGHTBITS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LIGHTBITS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, LOSS AND/OR CORRUPTION OF DATA, LOST PROFITS, OR BUSINESS INTERRUPTION) OR ANY OTHER LOSS HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS REPOSITORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
For more information, queries or comments, please contact [email protected]