Skip to content

it490-wizards/linux-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-containers

Initialization scripts for Linux containers

Requirements

You will need to install LXD which is a container and virtual machine manager.

Background

Virtual machines are heavy. Our group does not have the computing resources to run 12+ virtual machines.

In this context, let the word cluster mean a group of hosts

  • frontend hosts the Apache web server
  • database hosts the MySQL database and acts as the RabbitMQ broker for the cluster
  • dmz is the "demilitarized zone" between the the API the other hosts

Usage

Create a file called .env which defines the following variables.

export ZEROTIER_ID=...

Run scripts in the following order.

./init_frontend.sh
./init_database.sh
./init_dmz.sh
./init_network.sh

Issues

Sometimes the scripts don't work on the first try due to the network not being active immediately after starting the container. I am working on fixing this.

About

Initialization scripts for Linux containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages