AWS Ubuntu Instance does not configure the second NIC
AWS Ubuntu EC2 Instance does not configure the second network interface
An AWS Ubuntu image will only have one network interface online although two were specified in the blueprint..
Overview
#
# Demo Blueprint that configures a Network and launches an Instance
# Version
---
variables:
admin_username:
description: The username for the administrative user.
type: string
default: adminuser
admin_public_key:
description: The OpenSSH Public Key to use for administrative access.
type: string
location:
region:
demo-region:
country: USA
area: northwest
folder:
multi-cloud:
region: demo-region
networking:
network:
demo-network:
range:
- 10.0.0.0/16
- 10.100.0.0/16
public: true
subnet:
demo-internal-subnet:
range: 10.0.0.0/24
network: demo-network
firewall: demo-internal-firewall
demo-external-subnet:
range: 10.100.0.0/24
network: demo-network
firewall: demo-external-firewall
public: true
protocol:
ssh:
ports:
- port: 22
proto: tcp
http:
ports:
- port: 443
proto: tcp
https:
ports:
- port: 80
proto: tcp
firewall:
demo-internal-firewall:
rules:
- protocols: ssh
to: self
demo-external-firewall:
rules:
- protocols: ssh
to: self
- protocols: http
to: self
- protocols: https
to: self
compute:
image:
bionic:
publisher: Canonical
product: UbuntuServer
sku: 18.04-LTS
venue:
aws:
# if provisioning fails due to image not found, go to:
# https://cloud-images.ubuntu.com/locator/ec2/
# and search for "bionic amd64 ebs us-west-2"
image_id: ami-04bb0cc469b2b81cc
vm:
demo-instance:
cores: 1
memory: 2 gb
count: 1
image: bionic
configure:
admin:
username: (( admin_username ))
public_key: (( admin_public_key ))
disks:
data:
size: 128 GB
tags:
demo: multi-cloud
nics:
external-network: #Provides first discovered NIC external IP access to NAT server
ips:
- private:
type: dynamic
public:
type: static
firewall: demo-external-firewall
subnet: demo-external-subnet
internal-network:
ips:
- private:
type: dynamic
firewall: demo-internal-firewall
subnet: demo-internal-subnet
tags:
demo: multi-cloudResolution

Last updated
Was this helpful?