The intent is to define terse, standards-supported names for AWS regions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OLD (static) server: | |
PS D:\> choco list --localonly | |
Chocolatey v1.1.0 | |
7zip.portable 19.0 | |
AdoptOpenJDK 14.0.2.13 | |
Carbon 2.9.2 | |
chocolatey 1.1.0 | |
chocolatey-core.extension 1.3.5.1 | |
chocolatey-dotnetfx.extension 1.0.1 | |
chocolatey-visualstudio.extension 1.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUSTRML-P56MFFT:Scripts ubenopa$ ruby run_test_suite.rb -e paul_sandbox | |
No identity flag passed and I'll assume that's cool. | |
================== RUNNING SERVERSPEC TESTS IN paul_sandbox ====================== | |
Running => bundle exec knife ssh 'chef_environment:paul_sandbox' 'role_dir=$(dirname /var/chef/cache/cookbooks/role_*/recipes) && role_cb=$(basename $role_dir); if [ -f $role_dir/recipes/run_serverspecs.rb ]; then sudo chef-client -o "recipe[$role_cb::run_serverspecs]" --splay 60; else echo "No SERVERSPEC recipe found in $role_cb"; fi' -a ipaddress -x pearson -C 10 --no-host-key-verify (timeout:1800) | |
10.168.18.239 No SERVERSPEC recipe found in role_frontendapp_customer | |
10.168.16.43 No SERVERSPEC recipe found in role_frontendapp_customer | |
10.168.16.98 No SERVERSPEC recipe found in role_grafana | |
10.168.19.71 No SERVERSPEC recipe found in role_frontendapp_customer | |
10.168.18.67 dirname: extra operand `/var/chef/cache/cookbooks/role_testing/recipes' | |
10.168.18.67 Try `dirname --help' for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Consul must first be installed and configured using the Getting Started guide on consul.io | |
There are also other checks that I had to do on my own including health checks and registering services before | |
this was up and running properly. I initially started to use Atlas, a nice UI interface, to test and show stats | |
but the team decided against that method for now. | |
All these represent AWS EC2 node instances | |
Run on the server node: | |
[root@ip-10-168-16-98 pearson]# consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul -node=server-boss -bind=10.168.16.98 | |
You should see this message from the server node: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I added this: | |
export ATLAS_TOKEN=FF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# An x86-32 assembly program that echos one character | |
# | |
# declare external functions | |
.extern getchar # get one character from the console | |
.extern putchar # write one character to the console | |
# declare main as global | |
.global main |