Created
March 30, 2017 15:13
-
-
Save anonymous/d35f1864182a89a4f8c5476c8e9f98cf to your computer and use it in GitHub Desktop.
Multiple interfaces config
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
ftp2-1a: | |
provider: ec2 | |
image: ami-e68f82fb | |
size: t2.nano | |
ssh_username: centos | |
sync_after_install: grains | |
block_device_mappings: | |
- DeviceName: /dev/sda1 | |
Ebs.VolumeSize: 10 | |
Ebs.VolumeType: gp2 | |
volumes: | |
- { size: 20, device: /dev/sdb, type: gp2 } | |
network_interfaces: | |
- DeviceIndex: 0 | |
SubnetId: subnet-XYZ | |
SecondaryPrivateIpAddressCount: 1 | |
SecurityGroupId: | |
- sg-XYZ | |
- DeviceIndex: 1 | |
SubnetId: subnet-XYZ | |
SecurityGroupId: | |
- sg-XYZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment