1

I'm getting an error when trying to deploy an instance in Amazon. I'm using Cloudify 3.2.1.

My blueprint:

...
node_templates:

  host:
    type: cloudify.aws.nodes.Instance
    properties:
      image_id: { get_input: image }
      instance_type: { get_input: size_wordpress }
...

My inputs:

...
size_wordpress: t2.small
...

Error:

<Code>VPCResourceNotSpecified</Code>
<Message>The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request.</Message>

How to solve?

Tiago Rolim
  • 65
  • 1
  • 11

1 Answers1

3

T2 instance types require a VPC and not EC2 Classic.

You can either use VPC or use a different instance type.

EC2 instances

Cloudify VPC spec

earthmant
  • 259
  • 1
  • 4