Added readmes, improved instance naming

This commit is contained in:
VakarisZ 2019-12-16 18:41:31 +02:00
parent 63569df097
commit f2c7b1a32b
5 changed files with 59 additions and 3 deletions

View File

@ -0,0 +1,28 @@
# Monkey maker
## About
Monkey maker is an environment on AWS that
is designed for monkey binary building.
This environment is deployed using terraform scripts
located in this directory.
## Setup
To setup you need to put `accessKeys` file into `./aws_keys` directory.
Contents of `accessKeys` file should be as follows:
```
[default]
aws_access_key_id = <...>
aws_secret_access_key = <...>
```
Also review `./terraform/config.tf` file.
Launch the environment by going into `terraform` folder and running
```angular2html
terraform init
terraform apply
```

View File

@ -1,5 +1,5 @@
resource "aws_instance" "island_windows" {
ami = "ami-09fe2745618d2af42"
ami = "ami-086f705bf43f47ae7"
instance_type = "t2.micro"
private_ip = "10.0.0.251"
subnet_id = "${aws_subnet.main.id}"

View File

@ -0,0 +1,28 @@
# OS compatibility
## About
OS compatibility is an environment on AWS that
is designed to test monkey binary compatibility on
different operating systems.
This environment is deployed using terraform scripts
located in this directory.
## Setup
To setup you need to put `accessKeys` file into `./aws_keys` directory.
Contents of `accessKeys` file should be as follows:
```
[default]
aws_access_key_id = <...>
aws_secret_access_key = <...>
```
Also review `./terraform/config.tf` file.
Launch the environment by going into `terraform` folder and running
```angular2html
terraform init
terraform apply
```

View File

@ -5,7 +5,7 @@ resource "aws_instance" "os_test_machine" {
subnet_id = "${data.aws_subnet.main.id}"
key_name = "os_compat"
tags = {
Name = "${var.name}"
Name = "os_compat_${var.name}"
}
vpc_security_group_ids = ["${data.aws_security_group.os_compat_instance.id}"]
associate_public_ip_address = true

View File

@ -320,7 +320,7 @@ module "windows_2008" {
module "windows_2008_32" {
source = "./instance_template"
name = "windows_2008"
name = "windows_2008_32"
ami = "ami-0acaec54bac5cbb8f"
ip = "10.0.0.6"
env_vars = "${local.env_vars}"