Table of Contents |
---|
Overview
This article is in progress and covers our first attempt at putting the Bonsai Framework infrastructure on the cloud. We have the following final targets,
- Confluence with Supporting CICD Systems and Integration
- Tomcat in Docker inside of LXD
- Tomcat in Cloud Foundry inside of LXD
...
Monitoring Container Growth
Peak
Date | sql | app | web |
---|---|---|---|
Feb 08, 2017 | 543.79MB | 1.6GB | 200MB |
Feb 28,2017 | 501.11MB | 1.72GB | 301.45MB |
Server Notes for bfgroupdiag538 (Move into Separate File Later)
Next Steps
- Automated Backups Moved to Offsite
- Add Google Analytics
- Remove no robots and start adding into Google and Forums
- Setup monitoring to focused on measuring performance to resize
- If it makes sense resize to lower costs (2 smaller servers instead of the 1 big)
February 22, 2017
- Resized the zpool to 20GB because containers were throwing out of space errors
...
Mar 08, 2017 |
- Server was resized to fit confluence $51.56/month
- Memory increased to 3.5GB
- Virtual Server = bonsaifw02host
- Built using 16.04 LTS
- Fully migrated and www.bonsaiframework.com is now live
- Next steps Working on backup solution
January 24, 2017
We created first iteration straight migration VMs.
- Resource Group =
- Virtual Server = bonsaifw01host
- Built using Ubuntu 16.10 (we'll switch back to LTS for iteration 2)
- 3 LXD Tiers created (all using LXD dynamic IPs)
- NAT setup for port 80 host to web server
- Azure Native Firewall (NSG) port 80 Configured
- Confluence Installed and ready for first run to migrate the data.
January 17, 2017
- Roderick gave Tin access
- Tin created virtual machine using Ubuntu 16.04 LTS per research with setupadmin
- Roderick logged in added fail2ban and then rest of BonsaiFramework Setup
Installed LXD with following,
Code Block | ||
---|---|---|
| ||
Name of the storage backend to use (dir or zfs) [default=zfs]:
Create a new ZFS pool (yes/no) [default=yes]?
Name of the new ZFS pool [default=lxd]:
Would you like to use an existing block device (yes/no) [default=no]?
Size in GB of the new loop device (1GB minimum) [default=15]:
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]?
What should the new bridge be called [default=lxdbr0]?
What IPv4 subnet should be used (CIDR notation, "auto" or "none") [default=auto]?
What IPv6 subnet should be used (CIDR notation, "auto" or "none") [default=auto]?
LXD has been successfully configured. |
493.27MB | 1.76GB | 311.74MB | |
... |
Server Notes
All changes are now recorded into our server notes.