After thoroughly reading the [ruby aws-sdk docs](http://docs.aws.amazon.com/AWSRubySDK/latest/frames.html), I dont see a way to associate a public ip address with an instance when creating inside a VPC. I dont want to manage elastic IP addresses, just have the good old random public ip.

```
instance = ec2.instances.create(
  count: 1,
  image_id: IMAGE_ID,
  instance_type: INSTANCE_TYPE,
  key_name: KEYNAME,
  subnet_id: SUBNET_ID,
  security_groups: security_group,
  user_data: USER_DATA
)

```

Anyone know the simplest way to associate a public address on ec2 instance creation?

thanks in advance.