- no credentials kept in codebase
- use consul/zookeeper/etc., then have code load credentials from environment variables
- using a bastion box to safeguard access to servers
- in conjunction with, e.g., AWS security groups
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string]$DomainName, | |
[Parameter(Mandatory=$true)] | |
[string]$DomainNetBiosName, | |
[Parameter(Mandatory=$true)] | |
[string]$DomainMode, |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: CloudFormation Template to deploy an EC2 instance and then install ADDS | |
Parameters: | |
Client: | |
Type: String | |
Description: Summation of client name - to allow same pattern to be used across clients | |
Default: Nivlesh Chandra | |
Hostname: | |
Type: String | |
Description: Hostname - maximum 15 characters |
Early in August 2016 Microsoft released the Windows 10 Anniversary Update. There were a number of changes, but the one that got me to actually take the time to install the update was "Bash on Ubuntu on Windows". This feature would install Ubuntu Linux without the kernel. It would run linux in user-mode. Linux would run the commands while Windows does all the work/processing.
For an upcoming project I needed to get Kubernetes running. Being as Kubernetes is not able to be run in Windows the normally accepted way to procees is to create a virtual Linux box and run it from there. I wanted to see if Kubernetes would run in Bash on Ubuntu on Windows.
This is how I got it to work:
##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules