Skip to content

Instantly share code, notes, and snippets.

@hirofumihida
Last active August 2, 2017 17:06
Show Gist options
  • Save hirofumihida/35397cdb1b3a811990083bee431066b2 to your computer and use it in GitHub Desktop.
Save hirofumihida/35397cdb1b3a811990083bee431066b2 to your computer and use it in GitHub Desktop.
oo-test-env-build-memo

OO Test Env Build Memo

ネットワーク

  • AWS N.Virginia

Subnet

  • Subnet-ID: subnet-2c0ef948
  • CidrBlock: 172.31.64.0/27
% ipcalc 172.31.64.0/27
Address:   172.31.64.0          10101100.00011111.01000000.000 00000
Netmask:   255.255.255.224 = 27 11111111.11111111.11111111.111 00000
Wildcard:  0.0.0.31             00000000.00000000.00000000.000 11111
=>
Network:   172.31.64.0/27       10101100.00011111.01000000.000 00000
HostMin:   172.31.64.1          10101100.00011111.01000000.000 00001
HostMax:   172.31.64.30         10101100.00011111.01000000.000 11110
Broadcast: 172.31.64.31         10101100.00011111.01000000.000 11111
Hosts/Net: 30                    Class B, Private Internet

% aws ec2 describe-subnets --filters "Name=subnet-id,Values=subnet-2c0ef948"
{
    "Subnets": [
        {
            "AvailabilityZone": "us-east-1d",
            "Tags": [
                {
                    "Value": "oo-test",
                    "Key": "Name"
                }
            ],
            "AvailableIpAddressCount": 27,
            "DefaultForAz": false,
            "Ipv6CidrBlockAssociationSet": [],
            "VpcId": "vpc-f545d491",
            "State": "available",
            "MapPublicIpOnLaunch": true,
            "SubnetId": "subnet-2c0ef948",
            "CidrBlock": "172.31.64.0/27",
            "AssignIpv6AddressOnCreation": false
        }
    ]
}

Server

OO Central ( / Studio )

  • ami-d79d92c1
  • Microsoft Windows Server 2012 R2 Base
% aws ec2 describe-instances --filter "Name=instance-id,Values=i-00f0c702f36e3d335" \
| jq '.Reservations[].Instances[] | [.Tags[].Value, .State["Name"], .InstanceType, .Platform, .PrivateIpAddress]'
[
  "OO Central",
  "running",
  "t2.medium",
  "windows",
  "172.31.64.30"
]

OO Studio

  • Windows10 (Local/TBD)

Managed Node

Windows (TBD)

Linux

  • RHEL6.x
  • RHEL7.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment