This file contains hidden or 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
ubuntu@ubuntu-xenial:/tmp/letsencrypt/public_html/.well-known/acme-challenge$ sudo $(command -v python2 || command -v python2.7 || command -v python2.6) -c "import BaseHTTPServer, SimpleHTTPServer; \ | |
s = BaseHTTPServer.HTTPServer(('', 80), SimpleHTTPServer.SimpleHTTPRequestHandler); s.serve_forever()" | |
sudo: unable to resolve host ubuntu-xenial |
This file contains hidden or 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
Make sure your web server displays the following content at | |
http://bamboo2.ukpds.org/.well-known/acme-challenge/49rG6t5UVV8jJRd8fUdGTB9_hDon-_5kCymSssiL84U before continuing: | |
| |
49rG6t5UVV8jJRd8fUdGTB9_hDon-_5kCymSssiL84U.yiFi7876uY_e1VkyWsO8Adu7HrArr8n1k_i0q0ZVpUg | |
| |
If you don't have HTTP server configured, you can run the following | |
command on the target server (as root): | |
| |
mkdir -p /tmp/letsencrypt/public_html/.well-known/acme-challenge | |
cd /tmp/letsencrypt/public_html |
This file contains hidden or 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
Error running plan: 1 error(s) occurred: | |
* Cycle: module.gocd-server.aws_autoscaling_group.gocd_server (destroy), module.vpc.aws_subnet.public (destroy), module.vpc.aws_subnet.public, module.vpc.output.public_subnets, module.gocd-server.var.public_subnets, module.gocd-server.aws_autoscaling_group.gocd_server |
This file contains hidden or 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
Stevens-MBP:core-services stevenwade$ make configure | |
makefile:5: *** missing separator. Stop. |
This file contains hidden or 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
resource "aws_launch_configuration" "gocd_agent" { | |
image_id = "${var.ami}" | |
name_prefix = "gocd-agent-launch-configuration" | |
instance_type = "${var.instance_type}" | |
security_groups = ["${aws_security_group.gocd_agent.id}"] | |
associate_public_ip_address = false | |
ebs_optimized = false | |
key_name = "${var.key_name}" | |
iam_instance_profile = "${aws_iam_instance_profile.gocd_agent.id}" | |
user_data = "${template_file.init.rendered}" |
This file contains hidden or 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
sh "packer build -machine-readable -var 'source_ami=#{args.source_ami_id}' template.json | tee build.log" | |
@ami_id=`grep 'artifact,0,id' build.log | cut -d, -f6 | cut -d: -f2`.chomp | |
File.write('ami-id', @ami_id) |
This file contains hidden or 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
21:00:22.764 1461013222,,ui,say,==> amazon-ebs: Stopping the source instance... | |
21:00:22.916 1461013222,,ui,say,==> amazon-ebs: Waiting for the instance to stop... | |
21:00:54.016 1461013254,,ui,say,==> amazon-ebs: Creating the AMI: jira-server 1461013026 | |
21:00:54.115 1461013254,,ui,message, amazon-ebs: AMI: ami-593bb62a |
This file contains hidden or 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
ubuntu@ip-10-0-97-127:~$ cat /etc/default/go-agent | |
# | |
# File autogenerated by chef. All changes will be lost | |
# | |
export GO_SERVER=gocd-new.ukpds.org | |
export GO_SERVER_PORT=8153 | |
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 | |
export AGENT_WORK_DIR=/var/lib/go-agent | |
DAEMON=Y |
This file contains hidden or 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
ukpds.org. | |
NS | |
ns-397.awsdns-49.com. | |
ns-1444.awsdns-52.org. | |
ns-1987.awsdns-56.co.uk. | |
ns-731.awsdns-27.net. | |
ukpds.org. | |
SOA | |
ns-397.awsdns-49.com. awsdns-hostmaster.amazon |
This file contains hidden or 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
variable "name" {} | |
variable "cidr" {} | |
variable "public_subnets" {} | |
variable "private_subnets" {} | |
variable "availability_zones" {} | |
resource "aws_vpc" "vpc" { | |
cidr_block = "${var.cidr}" | |
enable_dns_hostnames = true | |
tags { |