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
...
Software | Average Memory for our Use Case | # of Users | Space | CPU |
---|---|---|---|---|
Apache Web Server | 200MB | 1.44GB | ||
Confluence | 1.6GB(to be tuned) | 10.79GB | ||
PostGreSQL | 543.79MB | 455.74MB | ||
Puppet Server | ||||
Artifactory |
Calculations
...
Service Item | Sizing | Limits | Purpose |
---|---|---|---|
Virtual Network | 50 free virtual network. | Create private networks with full control over IP addresses, DNS servers, security rules, and traffic flows. Virtual network to on-premises using a VPN tunnel, or connect using ExpressRoute service. | |
Azure Active Directory | 500,000 directory objects and single sign-n for up to 10 apps per user. | Nice to have - can we make Confluence hook up with Google SSO? | |
App Service | F1 Instance | Lab, try Tomcat and Docker. | |
Scheduler | 3,600 job executions per month. | To run automated backups. | |
Automation | 500 minutes per month of job run time. | IT automation. | |
Azure Monitor | Free while in public preview | ||
Traffic Manager | DNS routing failover and basic traffic health check |
Server Notes for bfgroupdiag538 (Move into Separate File Later)
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. |
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 |
Mar 08, 2017 | 493.27MB | 1.76GB | 311.74MB |
... |
Server Notes
All changes are now recorded into our server notes.